DVA-C02 · Question #33
A company needs to harden its container images before the images are in a running state. The company's application uses Amazon Elastic Container Registry (Amazon ECR) as an image registry. Amazon Elas
The correct answer is B. Create a new CodePipeline stage that occurs after the container image is built. Configure ECR. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-basic.html The below blog post refers to the solution using Amazon Inspector and ECS, but the architecture is almost same as required in this scenario. The built in image scanning in Amazon ECR provides a simpl
Question
A company needs to harden its container images before the images are in a running state. The company's application uses Amazon Elastic Container Registry (Amazon ECR) as an image registry. Amazon Elastic Kubernetes Service (Amazon EKS) for compute, and an AWS CodePipeline pipeline that orchestrates a continuous integration and continuous delivery (CI/CD) workflow. Dynamic application security testing occurs in the final stage of the pipeline after a new image is deployed to a development namespace in the EKS cluster. A developer needs to place an analysis stage before this deployment to analyze the container image earlier in the CI/CD pipeline. Which solution will meet these requirements with the MOST operational efficiency?
Options
- ABuild the container image and run the docker scan command locally. Mitigate any findings before
- BCreate a new CodePipeline stage that occurs after the container image is built. Configure ECR
- CCreate a new CodePipeline stage that occurs after source code has been retrieved from its
- DAdd an action to the deployment stage of the pipeline so that the action occurs before the
How the community answered
(36 responses)- A17% (6)
- B69% (25)
- C8% (3)
- D6% (2)
Explanation
https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning-basic.html The below blog post refers to the solution using Amazon Inspector and ECS, but the architecture is almost same as required in this scenario. The built in image scanning in Amazon ECR provides a simpler solution. https://aws.amazon.com/blogs/security/use-amazon-inspector-to-manage-your-build-and-deploy- pipelines-for-containerized-applications/
Community Discussion
No community discussion yet for this question.