DOP-C02 · Question #418
A company is experiencing failures in its AWS CodeDeploy deployments for a critical application. The application is deployed on Amazon EC2 instances. A DevOps engineer must analyze the failed…
The correct answer is C. Use Amazon CloudWatch Logs to review application logs. Analyze CodeDeploy deployment logs. CodeDeploy deployment logs in /opt/codedeploy-agent/deployment-root/ on the EC2 instances show detailed deployment steps and errors. Amazon CloudWatch Logs can capture application logs for additional context. AWS X-Ray helps trace requests through application components to…
Question
A company is experiencing failures in its AWS CodeDeploy deployments for a critical application. The application is deployed on Amazon EC2 instances. A DevOps engineer must analyze the failed deployments to identify the root cause of the failures. Which solution will provide the appropriate information to troubleshoot the deployment issues?
Options
- AConfigure VPC Flow Logs to monitor network traffic. Use Amazon Inspector to detect non-
- BEnable detailed monitoring on the EC2 instances. Use AWS Systems Manager Run Command to
- CUse Amazon CloudWatch Logs to review application logs. Analyze CodeDeploy deployment logs
- DExamine AWS Trusted Advisor checks for the CodeDeploy deployments. Use the AWS Health
How the community answered
(40 responses)- A10% (4)
- B5% (2)
- C83% (33)
- D3% (1)
Explanation
CodeDeploy deployment logs in /opt/codedeploy-agent/deployment-root/ on the EC2 instances show detailed deployment steps and errors. Amazon CloudWatch Logs can capture application logs for additional context. AWS X-Ray helps trace requests through application components to identify runtime issues.
Topics
Community Discussion
No community discussion yet for this question.