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

Page 20 of 116

An application under development is required to store hundreds of video files. The data must be encrypted within the application prior to storage, with a unique key for each video file.
How should the developer code the application?

  1. Use the KMS Encrypt API to encrypt the data. Store the encrypted data key and data.
  2. Use a cryptography library to generate an encryption key for the application. Use the encryption key to encrypt the data. Store the encrypted data.
  3. Use the KMS GenerateDataKey API to get a data key. Encrypt the data with the data key. Store the encrypted data key and data.
  4. Upload the data to an S3 bucket using server side-encryption with an AWS KMS
    key.

Answer(s): C



A company is planning to deploy an application on AWS behind an Elastic Load
Balancer. The application uses an HTTP/HTTPS listener and must access the client IP
addresses.
Which load-balancing solution meets these requirements?

  1. Use an Application Load Balancer and the X-Forwarded-For headers.
  2. Use a Network Load Balancer (NLB). Enable proxy protocol support on the NLB
    and the target application.
  3. Use an Application Load Balancer. Register the targets by the instance ID.
  4. Use a Network Load Balancer and the X-Forwarded-For headers.

Answer(s): A



A developer wants to debug an application by searching and filtering log data. The application logs are stored in Amazon CloudWatch Logs. The developer creates a new metric filter to count exceptions in the application logs. However, no results are returned from the logs.
What is the reason that no filtered results are being returned?

  1. A setup of the Amazon CloudWatch interface VPC endpoint is required for filtering the CloudWatch Logs in the VPC.
  2. CloudWatch Logs only publishes metric data for events that happen after the filter is created.
  3. The log group for CloudWatch Logs should be first streamed to Amazon
    OpenSearch Service before metric filtering returns the results.
  4. Metric data points for logs groups can be filtered only after they are exported to an Amazon S3 bucket.

Answer(s): B



A company is planning to use AWS CodeDeploy to deploy an application to Amazon
Elastic Container Service (Amazon ECS). During the deployment of a new version of the application, the company initially must expose only 10% of live traffic to the new version of the deployed application. Then, after 15 minutes elapse, the company must route all the remaining live traffic to the new version of the deployed application.
Which CodeDeploy predefined configuration will meet these requirements?

  1. CodeDeployDefault.ECSCanary10Percent15Minutes
  2. CodeDeployDefault.LambdaCanary10Percent5Minutes
  3. CodeDeployDefault.LambdaCanary10Percentl15Minutes
  4. CodeDeployDefault.ECSLinear10PercentEvery1Minutes

Answer(s): A



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