nerdexam
AmazonAmazon

DVA-C02 · Question #698

DVA-C02 Question #698: Real Exam Question with Answer & Explanation

Sign in or unlock DVA-C02 to reveal the answer and full explanation for question #698. The question stem and answer options stay visible for context.

Submitted by chiamaka_o· Mar 5, 2026Troubleshooting and Optimization

Question

A developer has designed a customer-facing application that is running on an Amazon EC2 instance. The application logs every request made to it. The application usually runs seamlessly, but a spike in traffic generates several logs that cause the disk to fill up and eventually run out of memory. Company policy requires old logs to be centralized for analysis. Which long-term solution should the developer employ to prevent the issue from reoccurring?

Options

  • ASet up log rotation to rotate the file every day. Also set up log rotation to rotate after every 100
  • BInstall the Amazon CloudWatch agent on the instance to send the logs to CloudWatch. Delete the
  • CEnable AWS Auto Scaling on Amazon EBS to automatically add volumes to the instance when it
  • DCreate an Amazon EventBridge rule to pull the logs from the instance. Configure the rule to

Unlock DVA-C02 to see the answer

You've previewed enough free DVA-C02 questions. Unlock DVA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions