Pre-Summer Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Amazon Web Services DVA-C02 Actual Questions

Page: 15 / 42
Total 565 questions

AWS Certified Developer - Associate Questions and Answers

Question 57

A developer is working on an ecommerce website The developer wants to review server logs without logging in to each of the application servers individually. The website runs on multiple Amazon EC2 instances, is written in Python, and needs to be highly available

How can the developer update the application to meet these requirements with MINIMUM changes?

Options:

A.

Rewrite the application to be cloud native and to run on AWS Lambda, where the logs can be reviewed in Amazon CloudWatch

B.

Set up centralized logging by using Amazon OpenSearch Service, Logstash, and OpenSearch Dashboards

C.

Scale down the application to one larger EC2 instance where only one instance is recording logs

D.

Install the unified Amazon CloudWatch agent on the EC2 instances Configure the agent to push the application logs to CloudWatch

Question 58

In a move toward using microservices, a company ' s management team has asked all development teams to build their services so that API requests depend only on that service ' s data store. One team is building a Payments service which has its own database; the service needs data that originates in the Accounts database. Both are using Amazon DynamoDB.

What approach will result in the simplest, decoupled, and reliable method to get near-real time updates from the Accounts database?

Options:

A.

Use AWS Glue to perform frequent ETL updates from the Accounts database to the Payments database.

B.

Use Amazon ElastiCache in Payments, with the cache updated by triggers in the Accounts database.

C.

Use Amazon Data Firehose to deliver all changes from the Accounts database to the Payments database.

D.

Use Amazon DynamoDB Streams to deliver all changes from the Accounts database to the Payments database.

Question 59

A developer is troubleshooting a three-tier application, which is deployed on Amazon EC2 instances. There is a connectivity problem between the application servers and the database servers.

Which AWS services or tools should be used to identify the faulty component? (Select TWO.)

Options:

A.

AWS CloudTrail

B.

AWS Trusted Advisor

C.

Amazon VPC Flow Logs

D.

Network access control lists

E.

AWS Config rules

Question 60

A developer is refactoring an AWS Lambda function that uses static parameters that are defined in environment variables. The developer needs to integrate the Lambda function with an AWS AppConfig application. The developer has already configured IAM roles for the AWS AppConfig application and the Lambda function. Which solution will meet this requirement with the LEAST amount of changes to the code?

Options:

A.

Add the AWS AppConfig agent Lambda extension layer. Use the agent endpoint from within the function code.

B.

Create an AWS AppConfig extension. Add the ON_DEPLOYMENT_COMPLETE action point and add the Lambda function URI as the target.

C.

Use the AWS AppConfig client to create a Lambda layer. Add the layer to the function.

D.

Modify the function code to add the StartConfigurationSession API action and the GetLatestConfiguration API action.

Page: 15 / 42
Total 565 questions