New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DOP-C02 Exam - Topic 4 Question 43 Discussion

Actual exam question for Amazon's DOP-C02 exam
Question #: 43
Topic #: 4
[All DOP-C02 Questions]

A company has a legacy application A DevOps engineer needs to automate the process of building the deployable artifact for the legacy application. The solution must store the deployable artifact in an existing Amazon S3 bucket for future deployments to reference

Which solution will meet these requirements in the MOST operationally efficient way?

Show Suggested Answer Hide Answer
Suggested Answer: A

Step 2: Creating CloudWatch Metric Filters CloudWatch metric filters can be used to search for specific patterns in log data. The operations team can create filters for certain log patterns and set up alarms based on these filters.

Action: Instruct the operations team to create CloudWatch metric filters to detect patterns in the WAF log output.

Why: Metric filters allow the team to trigger alarms based on specific patterns without needing to manually search through logs.

This corresponds to Option A: Create an Amazon CloudWatch Logs log group. Configure the appropriate AWS WAF web ACL to send log messages to the log group. Instruct the operations team to create CloudWatch metric filters.

Contribute your Thoughts:

0/2000 characters
Marge
3 months ago
Not sure about A, what if the Docker image has issues?
upvoted 0 times
...
Alyce
3 months ago
I think C could work too, but A is definitely cleaner.
upvoted 0 times
...
Adelaide
3 months ago
Wait, why not just use EC2? Seems simpler.
upvoted 0 times
...
Gerald
4 months ago
Totally agree, A is the way to go!
upvoted 0 times
...
Basilia
4 months ago
Option A seems the most efficient with Docker and CodeBuild.
upvoted 0 times
...
Dorathy
4 months ago
I recall something about using EKS for container orchestration, but I wonder if it's overkill for just building a deployable artifact.
upvoted 0 times
...
Floyd
4 months ago
I feel like launching an EC2 instance to build the artifact could work, but it seems less efficient than using a managed service like CodeBuild.
upvoted 0 times
...
Lyda
4 months ago
I think option A sounds familiar because it involves Docker, which we practiced in class, but I’m not confident about the ECR part.
upvoted 0 times
...
Ria
5 months ago
I remember we discussed using AWS CodeBuild for automating builds, but I'm not sure if it's the best choice here.
upvoted 0 times
...
Pauline
5 months ago
I think option A is the way to go here. Containerizing the build process and using CodeBuild to automate it is a nice, clean solution. The other options feel a bit more manual and complex. As long as I can get the Docker image set up correctly, this should be a straightforward implementation.
upvoted 0 times
...
Meghan
5 months ago
Whoa, lots of choices here. I'm a bit confused by the EC2 instance options - do we really need to provision a whole EC2 instance just for the build? Seems like overkill. I'd probably go with the Docker/ECR/CodeBuild route, but I'll need to review the question again.
upvoted 0 times
...
Yaeko
5 months ago
Okay, this is a tricky one. I'm leaning towards option A - creating a custom Docker image with the dependencies and using CodeBuild to build and deploy. That seems like the most operationally efficient approach, but I'll need to double-check the details.
upvoted 0 times
...
Lashon
5 months ago
This looks like a classic DevOps automation question. I'd start by carefully analyzing the requirements - we need to automate the build process for a legacy application and store the artifact in an S3 bucket. Hmm, let me think through the options...
upvoted 0 times
...
Filiberto
10 months ago
I'm going with Option B. Old-school EC2 instance FTW! Who needs all these fancy containers and Kubernetes when you've got a good ol' virtual machine?
upvoted 0 times
Dalene
8 months ago
I agree with you, Option B is the way to go. Sometimes the old-school methods are the most reliable.
upvoted 0 times
...
Lynsey
9 months ago
I think using containers with Option A would be more efficient. It's the modern way to handle deployments.
upvoted 0 times
...
Adelaide
9 months ago
Option B sounds like the way to go. EC2 instances are reliable and easy to work with.
upvoted 0 times
...
...
Stefany
10 months ago
Ha, I bet the legacy app is written in COBOL and requires a mainframe to run. Any of these cloud-based solutions are gonna be a headache to set up.
upvoted 0 times
...
Billye
10 months ago
Option D is interesting, but it might be overkill for a legacy application. Spinning up an entire EKS cluster just to build and deploy the artifact seems a bit excessive.
upvoted 0 times
Norah
8 months ago
Yeah, using a custom Docker image with AWS CodeBuild to build and save the artifact to S3 makes sense.
upvoted 0 times
...
Daren
9 months ago
I think option A would be the most operationally efficient way to meet the requirements.
upvoted 0 times
...
Val
9 months ago
I agree, option D does seem like overkill for a legacy application.
upvoted 0 times
...
...
Marti
10 months ago
I'm leaning towards Option C. Having a custom EC2 Image Builder image with all the dependencies pre-installed could make the deployment process simpler and more reliable.
upvoted 0 times
Terrilyn
8 months ago
Yeah, having a custom EC2 Image Builder image with everything set up already could save a lot of time and reduce the chances of errors during deployment.
upvoted 0 times
...
Twanna
9 months ago
I agree, Option C seems like the most efficient way to automate building and storing the deployable artifact for the legacy application.
upvoted 0 times
...
Gracie
9 months ago
Option C sounds like a good choice. Having all the dependencies pre-installed can definitely streamline the deployment process.
upvoted 0 times
...
...
Rolf
10 months ago
I'm not sure, but option D also seems interesting with Amazon EKS and AWS Fargate. It could be a scalable solution for future deployments.
upvoted 0 times
...
Lonny
10 months ago
I agree with Herminia. Option A with Docker image and AWS CodeBuild sounds like the best choice for automating the process.
upvoted 0 times
...
Herminia
10 months ago
I think option A is the most operationally efficient way. Using Docker image and AWS CodeBuild seems like a good solution.
upvoted 0 times
...
Leota
11 months ago
Option A looks like the most straightforward solution. Using a custom Docker image and CodeBuild seems like a clean and efficient way to automate the build process.
upvoted 0 times
Vannessa
9 months ago
Absolutely, it's important to have an efficient and reliable process in place for building and deploying applications.
upvoted 0 times
...
Rikki
10 months ago
It's definitely a good choice for automating the build and deployment process. Plus, storing the artifact in S3 for future reference is convenient.
upvoted 0 times
...
In
10 months ago
I agree, Docker images make it easy to manage dependencies and CodeBuild can streamline the build process.
upvoted 0 times
...
Carri
10 months ago
Option A looks like the most straightforward solution. Using a custom Docker image and CodeBuild seems like a clean and efficient way to automate the build process.
upvoted 0 times
...
...

Save Cancel