Courseiva
Continuous Improvement for Existing SolutionsmediumMultiple ChoiceObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company is using AWS CodePipeline with an S3 source action. After a successful deployment, the latest commit ID is stored as an environment variable in the CodeBuild project. The team notices that subsequent pipeline executions are not triggering when new commits are pushed to the S3 bucket. What is the most likely cause?

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

The S3 bucket does not have an event notification configured to trigger the pipeline.

With an S3 source action in CodePipeline, you must configure an S3 event notification to trigger the pipeline when a new commit (object) is pushed. Without this notification, CodePipeline will not automatically start a new execution on changes. Option A is incorrect because CodePipeline does not poll S3; it relies on event notifications. Option B is incorrect because CodePipeline reads objects using its service role, not via bucket policy. Option D is incorrect because webhooks are used for external sources like GitHub, not for S3.

Answer analysis

Option-by-option breakdown

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

  • The CodePipeline service role lacks permissions to poll the S3 bucket.

    Why it's wrong here

    Polling is not used; the pipeline is triggered by events.

  • The S3 bucket policy does not allow CodePipeline to read objects.

    Why it's wrong here

    The bucket policy controls access, not event triggering.

  • The S3 bucket does not have an event notification configured to trigger the pipeline.

    Why this is correct

    Without event notification, CodePipeline won't automatically start on new commits.

  • The CodePipeline webhook is misconfigured.

    Why it's wrong here

    S3 source actions don't use webhooks; they rely on event notifications.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.