Free DVA-C02 Exam Braindumps

Pass your DVA-C02 exam with these free Questions and Answers

Page 3 of 26
QUESTION 6

A developer is creating a template that uses AWS CloudFormation to deploy an application. The application is serverless and uses Amazon API Gateway, Amazon DynamoDB, and AWS Lambda.
Which AWS service or tool should the developer use to define serverless resources in YAML?

  1. A. CloudFormation serverless intrinsic functions
  2. B. AWS Elastic Beanstalk
  3. C. AWS Serverless Application Model (AWS SAM)
  4. D. AWS Cloud Development Kit (AWS CDK)

Correct Answer: C

QUESTION 7

A company has deployed an application on AWS Elastic Beanstalk. The company has configured the Auto Scaling group that is associated with the Elastic Beanstalk environment to have five Amazon EC2 instances. If the capacity is fewer than four EC2 instances during the deployment, application performance degrades. The company is using the all-at-once deployment policy.
What is the MOST cost-effective way to solve the deployment issue?

  1. A. Change the Auto Scaling group to six desired instances.
  2. B. Change the deployment policy to traffic splittin
  3. C. Specify an evaluation time of 1 hour.
  4. D. Change the deployment policy to rolling with additional batc
  5. E. Specify a batch size of 1.
  6. F. Change the deployment policy to rollin
  7. G. Specify a batch size of 2.

Correct Answer: C

QUESTION 8

A company is planning to securely manage one-time fixed license keys in AWS. The company's development team needs to access the license keys in automaton scripts that run in Amazon EC2 instances and in AWS CloudFormation stacks.
Which solution will meet these requirements MOST cost-effectively?

  1. A. Amazon S3 with encrypted files prefixed with “config”
  2. B. AWS Secrets Manager secrets with a tag that is named SecretString
  3. C. AWS Systems Manager Parameter Store SecureString parameters
  4. D. CloudFormation NoEcho parameters

Correct Answer: C

QUESTION 9

A developer is designing a serverless application with two AWS Lambda functions to process photos. One Lambda function stores objects in an Amazon S3 bucket and stores the associated metadata in an Amazon DynamoDB table. The other Lambda function fetches the objects from the S3 bucket by using the metadata from the DynamoDB table. Both Lambda functions use the same Python library to perform complex computations and are approaching the quota for the maximum size of zipped deployment packages.
What should the developer do to reduce the size of the Lambda deployment packages with the LEAST operational overhead?

  1. A. Package each Python library in its own .zip file archiv
  2. B. Deploy each Lambda function with its own copy of the library.
  3. C. Create a Lambda layer with the required Python librar
  4. D. Use the Lambda layer in both Lambda functions.
  5. E. Combine the two Lambda functions into one Lambda functio
  6. F. Deploy the Lambda function as a single.zip file archive.
  7. G. Download the Python library to an S3 bucke
  8. H. Program the Lambda functions to reference the object URLs.

Correct Answer: B

QUESTION 10

A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream. The company recently observed slow processing of the records. A developer notices that the iterator age metric for the function is increasing and that the Lambda run duration is constantly above normal.
Which actions should the developer take to increase the processing speed? (Choose two.)

  1. A. Increase the number of shards of the Kinesis data stream.
  2. B. Decrease the timeout of the Lambda function.
  3. C. Increase the memory that is allocated to the Lambda function.
  4. D. Decrease the number of shards of the Kinesis data stream.
  5. E. Increase the timeout of the Lambda function.

Correct Answer: AC

Page 3 of 26

Post your Comments and Discuss Amazon DVA-C02 exam with other Community members: