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 1 Question 1 Discussion

Posted by Arthur on Apr 23, 2023 at 01:18 AM

A company has developed a serverless web application that is hosted on AWS. The application consists of Amazon S3. Amazon API Gateway, several AWS Lambda functions, and an Amazon RDS for MySQL database. The company is using AWS CodeCommit to store the source code. The source code is a combination of AWS Serverless Application Model (AWS SAM) templates and Python code.

A security audit and penetration test reveal that user names and passwords for authentication to the database are hardcoded within CodeCommit repositories. A DevOps engineer must implement a solution to automatically detect and prevent hardcoded secrets.

What is the MOST secure solution that meets these requirements?

Suggested Answer: B

Get Premium DOP-C02 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
KE
Keneth 11 months ago
Are we sure this will actually prevent hardcoded secrets? Sounds risky.
FA
Fabiola 12 months ago
I think Option A could work too, but Secrets Manager is just better overall.
FR
Francoise 12 months ago
Wait, hardcoding passwords in CodeCommit? That's a big no-no!
GI
Giovanna 1 year ago
I agree, using Secrets Manager is definitely more secure!
FR
Francine 1 year ago
Option B seems like the best choice for security. Secrets Manager is solid.
VI
Virgilio 1 year ago
I’m a bit confused about the differences between using Parameter Store and Secrets Manager. I hope I remember the right one for this question!
RA
Raylene 1 year ago
I feel like the CodeGuru options might not directly address the hardcoded secrets issue. We might need to focus on the repository association instead.
FR
Francine 1 year ago
I think we practiced a similar question where we had to choose between Parameter Store and Secrets Manager. Secrets Manager seemed more secure for managing database credentials.
DA
Daryl 1 year ago
I remember we discussed using AWS Secrets Manager for storing sensitive information, but I'm not sure if it was the best option for this scenario.
RE
Renay 1 year ago
I'm feeling pretty confident about this one. The "readiness to learn" is all about how adults are ready to learn things that are relevant and applicable to their lives. Option A is close, but C really nails it by directly stating that the learner is ready because what they learn will help them function better.
DA
Darci 1 year ago
Hmm, I'm not entirely sure about this one. I'll have to think it through carefully before selecting an answer.
RA
Rasheeda 1 year ago
This is a good question. I'm a bit confused on the best way to approach it. I'm not sure if the validation rules or sharing rules are the right solution here. I might need to do some more research on the different options to determine the most appropriate approach.
GI
Gianna 1 year ago
I think B is correct because the rule about filing within 9 months was emphasized in practice problems.
UN
Una 1 year ago
Hmm, I'm a bit unsure about this one. I'll need to think it through carefully to make sure I don't miss anything.
0/2000 characters

Save Cancel