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

Page 45 of 116

A company is expanding the compatibility of its photo-sharing mobile app to hundreds of additional devices with unique screen dimensions and resolutions. Photos are stored in Amazon S3 in their original format and resolution. The company uses an
Amazon CloudFront distribution to serve the photos. The app includes the dimension and resolution of the display as GET parameters with every request.
A developer needs to implement a solution that optimizes the photos that are served to each device to reduce load time and increase photo quality.
Which solution will meet these requirements MOST cost-effectively?

  1. Use S3 Batch Operations to invoke an AWS Lambda function to create new variants of the photos with the required dimensions and resolutions. Create a dynamic CloudFront origin that automatically maps the request of each device to the corresponding photo variant.
  2. Use S3 Batch Operations to invoke an AWS Lambda function to create new variants of the photos with the required dimensions and resolutions. Create a Lambda@Edge function to route requests to the corresponding photo variant by using request headers.
  3. Create a Lambda@Edge function that optimizes the photos upon request and returns the photos as a response. Change the CloudFront TTL cache policy to the maximum value possible.
  4. Create a Lambda@Edge function that optimizes the photos upon request and returns the photos as a response. In the same function, store a copy of the processed photos on Amazon S3 for subsequent requests.

Answer(s): D



A company is building an application for stock trading. The application needs sub-millisecond latency for processing trade requests. The company uses Amazon
DynamoDB to store all the trading data that is used to process each trading request.
A development team performs load testing on the application and finds that the data retrieval time is higher than expected. The development team needs a solution that reduces the data retrieval time with the least possible effort.
Which solution meets these requirements?

  1. Add local secondary indexes (LSIs) for the trading data.
  2. Store the trading data in Amazon S3, and use S3 Transfer Acceleration.
  3. Add retries with exponential backoff for DynamoDB queries.
  4. Use DynamoDB Accelerator (DAX) to cache the trading data.

Answer(s): D



A developer is working on a Python application that runs on Amazon EC2 instances.
The developer wants to enable tracing of application requests to debug performance issues in the code.
Which combination of actions should the developer take to achieve this goal? (Choose two.)

  1. Install the Amazon CloudWatch agent on the EC2 instances.
  2. Install the AWS X-Ray daemon on the EC2 instances.
  3. Configure the application to write JSON-formatted logs to
    /var/log/cloudwatch.
  4. Configure the application to write trace data to /var/log/xray.
  5. Install and configure the AWS X-Ray SDK for Python in the application.

Answer(s): B,E



A company has an application that runs as a series of AWS Lambda functions. Each
Lambda function receives data from an Amazon Simple Notification Service (Amazon
SNS) topic and writes the data to an Amazon Aurora DB
instance.
To comply with an information security policy, the company must ensure that the Lambda functions all use a single securely encrypted database connection string to access Aurora.
Which solution will meet these requirements?

  1. Use IAM database authentication for Aurora to enable secure database connections for all the Lambda functions.
  2. Store the credentials and read the credentials from an encrypted Amazon RDS
    DB instance.
  3. Store the credentials in AWS Systems Manager Parameter Store as a secure string parameter.
  4. Use Lambda environment variables with a shared AWS Key Management Service
    (AWS KMS) key for encryption.

Answer(s): C



Page 45 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