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

Page 51 of 116

A company has an application that stores data in Amazon RDS instances. The application periodically experiences surges of high traffic that cause performance problems. During periods of peak traffic, a developer notices a reduction in query speed in all database queries.
The team’s technical lead determines that a multi-threaded and scalable caching solution should be used to offload the heavy read traffic. The solution needs to improve performance.
Which solution will meet these requirements with the LEAST complexity?

  1. Use Amazon ElastiCache for Memcached to offload read requests from the main database.
  2. Replicate the data to Amazon DynamoDSet up a DynamoDB Accelerator (DAX)
    cluster.
  3. Configure the Amazon RDS instances to use Multi-AZ deployment with one standby instance. Offload read requests from the main database to the standby instance.
  4. Use Amazon ElastiCache for Redis to offload read requests from the main database.

Answer(s): A



A developer must provide an API key to an AWS Lambda function to authenticate with a third-party system. The Lambda function will run on a schedule. The developer needs to ensure that the API key remains encrypted at rest.
Which solution will meet these requirements?

  1. Store the API key as a Lambda environment variable by using an AWS Key
    Management Service (AWS KMS) customer managed key.
  2. Configure the application to prompt the user to provide the password to the
    Lambda function on the first run.
  3. Store the API key as a value in the application code.
  4. Use Lambda@Edge and only communicate over the HTTPS protocol.

Answer(s): A



An IT department uses Amazon S3 to store sensitive images. After more than 1 year,
the company moves the images into archival storage. The company rarely accesses the images, but the company wants a storage solution that maximizes resiliency. The IT
department needs access to the images that have been moved to archival storage within 24 hours.
Which solution will meet these requirements MOST cost-effectively?

  1. Use S3 Standard-Infrequent Access (S3 Standard-IA) to store the images. Use
    S3 Glacier Deep Archive with standard retrieval to store and retrieve archived images.
  2. Use S3 Standard-Infrequent Access (S3 Standard-IA) to store the images. Use
    S3 Glacier Deep Archive with bulk retrieval to store and retrieve archived images.
  3. Use S3 Intelligent-Tiering to store the images. Use S3 Glacier Deep Archive with standard retrieval to store and retrieve archived images.
  4. Use S3 One Zone-Infrequent Access (S3 One Zone-IA) to store the images. Use
    S3 Glacier Deep Archive with bulk retrieval to store and retrieve archived images.

Answer(s): A



A developer is building a serverless application by using the AWS Serverless
Application Model (AWS SAM). The developer is currently testing the application in a development environment.
When the application is nearly finished, the developer will need to set up additional testing and staging environments for a quality assurance team.
The developer wants to use a feature of the AWS SAM to set up deployments to multiple environments.
Which solution will meet these requirements with the LEAST development effort?

  1. Add a configuration file in TOML format to group configuration entries to every environment. Add a table for each testing and staging environment.
    Deploy updates to the environments by using the sam deploy command and the
    --config-env flag that corresponds to each environment.
  2. Create additional AWS SAM templates for each testing and staging environment. Write a custom shell script that uses the sam deploy command and the --template-file flag to deploy updates to the environments.
  3. Create one AWS SAM configuration file that has default parameters. Perform updates to the testing and staging environments by using the
    --parameter-overrides flag in the AWS SAM CLI and the parameters that the updates will override.
  4. Use the existing AWS SAM template. Add additional parameters to configure specific attributes for the serverless function and database table resources that are in each environment. Deploy updates to the testing and staging environments by using the sam deploy command.

Answer(s): A



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