nerdexam
AmazonAmazon

DOP-C02 · Question #39

DOP-C02 Question #39: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.

Submitted by haru.x· Mar 6, 2026Security & Compliance

Question

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?

Options

  • AEnable Amazon CodeGuru Profiler. Decorate the handler function with @with_lambda_profiler().
  • BAssociate the CodeCommit repository with Amazon CodeGuru Reviewer. Manually check the
  • CEnable Amazon CodeGuru Profiler. Decorate the handler function with @with_lambda_profiler().
  • DAssociate the CodeCommit repository with Amazon CodeGuru Reviewer. Manually check the

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#CodeCommit#CodeGuru Reviewer#Secret detection#Source code security
Full DOP-C02 PracticeBrowse All DOP-C02 Questions