DVA-C02 practice question · Security
A developer configures an Amazon ECR private registry to use basic scanning with scan on push.
A developer configures an Amazon ECR private registry to use basic scanning with scan on push. What security benefit does this provide?
- AEach pushed image is checked against a CVE database for operating system package vulnerabilities, and the findings are listed
- BEach pushed image is checked for programming language package vulnerabilities and is rescanned automatically as new CVEs are published
- CEach pushed image is encrypted with a customer managed AWS KMS key before it is stored in the repository
- DEach pushed image is blocked from being pulled until its signature has been verified against a trusted signing profile
Show the answer and explanation
Correct answer: A) Each pushed image is checked against a CVE database for operating system package vulnerabilities, and the findings are listed
ECR basic scanning checks images for OS package CVEs, either on push or manually, and lists the findings. Enhanced scanning with Amazon Inspector adds programming language package coverage and continuous rescanning.
Why each option is right or wrong
- A) Correct. Basic scanning uses AWS native technology and the Common Vulnerabilities and Exposures (CVE) database to find operating system vulnerabilities. Scans run on push or manually, and ECR returns a list of findings.
- B) Incorrect. This describes enhanced scanning. Enhanced scanning integrates with Amazon Inspector, covers both OS and programming language packages, and supports continuous scanning. Basic scanning covers OS packages only.
- C) Incorrect. Encryption at rest is a separate repository setting. It is not part of vulnerability scanning.
- D) Incorrect. Image signing and signature verification are separate from scanning. Basic scanning reports findings and does not block pulls.
- Exam domain
- Security · 26% of DVA-C02
- Question type
- Multiple choice (one answer)
Related DVA-C02 questions
- A company wants API Gateway to strongly authenticate client devices using X.509 client certificates, in addition to (or…Security
- A team stores database credentials in AWS Secrets Manager in us-east-1 with automatic rotation turned on.Security
- A company wants its Lambda functions to accept only deployment packages that its approved CI/CD pipeline has signed.Security
- A company's compliance requirement states that CloudTrail logs must not be deletable or modifiable by any user…Security
All 67 free DVA-C02 questions by domain · 15 sample questions on one page
Practise the full DVA-C02 exam
This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.
Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.