exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 151 discussion

A DevOps engineer wants to find a solution to migrate an application from on premises to AWS. The application is running on Linux and needs to run on specific versions of Apache Tomcat, HAProxy, and Varnish Cache to function properly. The application's operating system-level parameters require tuning. The solution must include a way to automate the deployment of new application versions. The infrastructure should be scalable and faulty servers should be replaced automatically.

Which solution should the DevOps engineer use?

  • A. Upload the application as a Docker image that contains all the necessary software to Amazon ECR. Create an Amazon ECS cluster using an AWS Fargate launch type and an Auto Scaling group. Create an AWS CodePipeline pipeline that uses Amazon ECR as a source and Amazon ECS as a deployment provider.
  • B. Upload the application code to an AWS CodeCommit repository with a saved configuration file to configure and install the software. Create an AWS Elastic Beanstalk web server tier and a load balanced-type environment that uses the Tomcat solution stack. Create an AWS CodePipeline pipeline that uses CodeCommit as a source and Elastic Beanstalk as a deployment provider.
  • C. Upload the application code to an AWS CodeCommit repository with a set of .ebextensions files to configure and install the software. Create an AWS Elastic Beanstalk worker tier environment that uses the Tomcat solution stack. Create an AWS CodePipeline pipeline that uses CodeCommit as a source and Elastic Beanstalk as a deployment provider.
  • D. Upload the application code to an AWS CodeCommit repository with an appspec.yml file to configure and install the necessary software. Create an AWS CodeDeploy deployment group associated with an Amazon EC2 Auto Scaling group. Create an AWS CodePipeline pipeline that uses CodeCommit as a source and CodeDeploy as a deployment provider.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
csG13
Highly Voted 1 year, 4 months ago
Selected Answer: D
I go with D, simply because with Fargate you have very limited access to the OS.
upvoted 7 times
...
CloudHandsOn
Highly Voted 1 year, 1 month ago
Selected Answer: D
While option A is a strong candidate due to its serverless nature and ease of deployment, option D is the most suitable solution given the need for specific software versions, OS-level tuning, and the requirement for a scalable and fault-tolerant infrastructure. Option D provides the necessary control over the software environment and infrastructure configuration, along with the benefits of automation and scalability.
upvoted 6 times
...
ce0df07
Most Recent 2 months, 2 weeks ago
Selected Answer: B
Option B is clearly the preferred option: - Uses Elastic Beanstalk web server tier with load balancing - Provides managed Tomcat platform - Supports configuration files for software installation - Includes auto-scaling and health monitoring - Uses CodePipeline for automated deployments - Appropriate for web applications Option A: Containerization created unnecessary overhead and it will turn up more expensive Option C: Worker tier is for background processes, not suitable for web applications Option D: - More manual configuration required - Less managed service features - No built-in platform support - More complex to maintain
upvoted 1 times
...
zijo
3 months, 3 weeks ago
Selected Answer: D
AWS Fargate does not allow direct tuning of Linux OS-level parameters because it is a fully managed, serverless compute engine for containers. With Fargate, AWS abstracts the underlying infrastructure, including the operating system, and does not expose granular OS-level configurations.
upvoted 2 times
...
jamesf
8 months, 3 weeks ago
Selected Answer: D
keywords: - specific versions of Apache Tomcat, HAProxy, and Varnish Cache - operating system-level parameters Not A as Fargate is serverless
upvoted 2 times
...
didek1986
1 year ago
Selected Answer: D
Key point: The application's operating system-level parameters require tuning
upvoted 5 times
...
dkp
1 year ago
Selected Answer: D
ill go with D
upvoted 3 times
...
devakram
1 year ago
I doubt this question will come up since both A and D are correct: https://aws.amazon.com/blogs/containers/announcing-additional-linux-controls-for-amazon-ecs-tasks-on-aws-fargate/ they need to add some words to the question tat force you to choose either A or D
upvoted 3 times
jamesf
9 months ago
Me too, I still go for D but seen like new update for AWS Fargate have some change
upvoted 1 times
...
...
stoy123
1 year, 1 month ago
Selected Answer: A
Answer A
upvoted 1 times
...
DanShone
1 year, 1 month ago
Selected Answer: D
D - The application's operating system-level parameters require tuning - means option D is the only answer. A,B and C dont allow this os level tuning
upvoted 3 times
c3518fc
1 year ago
Today we’re excited to announce that customers can now tune Linux kernel parameters in ECS tasks on AWS Fargate. Tuning Linux kernel parameters can help customers optimize their network throughput when running containerized network proxies or achieve higher levels of workload resilience by terminating stale connections. This launch provides parity for ECS tasks launched on AWS Fargate and Amazon EC2 container instances. https://aws.amazon.com/blogs/containers/announcing-additional-linux-controls-for-amazon-ecs-tasks-on-aws-fargate/
upvoted 1 times
...
...
dzn
1 year, 1 month ago
Selected Answer: A
AWS Fargate can tune linux kernel parameters. https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
upvoted 1 times
...
thanhnv142
1 year, 2 months ago
Selected Answer: D
D is correct: <The application's operating system-level parameters require tuning> means the user need controls over os-level A: AWS Fargate and Docker dont provide os-level controls B and C: Beanstalk does not support Varnish Cache and no os-level controls provided
upvoted 5 times
...
sksegha
1 year, 3 months ago
Selected Answer: A
The question only needs Linux OS, its not asking for any extra customizations. AWS fargate allows you to choose the linux platform - and you can package the specific packages in a docker container.
upvoted 2 times
...
a54b16f
1 year, 3 months ago
Selected Answer: D
It need specific versions of Apache, so, B and C are out, it requires OS level customization, so no Fargate (A)
upvoted 4 times
...
zolthar_z
1 year, 3 months ago
Selected Answer: D
D: you can't customize fargate OS, Also the docker images only ocntains the application software
upvoted 5 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