Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

AWS Certified Associate DVA-C01 Book

Page: 21 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 81

An application contains two components one component to handle HI IP requests, and another component to handle background processing tasks Bach component must scale independently The developer wants to deploy this application using AWS Elastic Beanstalk.

How should this application be deployed, based on these requirements?

Options:

A.

Deploy the application in a single Elastic Beanstalk environment

B.

Deploy each component in a separate Elastic Beanstalk environment

C.

Use multiple Elastic Beanstalk environments for the HTTP component but one environment for the background task component

D.

Use multiple Elastic Beanstalk environments for the background task component but one environment tor the HTTP component

Question 82

An AWS Lambda function accesses two Amazon DynamoDB tables. A developer wants to improve the performance of the Lambda function by identifying bottlenecks in the function. How can the developer inspect the timing of the DynamoDB API calls?

Options:

A.

Add DynamoDB as an event source to the Lambda function. View the performance with Amazon CloudWatch metrics

B.

Place an Application Load Balancer (ALB) in front of the two DynamoDB tables. Inspect the ALB logs

C.

Limit Lambda to no more than five concurrent invocations Monitor from the Lambda console

D.

Enable AWS X-Ray tracing for the function. View the traces from the X-Ray service.

Question 83

A company has an AWS Lambda function that runs hourly, reads log files that are stored in Amazon S3, and forwards alerts to Amazon Simple Notification Service (Amazon SNS) topics based on content A developer wants to add a custom metric to the Lambda function to track the number of alerts of each type for each run The developer needs to log this information in Amazon CloudWatch in a metnc that is named Lambda/AlertCounts

How should the developer modify the Lambda function to meet this requirement with the LEAST operational overhead1?

Options:

A.

Add a print statement to standard out for each alert and the number of occurrences

B.

Add a call to the PutMetncData API operation Pass an array for alerts and the number of occurrences in the Values and Counts fields with a namespace of "Lambda/AlertCounts"

C.

Add a call to the PutMetncAlarm API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"

D.

Add a call to the PutDashboard API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"

Question 84

A developer is working on a serverless application. The application uses Amazon API Gateway. AWS Lambda functions that are written in Python, and Amazon DynamoDB.

Which combination of steps should the developer take so that the Lambda functions can be debugged in the event of application failures? (Select TWO )

Options:

A.

Configure an AWS CloudTrail trail to deliver log files to an Amazon S3 bucket

B.

Ensure that the Lambda functions write log messages to stdout and stderr

C.

Enable an AWS CloudTrail trail for the Lambda function

D.

Ensure that the execution role for the Lambda function has access to write to Amazon CloudWatch Logs.

E.

Use the Amazon CloudWatch metric for Lambda errors to create a CloudWatch alarm.

Page: 21 / 23
Total 608 questions