exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

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

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 81 discussion

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?

  • A. Configure the Amazon CloudWatch agent to push logs to Amazon CloudWatch Logs by using port 443.
  • B. Configure the Elastic Beanstalk .ebextensions directory to track the memory usage of the instances.
  • C. Configure the Amazon CloudWatch agent to track the memory usage of the instances.
  • D. Configure an Amazon CloudWatch dashboard to track the memory usage of the instances.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
MrTee
Highly Voted 2 years ago
Selected Answer: C
Configure the Amazon CloudWatch agent to track the memory usage of the instances.
upvoted 16 times
xdkonorek2
1 year, 4 months ago
Using elastic beanstalk .ebextensions dir
upvoted 1 times
...
...
eboehm
Highly Voted 1 year, 10 months ago
Selected Answer: B
for elastic beanstalk you make this configuration in the .ebtextensions folder https://repost.aws/knowledge-center/elastic-beanstalk-memory-metrics-windows
upvoted 15 times
DumPisach
1 year, 10 months ago
But the question says Linux
upvoted 3 times
Naj_64
1 year, 9 months ago
Applies to Linux as well: https://medium.com/tomincode/cloudwatch-memory-monitoring-for-elastic-beanstalk-1caa98d57d5c
upvoted 1 times
maurice2005
1 year, 1 month ago
ebextensions is deprecated for linux newest version which is mentioned in the question
upvoted 4 times
...
...
...
...
sumanshu
Most Recent 4 months ago
Selected Answer: C
A) Eliminated - Logs provide insights into application behavior but won't help in monitoring resource usage such as memory. B) Eliminated - The .ebextensions directory is used for customizing Elastic Beanstalk environments, such as installing software or modifying instance configurations. C) Correct - The Amazon CloudWatch agent can collect system-level metrics like memory usage, which is not tracked by default in CloudWatch for EC2 instances D) Eliminated - A CloudWatch dashboard is used to visualize metrics that are already being tracked.
upvoted 3 times
...
ShakthiGCP
4 months, 1 week ago
Selected Answer: C
.ebextensions is for customizing your Elastic Beanstalk environment. While you can use it to install monitoring tools, directly configuring it to track memory isn't the standard or most efficient approach. So Answer is 'C'
upvoted 2 times
...
Saudis
7 months, 3 weeks ago
Selected Answer: C
CloudWatch agent track the memory and any types of system component (hardware)
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
SathyaJS
1 year, 1 month ago
Answer is : C from Gemini here is why B is incorrect B. .ebextensions directory: While .ebextensions can be used for configuration within Elastic Beanstalk, it's not designed to track memory usage directly.
upvoted 2 times
...
SerialiDr
1 year, 2 months ago
Selected Answer: C
This option allows the developer to gather detailed performance metrics, including memory usage, from the EC2 instances. By configuring the CloudWatch agent, the developer can monitor the memory usage in real-time and analyze historical data to identify trends or patterns that may be affecting the application's performance. This approach provides actionable insights with minimal overhead and without the need for custom logging or external tools.
upvoted 4 times
...
prathameshpathak
1 year, 3 months ago
Selected Answer: C
..........
upvoted 1 times
...
SerialiDr
1 year, 3 months ago
Selected Answer: C
This is the most direct and appropriate solution. By installing and configuring the Amazon CloudWatch agent on the Elastic Beanstalk instances, the developer can collect detailed system-level metrics, such as memory usage, and send them to CloudWatch for monitoring and analysis.
upvoted 1 times
...
Chimzi
1 year, 3 months ago
Selected Answer: C
The .ebextensions directory is used for customizing the environment (installing packages, running scripts...) it can't track memory usage alone.
upvoted 2 times
...
Chimzi
1 year, 3 months ago
Selected Answer: C
No Discussion
upvoted 1 times
...
JohnPl
1 year, 3 months ago
Selected Answer: C
We configure the agent not the directory itself.
upvoted 1 times
...
a_win
1 year, 4 months ago
Selected Answer: C
The Amazon CloudWatch agent can be configured to collect various metrics, including memory usage, from the instances. By setting up the CloudWatch agent to monitor memory metrics, the developer can get insights into the memory usage patterns during peak traffic periods. This data can help diagnose if memory constraints are causing the performance degradation.
upvoted 1 times
...
[Removed]
1 year, 4 months ago
Selected Answer: B
it should be B: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-cw.html#customize-containers-cw-update-roles
upvoted 3 times
...
KarBiswa
1 year, 4 months ago
Selected Answer: C
Going with C after going through this link: https://repost.aws/knowledge-center/elastic-beanstalk-memory-cpu-issues
upvoted 1 times
...
TallManDan
1 year, 5 months ago
It requires both B and C. I'm guessing the question is supposed to say "Select Two". https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-cw.html
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago