AWS Certified Machine Learning Engineer - Associate (MLA-C02) Practice Questions

AWS Certified Machine Learning Engineer - Associate (MLA-C02) exam preparation

AWS Certified Machine Learning Engineer - Associate (MLA-C02) practice questions in English: 180 questions with explanations. The mock exam has 65 questions and 130 minutes.

AWS Certified Machine Learning Engineer - Associate (MLA-C02) free question 9 / 10 · Domain 4: Operating, Monitoring, and Securing ML and AI Solutions

An ML team keeps the inference container images in Amazon ECR. It wants a scan for operating system and programming language package vulnerabilities, and the results should be updated as new vulnerabilities appear. Which two statements about ECR image scanning apply? (Choose two.)

  1. Basic scanning gives continuous scans for language packages, with the results kept up to date
  2. Enhanced scanning integrates ECR with Inspector and covers OS and programming language package vulnerabilities
  3. Enhanced scanning offers scan on push and continuous scan, and Amazon Inspector emits an event to EventBridge for new findings
  4. Archived images are scanned on request, with no restore step in between
  5. Switching from enhanced to basic scanning keeps the scans that were established before
Show the answer and explanation

Answer: B, C

Why this is correct
ECR offers basic and enhanced scanning. Enhanced scanning integrates ECR with Amazon Inspector to provide automated, continuous scanning of your repositories, and it scans the container images for both operating system and programming language package vulnerabilities. It has two scanning frequencies, scan on push and continuous scan, and as new vulnerabilities appear the scan results are updated and Amazon Inspector emits an event to Amazon EventBridge to notify you. That matches the team's requirements, which basic scanning does not meet.

Why the other options are wrong
"Basic scanning gives continuous scans for language packages, with the results kept up to date" … Basic scanning uses the CVE database for operating system vulnerabilities, and its frequencies are manual and scan on push. Continuous scanning and language package coverage belong to enhanced scanning.
"Switching from enhanced to basic scanning keeps the scans that were established before" … Switching between enhanced and basic scanning causes the previously established scans to no longer be available, and they have to be set up again. They return if you switch back.
"Archived images are scanned on request, with no restore step in between" … Archived images cannot be scanned. They must be restored before they can be scanned.

Key points
Basic scanning uses AWS native technology with the Common Vulnerabilities and Exposures (CVE) database and scans for operating system vulnerabilities, on push or manually. The Inspector documentation adds that basic scanning is provided and billed through ECR, and enhanced scanning through Inspector.

Go to the AWS Certified Machine Learning Engineer - Associate (MLA-C02) practice app (10 free questions; purchase unlocks all questions)

See the full practice set