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

Page 21 of 116

A company hosts a batch processing application on AWS Elastic Beanstalk with instances that run the most recent version of Amazon Linux. The application sorts and processes large datasets.
In recent weeks, the application's performance has decreased significantly during a peak period for traffic. A developer suspects that the application issues are related to the memory usage. The developer checks the Elastic Beanstalk console and notices that memory usage is not being tracked.
How should the developer gather more information about the application performance issues?

  1. Configure the Amazon CloudWatch agent to push logs to Amazon CloudWatch Logs by using port 443.
  2. Configure the Elastic Beanstalk .ebextensions directory to track the memory usage of the instances.
  3. Configure the Amazon CloudWatch agent to track the memory usage of the instances.
  4. Configure an Amazon CloudWatch dashboard to track the memory usage of the instances.

Answer(s): C



A developer is building a highly secure healthcare application using serverless components. This application requires writing temporary data to /tmp storage on an
AWS Lambda function.
How should the developer encrypt this data?

  1. Enable Amazon EBS volume encryption with an AWS KMS key in the Lambda function configuration so that all storage attached to the Lambda function is encrypted.
  2. Set up the Lambda function with a role and key policy to access an AWS KMS
    key. Use the key to generate a data key used to encrypt all data prior to writing to /tmp storage.
  3. Use OpenSSL to generate a symmetric encryption key on Lambda startup. Use this key to encrypt the data prior to writing to /tmp.
  4. Use an on-premises hardware security module (HSM) to generate keys, where the Lambda function requests a data key from the HSM and uses that to encrypt data on all requests to the function.

Answer(s): B



A developer has created an AWS Lambda function to provide notification through
Amazon Simple Notification Service (Amazon SNS) whenever a file is uploaded to
Amazon S3 that is larger than 50 MB. The developer has deployed and tested the
Lambda function by using the CLI. However, when the event notification is added to the S3 bucket and a 3,000 MB file is uploaded, the Lambda function does not launch.
Which of the following is a possible reason for the Lambda function's inability to launch?

  1. The S3 event notification does not activate for files that are larger than
    1,000 MB.
  2. The resource-based policy for the Lambda function does not have the required permissions to be invoked by Amazon S3.
  3. Lambda functions cannot be invoked directly from an S3 event.
  4. The S3 bucket needs to be made public.

Answer(s): B



A developer is creating a Ruby application and needs to automate the deployment,
scaling, and management of an environment without requiring knowledge of the underlying infrastructure.
Which service would best accomplish this task?

  1. AWS CodeDeploy
  2. AWS CloudFormation
  3. AWS OpsWorks
  4. AWS Elastic Beanstalk

Answer(s): D



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