SAP-C02 exam dumps

SAP-C02 practice question 164 of 678

AWS Certified Solutions Architect - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAP-C02 Question 164

Select 3

Your organization is implementing a CI/CD pipeline for a web application hosted on Amazon ECS using Fargate. The development team wants to automate the deployment process to ensure the application is updated seamlessly with minimal downtime. Which combination of AWS services and practices should you use to achieve this goal?

  1. A

    Use AWS CodePipeline to automate the build, test, and deployment stages of the application.

  2. B

    Use AWS CodeBuild to build container images and push them to Amazon ECR.

  3. C

    Use an Application Load Balancer (ALB) to perform blue/green deployments for ECS services.

  4. D

    Configure AWS Elastic Beanstalk to deploy the application directly to Amazon ECS.

  5. E

    Enable AWS CloudTrail to monitor deployment logs in real-time.

Show answer and explanation

Correct answers: A, B, C

Explanation

To implement an effective CI/CD pipeline for an Amazon ECS-based application, you need to use AWS CodePipeline for automation, AWS CodeBuild for building and pushing container images, and an Application Load Balancer for blue/green deployments. These services work together to ensure a seamless deployment process with minimal downtime. AWS Elastic Beanstalk and CloudTrail are not relevant for this specific use case.

  • A. Correct.

    Correct: AWS CodePipeline is a key service for orchestrating CI/CD pipelines. It automates the build, test, and deployment stages, enabling seamless application updates.

  • B. Correct.

    Correct: AWS CodeBuild is used to build container images and push them to Amazon Elastic Container Registry (ECR), a necessary step for deploying ECS services.

  • C. Correct.

    Correct: An Application Load Balancer (ALB) is an effective choice for managing blue/green deployments, which ensures minimal downtime during ECS service updates.

  • D. Incorrect.

    Incorrect: AWS Elastic Beanstalk is not designed to directly deploy applications to ECS. ECS and Elastic Beanstalk are separate services with different use cases.

  • E. Incorrect.

    Incorrect: AWS CloudTrail is used for API activity logging and security auditing, not directly for automating CI/CD pipelines or deployments.

Timed practice exam

Take a SAP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam