AWS-Certified-Developer-Associate-DVA-C01 AWS Certified Developer Associate (DVA-C01)

Loading demo links...

Showing 16–18 of 20 questions

Question 16

An application is using a custom library to make HTTP calls directly to AWS service endpoints. The application is experiencing transient errors that are causing processes to stop when each error is first encountered. A request has been made to make the application more resilient by adding error retries and exponential backoff.

How should a developer implement the changes with MINIMAL custom code?

Select an option, then click Submit answer.

  • Add a Retry-After HTTP header to API requests

  • Use the AWS CLI to configure the retry settings in a named profile

  • Change the custom library to retry on 5xx errors only

  • Use an AWS SDK and set retry-specific configurations

Question 17

A company is hosting a workshop for external users and wants to share the reference documents with the external users for 7 days. The company stores the reference documents in an Amazon S3 bucket that the company owns.

What is the MOST secure way to share the documents with the external users?

Select an option, then click Submit answer.

  • Use S3 presigned URLs to share the documents with the external users. Set an expiration time of 7 days.

  • Move the documents to an Amazon WorkDocs folder. Share the links of the WorkDocs folder with the external users.

  • Create temporary IAM users that have read-only access to the S3 bucket. Share the access keys with the external users. Expire the credentials after 7 days.

  • Create a role that has read-only access to the S3 bucket. Share the Amazon Resource Name (ARN) of this role with the external users.

Question 18

A Developer has written code for an application and wants to share it with other Developers on the team to receive feedback. The shared application code needs to be stored long-term with multiple versions and batch change tracking.

Which AWS service should the Developer use?

Select an option, then click Submit answer.

  • AWS CodeBuild

  • Amazon S3

  • AWS CodeCommit

  • AWS Cloud9