exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 168 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 168
Topic #: 1
[All AWS Certified Developer Associate Questions]

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?

  • 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 (Amazon Elasticsearch Service), Logstash, and OpenSearch Dashboards (Kibana).
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rcaliandro
2 years, 1 month ago
Selected Answer: D
D is also correct for me, we can configure the EC2 instances to send logs to CloudWatch in order to centralize them.
upvoted 1 times
...
MMaquis
2 years, 5 months ago
Selected Answer: D
one approach is to centralize the logs by sending them to a log management and analysis service. AWS offers a service called Amazon CloudWatch Logs that can be used to centralize logs from multiple EC2 instances and provide a unified view of them.
upvoted 1 times
...
m4r0ck
2 years, 6 months ago
Selected Answer: B
Option A requires the application to be rewritten to run on AWS Lambda, which is a significant change to the architecture. Option C is not a scalable solution, as the website needs to be highly available. Option D also requires changes to the EC2 instances, as the unified CloudWatch agent needs to be installed and configured. Therefore, the best solution for the developer to update the application to meet the requirements with minimum changes is option B, which uses Amazon OpenSearch Service, Logstash, and Kibana to set up centralized logging.
upvoted 3 times
Dipak25
1 year, 8 months ago
Please consider they need to pay for Amazon OpenSearch Service, Logstash, and Kibana. Also setting up those will also take time.
upvoted 1 times
...
...
michaldavid
2 years, 8 months ago
Selected Answer: D
dddddddddd
upvoted 4 times
...
k1kavi1
2 years, 8 months ago
Selected Answer: D
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html
upvoted 3 times
...
dark_cherrymon
2 years, 9 months ago
Selected Answer: D
D https://www.examtopics.com/discussions/amazon/view/69058-exam-aws-certified-developer-associate-topic-1-question-399/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...