Deal of The Day! 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

Posted by Ashanti on Jan 24, 2025 at 08:56 AM

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?

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.

Get Premium DOP-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
34 comments · newest first
MA
Marge 11 months ago
Not sure about A, what if the Docker image has issues?
AL
Alyce 11 months ago
I think C could work too, but A is definitely cleaner.
AD
Adelaide 11 months ago
Wait, why not just use EC2? Seems simpler.
GE
Gerald 11 months ago
Totally agree, A is the way to go!
BA
Basilia 12 months ago
Option A seems the most efficient with Docker and CodeBuild.
DO
Dorathy 12 months ago
I recall something about using EKS for container orchestration, but I wonder if it's overkill for just building a deployable artifact.
FL
Floyd 1 year 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.
LY
Lyda 1 year 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.
RI
Ria 1 year ago
I remember we discussed using AWS CodeBuild for automating builds, but I'm not sure if it's the best choice here.
PA
Pauline 1 year 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.
ME
Meghan 1 year 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.
YA
Yaeko 1 year 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.
LA
Lashon 1 year 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...
FI
Filiberto 1 year 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?
DA
Dalene 1 year ago
↳ replying to Filiberto
I agree with you, Option B is the way to go. Sometimes the old-school methods are the most reliable.
LY
Lynsey 1 year ago
↳ replying to Filiberto
I think using containers with Option A would be more efficient. It's the modern way to handle deployments.
AD
Adelaide 1 year ago
↳ replying to Filiberto
Option B sounds like the way to go. EC2 instances are reliable and easy to work with.
ST
Stefany 1 year 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.
BI
Billye 1 year 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.
NO
Norah 1 year ago
↳ replying to Billye
Yeah, using a custom Docker image with AWS CodeBuild to build and save the artifact to S3 makes sense.
DA
Daren 1 year ago
↳ replying to Billye
I think option A would be the most operationally efficient way to meet the requirements.
VA
Val 1 year ago
↳ replying to Billye
I agree, option D does seem like overkill for a legacy application.
MA
Marti 1 year 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.
TE
Terrilyn 1 year ago
↳ replying to Marti
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.
TW
Twanna 1 year ago
↳ replying to Marti
I agree, Option C seems like the most efficient way to automate building and storing the deployable artifact for the legacy application.
GR
Gracie 1 year ago
↳ replying to Marti
Option C sounds like a good choice. Having all the dependencies pre-installed can definitely streamline the deployment process.
RO
Rolf 2 years 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.
LO
Lonny 2 years ago
I agree with Herminia. Option A with Docker image and AWS CodeBuild sounds like the best choice for automating the process.
HE
Herminia 2 years ago
I think option A is the most operationally efficient way. Using Docker image and AWS CodeBuild seems like a good solution.
LE
Leota 2 years 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.
VA
Vannessa 1 year ago
↳ replying to Leota
Absolutely, it's important to have an efficient and reliable process in place for building and deploying applications.
RI
Rikki 1 year ago
↳ replying to Leota
It's definitely a good choice for automating the build and deployment process. Plus, storing the artifact in S3 for future reference is convenient.
IN
In 1 year ago
↳ replying to Leota
I agree, Docker images make it easy to manage dependencies and CodeBuild can streamline the build process.
CA
Carri 1 year ago
↳ replying to Leota
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.
0/2000 characters

Save Cancel