DVA-C02 Development with AWS Services • Set 10
DVA-C02 Development with AWS Services Practice Test 10 — 15 questions with explanations. Free, no signup.
A company runs a Node.js application on AWS Elastic Beanstalk. The application writes log files to /var/log/app/. The operations team wants to stream these logs to Amazon CloudWatch Logs for monitoring and alerting. The developer configures the Elastic Beanstalk environment to include a .ebextensions configuration file that sets up the CloudWatch Logs agent. The configuration file specifies the log group and the log stream prefix. After deploying the updated environment, the logs are not appearing in CloudWatch Logs. The developer checks the EC2 instance and confirms that the CloudWatch Logs agent is running and the configuration file is present in /etc/awslogs/. What is the most likely reason the logs are not being sent?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.