Home » Exam Preparation » Certification » AWS Certified Developer Associate Exam Dumps » Page 2

AWS Certified Developer Associate Exam Dumps

Question #11

A Developer is asked to implement a caching layer in front of Amazon RDS. Cached content is expensive to regenerate in case of service failure. Which implementation below would work while maintaining maximum uptime?

  • A. Implement Amazon ElastiCache Redis in Cluster Mode
  • B. Install Redis on an Amazon EC2 instance.
  • C. Implement Amazon ElastiCache Memcached.
  • D. Migrate the database to Amazon Redshift.

Correct Answer: A

Question #12

A current architecture uses many Lambda functions invoking one another as large state machine. The coordination of this state machine is legacy custom code that breaks easily.
Which AWS Service can help refactor and manage the state machine?

  • A. AWS Data Pipeline
  • B. AWS SNS with AWS SQS
  • C. Amazon Elastic MapReduce
  • D. AWS Step Functions

Correct Answer: D

Question #13

A large e-commerce site is being designed to deliver static objects from Amazon S3. The Amazon S3 bucket will server more than 300 GET requests per second.
What should be done to optimize performance? (Select TWO.)

  • A. Integrate Amazon CloudFront with Amazon S3.
  • B. Enable Amazon S3 cross-region replication.
  • C. Delete expired Amazon S3 server log files.
  • D. Configure Amazon S3 lifecycle rules.
  • E. Randomize Amazon S3 key name prefixes.

Correct Answer: AE

Question #14

A company is building a stock trading application that requires sub-millisecond latency in processing trading requests. Amazon DynamoDB is used to store all the trading data that is used to process each request. After load testing the application, the development team found that due to data retrieval times, the latency requirement is not satisfied. Because of sudden high spikes in the number of requests, DynamoDB read capacity has to be significantly over-provisioned to avoid throttling.
What steps should be taken to meet latency requirements and reduce the cost of running the application?

  • A. Add Global Secondary Indexes for trading data.
  • B. Store trading data in Amazon S3 and use Transfer Acceleration.
  • C. Add retries with exponential back-off for DynamoDB queries
  • D. Use DynamoDB Accelerator to cache trading data.

Correct Answer: D

Question #15

A Developer needs temporary access to resources in a second account.
What is the MOST secure way to achieve this?

  • A. Use the Amazon Cognito user pools to get short-lived credentials for the second account.
  • B. Create a dedicated IAM access key for the second account, and send it by mail.
  • C. Create a cross-account access role, and use sts:AssumeRole API to get short-lived credentials.
  • D. Establish trust, and add an SSH key for the second account to the IAM user.

Correct Answer: C

Question #16

An application reads data from an Amazon DynamoDB table. Several times a day, for a period of 15 seconds, the application receives multiple errors.

ProvisionedThroughputExceeded –
How should this exception be handled?

  • A. Create a new global secondary index for the table to help with the additional requests.
  • B. Retry the failed read requests with exponential backoff.
  • C. Immediately retry the failed read requests.
  • D. Use the DynamoDB “UpdateItem” API to increase the provisioned throughput capacity of the table.

Correct Answer: B

Question #17

A Developer has created a large Lambda function, and deployment is failing with the following error:
ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Unzipped size must be smaller than XXXXXXXXX bytes’, where XXXXXXXXX is the current Lambda limit
What can the Developer do to fix this problem?

  • A. Submit a limit increase request to AWS Support to increase the function to the size needed.
  • B. Use a compression algorithm that is more efficient than ZIP.
  • C. Break the function into multiple smaller Lambda functions.
  • D. ZIP the ZIP file twice to compress it further.

Correct Answer: C

Question #18

Given the source code for an AWS Lambda function in the local store.py containing a handler function called get_store and the following AWS
CloudFormation template:
CloudFormation Template Calling Lambda Function
What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?

  • A. Use aws cloudformation compile to base64 encode and embed the source file into a modified CloudFormation template.
  • B. Use aws cloudformation package to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template.
  • C. Use aws lambda zip to package the source file together with the CloudFormation template and deploy the resulting zip archive.
  • D. Use aws serverless create-package to embed the source file directly into the existing CloudFormation template.

Correct Answer: B

Question #19

An application stores images in an S3 bucket. Amazon S3 event notifications are used to trigger a Lambda function that resizes the images. Processing each image takes less than a second.
How will AWS Lambda handle the additional traffic?

  • A. Lambda will scale out to execute the requests concurrently.
  • B. Lambda will handle the requests sequentially in the order received.
  • C. Lambda will process multiple images in a single execution.
  • D. Lambda will add more compute to each execution to reduce processing time. A

Correct Answer: A

Question #20

A company wants to implement continuous integration for its workloads on AWS. The company wants to trigger unit test in its pipeline for commits-on its code repository, and wants to be notified of failure events in the pipeline.
How can these requirements be met?

  • A. Store the source code in AWS CodeCommit. Create a CodePipeline to automate unit testing. Use Amazon SNS to trigger notifications of failure events.
  • B. Store the source code in GitHub. Create a CodePipeline to automate unit testing. Use Amazon SES to trigger notifications of failure events.
  • C. Store the source code on GitHub. Create a CodePipeline to automate unit testing. Use Amazon CloudWatch to trigger notifications of failure events.
  • D. Store the source code in AWS CodeCommit. Create a CodePipeline to automate unit testing. Use Amazon CloudWatch to trigger notification of failure events.

Correct Answer: D

Leave a Comment