Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps (page: 11)

Page 11 of 116

A developer is building a web application that uses Amazon API Gateway to expose an
AWS Lambda function to process requests from clients. During testing, the developer notices that the API Gateway times out even though the Lambda function finishes under the set time limit.
Which of the following API Gateway metrics in Amazon CloudWatch can help the developer troubleshoot the issue? (Choose two.)

  1. CacheHitCount
  2. IntegrationLatency
  3. CacheMissCount
  4. Latency
  5. Count

Answer(s): B,D



A development team wants to build a continuous integration/continuous delivery
(CI/CD) pipeline. The team is using AWS CodePipeline to automate the code build and deployment. The team wants to store the program code to prepare for the CI/CD
pipeline.
Which AWS service should the team use to store the program code?

  1. AWS CodeDeploy
  2. AWS CodeArtifact
  3. AWS CodeCommit
  4. Amazon CodeGuru

Answer(s): C



A developer is designing an AWS Lambda function that creates temporary files that are less than 10 MB during invocation. The temporary files will be accessed and modified multiple times during invocation. The developer has no need to save or retrieve these files in the future.
Where should the temporary files be stored?

  1. the /tmp directory
  2. Amazon Elastic File System (Amazon EFS)
  3. Amazon Elastic Block Store (Amazon EBS)
  4. Amazon S3

Answer(s): A



A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata from the DynamoDB
table. Both Lambda functions use the same Python library to perform complex computations and are approaching the quota for the maximum size of zipped deployment packages.
What should the developer do to reduce the size of the Lambda deployment packages with the LEAST operational overhead?

  1. Package each Python library in its own .zip file archive. Deploy each Lambda function with its own copy of the library.
  2. Create a Lambda layer with the required Python library. Use the Lambda layer in both Lambda functions.
  3. Combine the two Lambda functions into one Lambda function. Deploy the Lambda function as a single .zip file archive.
  4. Download the Python library to an S3 bucket. Program the Lambda functions to reference the object URLs.

Answer(s): B



Page 11 of 116



Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam with other Community members:

Ernesto commented on August 26, 2024
Prepared and passed this exam. Valid question and very tough exam. So good luck.
Spain
upvote