Exams > Amazon > AWS Certified Developer Associate
AWS Certified Developer Associate
Page 16 out of 39 pages Questions 151-160 out of 390 questions
Question#151

A company's website runs on an Amazon EC2 instance and uses Auto Scaling to scale the environment during peak times. Website users across the world are experiencing high latency due to static content on the EC2 instance, even during non-peak hours.

Which combination of steps will resolve the latency issue? (Choose two.)

  • A. Double the Auto Scaling group's maximum number of servers.
  • B. Host the application code on AWS Lambda.
  • C. Scale vertically by resizing the EC2 instances.
  • D. Create an Amazon CloudFront distribution to cache the static content.
  • E. Store the application’s static content in Amazon S3.
Discover Answer Hide Answer

DE

Question#152

An application is experiencing performance issues based on increased demand. This increased demand is on read-only historical records pulled from an Amazon RDS-hosted database with custom views and queries. A developer must improve performance without changing the database structure.

Which approach will improve performance and MINIMIZE management overhead?

  • A. Deploy Amazon DynamoDB, move all the data, and point to DynamoDB.
  • B. Deploy Amazon ElastiCache for Red is and cache the data for the application.
  • C. Deploy Memcached on Amazon EC2 and cache the data for the application.
  • D. Deploy Amazon DynamoDB Accelerator (DAX) on Amazon RDS to improve cache performance.
Discover Answer Hide Answer

B

Question#153

A company is planning to deploy an application on AWS behind an Elastic Load Balancer. The application uses an HTTP/HTTPS listener and must access the client IP addresses.

Which load-balancing solution meets these requirements?

  • A. Use an Application Load Balancer and the X-Forwarded-For headers.
  • B. Use a Network Load Balancer (NLB). Enable proxy protocol support on the NLB and the target application.
  • C. Use an Application Load Balancer. Register the targets by the instance ID.
  • D. Use a Network Load Balancer and the X-Forwarded-For headers.
Discover Answer Hide Answer

A

Question#154

A developer has setup an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. A Lambda function has been configured to process these records.

In which order will these records be processed?

  • A. Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method.
  • B. Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
  • C. Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards.
  • D. The developer can select FIFO (first-in, first-out), LIFO (last-in, first-out), random, or request specific record using the getRecords API.
Discover Answer Hide Answer

D

Question#155

A developer is using an AWS CodeCommit repository to store source code for an application. The developer is using an AWS CodePipeline pipeline to deploy the application. The pipeline does not start automatically and must be started manually when a deployment is needed.

The developer needs to configure the pipeline to start automatically.

Which solution meets this requirement with the LEAST delay?

  • A. Create a webhook in the CodeCommit repository to directly call the CodePipeline API to start the pipeline.
  • B. Create an Amazon EventBridge (Amazon CloudWatch Events) rule to start the pipeline upon the detection of changes in the CodeCommit repository.
  • C. Configure the pipeline to poll the CodeCommit repository for changes and to start automatically when changes are detected.
  • D. Create a CodeCommit trigger for an Amazon Simple Notification Service (Amazon SNS) topic. Configure the SNS topic to post to the CodePipeline API to start the pipeline.
Discover Answer Hide Answer

B

Question#156

A developer is writing an IAM policy document that grants administrator access to AWS Key Management Service (AWS KMS) for a federated user. The federated IAM role name is FederatedIAMRole. The user name is KeyAdmin.

How should the developer set the principal in the KMS key policy to meet these requirements?

  • A. “Principal”: { “AWS”: “arn:aws:sts::123456789012:role/FederatedIAMRole/KeyAdmin” }
  • B. “Principal”: { “AWS”: “arn:aws:sts::123456789012:user/FederatedIAMRole/KeyAdmin” }
  • C. “Principal”: { “AWS”: “arn:aws:sts::123456789012:user/KeyAdmin” }
  • D. “Principal”: { “AWS”: “arn:aws:sts::123456789012:assumed-role/FederatedIAMRole/KeyAdmin” }
Discover Answer Hide Answer

D

Question#157

A company has a multi-node Windows legacy application that runs on premises. The application uses a network shared folder as a centralized configuration repository to store configuration files in .xml format. The company is migrating the application to Amazon EC2 instances. As part of the migration to AWS, a developer must identify a solution that provides high availability for the repository.

Which solution will meet this requirement MOST cost-effectively?

  • A. Mount an Amazon Elastic Block Store (Amazon EBS) volume onto one of the EC2 instances. Deploy a file system on the EBS volume. Use the host operating system to share a folder. Update the application code to read and write configuration files from the shared folder.
  • B. Deploy a micro EC2 instance with an instance store volume. Use the host operating system to share a folder. Update the application code to read and write configuration files from the shared folder.
  • C. Create an Amazon S3 bucket to host the repository. Migrate the existing .xml files to the S3 bucket. Update the application code to use the AWS SDK to read and write configuration files from Amazon S3.
  • D. Create an Amazon S3 bucket to host the repository. Migrate the existing xml files to the S3 bucket. Mount the S3 bucket to the EC2 instances as a local volume. Update the application code to read and write configuration files from the disk.
Discover Answer Hide Answer

C

Question#158

A company has deployed an application on AWS Elastic Beanstalk. The company has configured the Auto Scaling group that is associated with the Elastic Beanstalk environment to have five Amazon EC2 instances. If the capacity is fewer than four EC2 instances during the deployment, application performance degrades. The company is using the all-at-once deployment policy.

What is the MOST cost-effective way to solve the deployment issue?

  • A. Change the Auto Scaling group to six desired instances.
  • B. Change the deployment policy to traffic splitting. Specify an evaluation time of 1 hour.
  • C. Change the deployment policy to rolling with additional batch. Specify a batch size of 1.
  • D. Change the deployment policy to rolling. Specify a batch size of 2.
Discover Answer Hide Answer

D

Question#159

A developer at a company needs to create a small application that makes the same API call once each day at a designated time. The company does not have infrastructure in the AWS Cloud yet, but the company wants to implement this functionality on AWS.

Which solution meets these requirements in the MOST operationally efficient manner?

  • A. Use a Kubernetes cron job that runs on Amazon Elastic Kubernetes Service (Amazon EKS).
  • B. Use an Amazon Linux crontab scheduled job that runs on Amazon EC2.
  • C. Use an AWS Lambda function that is invoked by an Amazon EventBridge (Amazon CloudWatch Events) scheduled event.
  • D. Use an AWS Batch job that is submitted to an AWS Batch job queue.
Discover Answer Hide Answer

C

Question#160

A company has an application that generates large binary data outside of AWS. The company must encrypt the data before uploading the data to an Amazon S3 bucket.

Which solution will meet this requirement?

  • A. Use the AWS Key Management Service (AWS KMS) encrypt command in the AWS CLI.
  • B. Configure server-side encryption on the S3 bucket.
  • C. Use the AWS Encryption SDK to perform client-side encryption of the data.
  • D. Specify the x-amz-server-side-encryption header when uploading the data to the S3 bucket.
Discover Answer Hide Answer

C

chevron rightPrevious Nextchevron right