DVA-C02 AWS Certified DeveloperAssociate

Loading demo links...

Showing 1–3 of 10 questions

Question 1

A developer has an application that makes batch requests directly to Amazon DynamoDB by using the BatchGetItem low-level API operation. The responses frequently return values in the UnprocessedKeys element.

Which actions should the developer take to increase the resiliency of the application when the batch response includes values in UnprocessedKeys? (Choose two.)

Select all that apply, then click Submit answer.

  • Retry the batch operation immediately.

  • Retry the batch operation with exponential backoff and randomized delay.

  • Update the application to use an AWS software development kit (AWS SDK) to make the requests.

  • Increase the provisioned read capacity of the DynamoDB tables that the operation accesses.

  • Increase the provisioned write capacity of the DynamoDB tables that the operation accesses.

Question 2

A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream. The company recently observed slow processing of the records. A developer notices that the iterator age metric for the function is increasing and that the Lambda run duration is constantly above normal.

Which actions should the developer take to increase the processing speed? (Choose two.)

Select all that apply, then click Submit answer.

  • Increase the number of shards of the Kinesis data stream.

  • Decrease the timeout of the Lambda function.

  • Increase the memory that is allocated to the Lambda function.

  • Decrease the number of shards of the Kinesis data stream.

  • Increase the timeout of the Lambda function.

Question 3

A development team maintains a web application by using a single AWS CloudFormation template. The template defines web servers and an Amazon RDS database. The team uses the Cloud Formation template to deploy the Cloud Formation stack to different environments.

During a recent application deployment, a developer caused the primary development database to be dropped and recreated. The result of this incident was a loss of data. The team needs to avoid accidental database deletion in the future.

Which solutions will meet these requirements? (Choose two.)

Select all that apply, then click Submit answer.

  • Add a CloudFormation Deletion Policy attribute with the Retain value to the database resource.

  • Update the CloudFormation stack policy to prevent updates to the database.

  • Modify the database to use a Multi-AZ deployment.

  • Create a CloudFormation stack set for the web application and database deployments.

  • Add a Cloud Formation DeletionPolicy attribute with the Retain value to the stack.