DOP-C02 · Question #43
A DevOps Engineer needs to deploy a scalable three-tier Node.js application in AWS. The application must have zero downtime during deployments and be able to roll back to previous versions. Other…
The correct answer is C. Deploy the application using AWS Elastic Beanstalk. Configure the environment type for Elastic. The Amazon EC2 instances in your Elastic Beanstalk environment generate logs that you can view to troubleshoot issues with your application or configuration files. Logs created by the web server, application server, Elastic Beanstalk platform scripts, and AWS CloudFormation are…
Question
A DevOps Engineer needs to deploy a scalable three-tier Node.js application in AWS. The application must have zero downtime during deployments and be able to roll back to previous versions. Other applications will also connect to the same MySQL backend database. The CIO has provided the following guidance for logging:
- Centrally view all current web access server logs.
- Search and filter web and application logs in near-real time.
- Retain log data for three months.
How should these requirements be met?
Options
- ADeploy the application using AWS Elastic Beanstalk. Configure the environment type for Elastic
- BDeploy the application on Amazon EC2. Configure Elastic Load Balancing and Auto Scaling. Use
- CDeploy the application using AWS Elastic Beanstalk. Configure the environment type for Elastic
- DDeploy the application on Amazon EC2. Configure Elastic Load Balancing and Auto Scaling. Use
How the community answered
(20 responses)- A10% (2)
- B30% (6)
- C45% (9)
- D15% (3)
Explanation
The Amazon EC2 instances in your Elastic Beanstalk environment generate logs that you can view to troubleshoot issues with your application or configuration files. Logs created by the web server, application server, Elastic Beanstalk platform scripts, and AWS CloudFormation are stored locally on individual instances. You can easily retrieve them by using the environment management console or the EB CLI. You can also configure your environment to stream logs to Amazon CloudWatch Logs in real-time. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.logging.html
Topics
Community Discussion
No community discussion yet for this question.