Free AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Amazon AWS-CERTIFIED-DEVELOPER-ASSOCIATE-DVA-C02 Practice Test Question

Loading demo links...

Showing 19–21 of 56 questions

Question 19 (Topic 1)

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 20 (Topic 1)

A developer registered an AWS Lambda function as a target for an Application Load Balancer (ALB) using a CLI command. However, the Lambda function is not being invoked when the client sends requests through the ALB. Why is the Lambda function not being invoked?

Select an option, then click Submit answer.

  • A Lambda function cannot be registered as a target for an ALB.
  • A Lambda function can be registered with an ALB using AWS Management Console only.
  • The permissions to invoke the Lambda function are missing.
  • Cross-zone is not enabled on the ALB.
Question 21 (Topic 1)

A developer has created a large AWS Lambda function. Deployment of the function is failing because of an InvalidParameterValueException error. The error message indicates that the unzipped size of the function exceeds the maximum supported value. Which actions can the developer take to resolve this error? (Choose two.)

Select an option, then click Submit answer.

  • Submit a quota increase request to AWS Support to increase the function to the required size.
  • Use a compression algorithm that is more efficient than ZIP.
  • Break up the function into multiple smaller functions.
  • Zip the .zip file twice to compress the file more.
  • Move common libraries, function dependencies, and custom runtimes into Lambda layers.