Courseiva
Continuous Improvement for Existing SolutionshardMultiple SelectObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company uses AWS CodePipeline to deploy a serverless application. They want to automatically test the deployment in a staging environment before promoting to production. Which THREE actions should they include in their pipeline? (Choose THREE.)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

A build stage that packages the application using AWS CodeBuild.

The correct actions are: a build stage (Option A) to package the application using AWS CodeBuild, a test stage (Option D) that deploys to a staging environment and runs integration tests, and a deploy stage (Option C) that deploys to production after staging tests pass. Option B (manual approval) is not required because the goal is automatic testing before promotion, and Option E (canary deploy) is not specified as part of the requirement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • A build stage that packages the application using AWS CodeBuild.

    Why this is correct

    The build stage packages the application using AWS CodeBuild, preparing it for deployment.

  • A manual approval step before deploying to production.

    Why it's wrong here

    A manual approval step is not required because the goal is automatic testing before promotion; manual approval could be included but is not one of the three required actions.

  • A deploy stage that deploys to production after staging tests pass.

    Why this is correct

    After staging tests pass, this deploy stage promotes the application to production.

  • A test stage that deploys to a staging environment and runs integration tests.

    Why this is correct

    This test stage deploys to a staging environment and runs integration tests to validate the deployment before production promotion.

  • A deploy stage that deploys to a canary environment.

    Why it's wrong here

    A canary deployment is a valid deployment strategy but is not explicitly required by the pipeline's goal of testing in staging before production promotion.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.