[{"data":1,"prerenderedAt":386},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-devops-engineer-professional\u002Flessons\u002Faws-codebuild-vs-aws-codepipeline-execution-and-orchestration-dop-c02":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":17,"components":189,"diagrams":225,"steps":248,"dateModified":381,"course":382,"nextLesson":383},"aws-codebuild-vs-aws-codepipeline-execution-and-orchestration-dop-c02","AWS CodeBuild vs AWS CodePipeline: execution and orchestration","How responsibility for executing build commands differs from responsibility for orchestrating release stages and their transitions.",[190,196,200,204,208,212,216,220],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"aws-batch","service","AWS Batch","\u002Fimages\u002Fprovider-services\u002Faws-batch\u002Fcovers\u002FArch_AWS-Batch_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"aws-codeartifact","AWS CodeArtifact","\u002Fimages\u002Fprovider-services\u002Faws-codeartifact\u002Fcovers\u002FArch_AWS-CodeArtifact_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"aws-codebuild","AWS CodeBuild","\u002Fimages\u002Fprovider-services\u002Faws-codebuild\u002Fcovers\u002FArch_AWS-CodeBuild_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"aws-codedeploy","AWS CodeDeploy","\u002Fimages\u002Fprovider-services\u002Faws-codedeploy\u002Fcovers\u002FArch_AWS-CodeDeploy_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"aws-codepipeline","AWS CodePipeline","\u002Fimages\u002Fprovider-services\u002Faws-codepipeline\u002Fcovers\u002FArch_AWS-CodePipeline_64.png",{"key":213,"kind":192,"name":214,"icon":215,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":217,"kind":192,"name":218,"icon":219,"provider":195},"aws-step-functions","AWS Step Functions","\u002Fimages\u002Fprovider-services\u002Faws-step-functions\u002Fcovers\u002FArch_AWS-Step-Functions_64.png",{"key":221,"kind":222,"name":223,"icon":224,"provider":195},"amazon-s3-bucket","part","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",[226],{"key":227,"cards":228,"groups":238,"lines":239},"build-action-boundary",[229,232,235],{"key":230,"component":209,"label":231},"pipeline","Release stages and transitions",{"key":233,"component":201,"label":234},"build","Referenced project: build and test commands",{"key":236,"component":221,"label":237},"artifacts","Pipeline artifact store",[],[240,242,244,246],{"from":230,"to":233,"label":241},"Build invocation",{"from":236,"to":233,"label":243},"Input artifact",{"from":233,"to":236,"label":245},"Output artifact",{"from":233,"to":230,"label":247},"Build status",[249,276,294,319,339,342,356,359,368],{"kind":250,"title":251,"body":252,"diagram":227,"walkthrough":253},"explanation","Separate the release controller from the command executor","\u003Cp>\u003Cstrong>AWS CodePipeline\u003C\u002Fstrong> owns the release workflow: stages, actions, their ordering, and whether execution can progress. For an action whose provider is \u003Cstrong>AWS CodeBuild\u003C\u002Fstrong>, CodePipeline starts a build and tracks its outcome; CodeBuild supplies the execution environment and runs the project's build and test commands.\u003C\u002Fp>\u003Cp>This is a boundary between \u003Cstrong>orchestration\u003C\u002Fstrong> and \u003Cstrong>execution\u003C\u002Fstrong>, not between building and testing. Step Functions orchestrates state machines, not CodePipeline's stage model. CodeDeploy executes deployments. AWS Batch executes job definitions, and Lambda executes function code; neither substitutes for the executor of a referenced CodeBuild project.\u003C\u002Fp>\u003Cp>The diagram isolates one successful \u003Cstrong>CodeBuild action\u003C\u002Fstrong>: its control handoff and access to pipeline artifacts. Source acquisition, later actions, and other artifact-store access are outside this view.\u003C\u002Fp>",[254,257,262,268,273],{"text":255,"cards":256},"CodePipeline holds the release-stage model and determines when this action is eligible to run.",[230],{"text":258,"cards":259,"lines":260},"CodePipeline invokes the referenced CodeBuild project. CodeBuild starts the build environment and executes its configured commands.",[233],[261],{"from":230,"to":233},{"text":263,"cards":264,"lines":265},"CodeBuild downloads the input artifact from the pipeline's S3 artifact store. In this successful example, it also uploads the configured output artifact there.",[236],[266,267],{"from":236,"to":233},{"from":233,"to":236},{"text":269,"cards":270,"lines":271},"CodePipeline tracks CodeBuild's terminal build status and uses it to resolve the action's outcome.",[],[272],{"from":233,"to":230},{"text":274,"cards":275},"The orchestration decision, command execution, and artifact storage are separate responsibilities connected by explicit handoffs.",[],{"kind":277,"title":278,"exercise":279},"exercise","Restore the two sides of the handoff",{"type":280,"diagram":227,"question":281,"hidden":282,"tray":283},"palette","Restore the release-stage controller and the service that executes the referenced build project, using the artifact flows and status feedback as clues.",[230,233],[284,285,286,288,290,292],{"component":209},{"component":201},{"component":217,"reason":287},"Step Functions orchestrates state machines, not the CodePipeline release-stage model shown here.",{"component":205,"reason":289},"CodeDeploy executes deployments, not the release-stage model or the referenced CodeBuild project's commands.",{"component":191,"reason":291},"AWS Batch executes job definitions, not the referenced CodeBuild project.",{"component":213,"reason":293},"Lambda executes function code, not the referenced CodeBuild project.",{"kind":250,"title":295,"body":296,"table":297},"Build phases are not release-stage transitions","\u003Cp>A \u003Cstrong>buildspec phase\u003C\u002Fstrong> sequences work inside a CodeBuild execution. A \u003Cstrong>pipeline stage\u003C\u002Fstrong> groups release actions. Adding another buildspec command does not create a pipeline stage, approval action, or transition.\u003C\u002Fp>\u003Cp>Within a CodePipeline stage, actions with the same \u003Cstrong>runOrder\u003C\u002Fstrong> can run in parallel; actions with a higher runOrder wait for the lower-order actions to succeed. Progression to a later stage also depends on pipeline controls, including whether the inbound transition is enabled. A successful build is therefore an action result, not unconditional permission to release.\u003C\u002Fp>\u003Cp>A CodeBuild action can compile code, run tests, or do both; its placement and action configuration express its role in the release. A build started directly or by a CodeBuild webhook still runs commands, but does not automatically traverse CodePipeline stages.\u003C\u002Fp>",{"columns":298,"rows":302},[299,300,301],"Responsibility","CodeBuild","CodePipeline",[303,307,311,315],[304,305,306],"Work sequencing","Buildspec phases","Stages and action runOrder",[308,309,310],"Command execution","Project environment","Delegated to action provider",[312,313,314],"Progression control","Build lifecycle","Release-stage transitions",[316,317,318],"Direct invocation","Standalone build","Pipeline execution",{"kind":277,"title":320,"exercise":321},"Assign each sequencing responsibility",{"type":322,"question":323,"groups":324,"statements":325},"versus","Sort each responsibility by the service that owns it.",[202,210],[326,329,331,333,335,337],{"text":327,"group":328},"Execute the test commands configured for the referenced build project.",0,{"text":330,"group":328},"Sequence commands through buildspec phases.",{"text":332,"group":328},"Run a standalone build without traversing release stages.",{"text":334,"group":12},"Use action runOrder to sequence actions within a release stage.",{"text":336,"group":12},"Keep an execution from entering a stage whose inbound transition is disabled.",{"text":338,"group":12},"Invoke a CodeBuild project as one action in a release workflow.",{"kind":250,"title":340,"body":341},"Status, artifacts, and permissions cross different boundaries","\u003Cp>\u003Cstrong>Artifact production\u003C\u002Fstrong> and \u003Cstrong>action success\u003C\u002Fstrong> are not the same signal. A build can leave files behind and still fail. For the CodeBuild action, CodePipeline tracks the build outcome rather than treating an object in S3 as proof that all required commands succeeded. A failed action does not satisfy normal successful progression to later work.\u003C\u002Fp>\u003Cp>\u003Cstrong>Permissions\u003C\u002Fstrong> follow the same division of responsibility. The pipeline's configured roles must authorize invocation of the action provider. The CodeBuild service role authorizes operations performed by the build, such as reading inputs, writing outputs, or calling other AWS APIs. Granting the pipeline role an application permission does not grant it to the build commands.\u003C\u002Fp>\u003Cp>Neither successful artifact upload nor broader orchestration permissions replaces the \u003Cstrong>CodeBuild executor\u003C\u002Fstrong>. For this action, commands still run in the referenced project's environment, and CodePipeline still owns the decision about what becomes eligible next.\u003C\u002Fp>",{"kind":277,"title":343,"exercise":344},"Repair the execution boundary",{"type":345,"diagram":227,"requirement":346,"change":347,"tray":348,"hint":354,"explanation":355},"flaw","The referenced CodeBuild project's commands must run under its build service role, and its build outcome must determine the action result tracked by the release controller.",{"card":233,"component":209},[349,350,352],{"component":201},{"component":209,"reason":351},"The stage controller does not execute the referenced CodeBuild project's commands.",{"component":205,"reason":353},"Deployment execution does not replace execution of the referenced CodeBuild project.","Permissions do not turn the orchestration service into the executor of a CodeBuild project.","Restore CodeBuild at the execution boundary. Its service role authorizes the build's operations, and its terminal status informs the CodePipeline action result. CodePipeline remains the release controller.",{"kind":250,"title":357,"body":358},"Choose boundaries deliberately","\u003Cp>Keeping compilation and tests in one \u003Cstrong>CodeBuild execution\u003C\u002Fstrong> gives them one build lifecycle and one action outcome. Splitting work into separate pipeline actions gives CodePipeline separate scheduling and progression boundaries, but requires explicit handoffs. Adding buildspec phases alone does not provide those release-level boundaries.\u003C\u002Fp>\u003Cp>Keep the \u003Cstrong>control contract\u003C\u002Fstrong> separate from the \u003Cstrong>artifact contract\u003C\u002Fstrong>: CodePipeline invokes the build and tracks status; CodeBuild consumes input artifacts and publishes configured outputs to the S3 artifact store. AWS CodeArtifact is a package repository, not a replacement for CodePipeline's S3 artifact store.\u003C\u002Fp>\u003Cp>In the scoped diagram, status feedback returns to the controller while artifact bytes move between the build and the bucket. A successful action can make later work eligible, but only CodePipeline applies the remaining ordering and transition controls.\u003C\u002Fp>",{"kind":277,"title":360,"exercise":361},"Reconstruct the complete handoff",{"type":233,"diagram":227,"question":362,"decoys":363},"Reconstruct the scoped CodeBuild action handoff, placing the components and labeling their control feedback and build artifact access, without adding source or deployment activity.",[364,366],{"component":205,"reason":365},"CodeDeploy executes deployments; it cannot execute the referenced CodeBuild project in place of CodeBuild.",{"component":197,"reason":367},"CodeArtifact stores packages; it cannot replace the S3 bucket used as CodePipeline's artifact store.",{"kind":250,"title":369,"body":370,"takeaways":371},"What to remember","\u003Cp>\u003Cstrong>CodeBuild executes the work; CodePipeline orchestrates the release and decides when its actions and stages may progress.\u003C\u002Fstrong>\u003C\u002Fp>",[372,375,378],{"title":373,"text":374},"Different sequencing layers","Buildspec phases sequence work inside CodeBuild. Pipeline stages and action runOrder sequence release work outside that build.",{"title":376,"text":377},"Status is not an artifact","An uploaded output does not prove action success. CodePipeline tracks the build outcome and applies the remaining progression controls.",{"title":379,"text":380},"Permissions follow execution","Pipeline roles authorize orchestration operations; the CodeBuild service role authorizes build operations. A standalone build does not automatically traverse release stages.","2026-10-29T23:39:10.837Z",{"pageSlug":44,"code":43,"certification":42,"certificationSlug":44},{"slug":384,"title":385},"aws-secrets-manager-vs-aws-systems-manager-parameter-store-dop-c02","AWS Secrets Manager vs AWS Systems Manager Parameter Store",1796130156250]