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

Loading demo links...

Showing 49–51 of 56 questions

Question 49 (Topic 1)

A company is creating a new application that gives users the ability to upload and share short video files. The average size of the video files is 10 MB. After a user uploads a file, a message needs to be placed into an Amazon Simple Queue Service (Amazon SQS) queue so the file can be processed. The files need to be accessible for processing within 5 minutes. Which solution will meet these requirements MOST cost-effectively?

Select an option, then click Submit answer.

  • Write the files to Amazon S3 Glacier Deep Archive. Add the S3 location of the files to the SQS queue.
  • Write the files to Amazon S3 Standard. Add the S3 location of the files to the SQS queue.
  • Write the files to an Amazon Elastic Block Store (Amazon EBS) General Purpose SSD volume. Add the EBS location of the files to the SQS queue.
  • Write messages that contain the contents of the uploaded files to the SQS queue.
Question 50 (Topic 1)

A developer has implemented an AWS Lambda function that inserts new customers into an Amazon RDS database. The function is expected to run hundreds of times each hour. The function and RDS database are in the same VPC. The function is configured to use 512 MB of RAM and is based on the following pseudo code: After successfully testing the function multiple times, the developer notices that the execution time is longer than expected. What should the developer do to improve performance?

Select an option, then click Submit answer.

  • Increase the reserved concurrency of the Lambda function.
  • Increase the size of the RDS database to facilitate an increased number of database connections each hour.
  • Move the database connection and close statement out of the handler. Place the connection in the global space.
  • Replace Amazon RDS with Amazon DynamoDB to implement control over the number of writes per second.
Question 51 (Topic 1)

An AWS Lambda function that handles application requests uses the default Lambda logging mechanism to log the timestamp, processing time, and status of requests. A developer needs to create Amazon CloudWatch metrics based on the logs. The developer needs to write the metrics to a custom CloudWatch metrics namespace. Which solution will meet these requirements?

Select an option, then click Submit answer.

  • Use Amazon CloudWatch Logs Insights to generate custom metrics from the logs by using CloudWatch embedded metric format (EMF).
  • Use Amazon CloudWatch RUM to generate custom metrics from the logs by using CloudWatch embedded metric format (EMF).
  • Use Amazon CloudWatch Logs Insights to generate custom metrics from the logs by using JSON format.
  • Use the CloudWatch embedded metric format (EMF) for the structure of the log statements to generate custom CloudWatch metrics.