Question 868 of 1,024
Cloud Technology and ServicesmediumMultiple ChoiceObjective-mapped

CLF-C02 Cloud Technology and Services Practice Question

This CLF-C02 practice question tests your understanding of cloud technology and services. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company's data analytics team needs to process log files immediately after they are uploaded to an Amazon S3 bucket. The processing logic is implemented as a custom Python script that runs for about 10 seconds per file. The team wants a fully managed solution that does not require provisioning or managing servers, automatically scales with the number of incoming log files, and executes the script only when new files are uploaded. Which AWS service should the team use to meet these requirements?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "immediately / without restart"

    Why it matters: Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.

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

AWS Lambda with an S3 bucket notification trigger

AWS Lambda is the correct choice because it is a fully managed, serverless compute service that can be triggered directly by S3 bucket notifications (e.g., s3:ObjectCreated:* events). The custom Python script runs within the Lambda function, which automatically scales to handle concurrent invocations for each new log file, and the 10-second execution time is well within the 15-minute maximum duration for Lambda functions. This meets all requirements without provisioning or managing servers.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Amazon EC2 with an Auto Scaling group configured to launch instances based on S3 events

    Why it's wrong here

    This option requires provisioning and managing EC2 instances, even with Auto Scaling. It introduces unnecessary overhead and complexity for a short-running, event-driven task. AWS Lambda eliminates this operational burden.

    When this WOULD be correct

    A company needs to process log files from S3 using a custom Python script that runs for 30 minutes per file and requires access to GPU resources. The processing must be fault-tolerant and handle occasional spikes in file uploads. In this case, EC2 with Auto Scaling triggered by S3 events (via SNS or SQS) would be appropriate because Lambda has a 15-minute timeout and limited runtime environments.

  • AWS Lambda with an S3 bucket notification trigger

    Why this is correct

    Correct. AWS Lambda is a serverless compute service that runs code in response to events, such as S3 object creation. It automatically scales, requires no server management, and executes the function only when new files are uploaded, making it the best fit for this use case.

    Clue confirmation

    The clue word "immediately / without restart" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • AWS Elastic Beanstalk configured with a worker environment

    Why it's wrong here

    Elastic Beanstalk simplifies deployment but still runs on managed EC2 instances. It is better suited for long-running or web applications, not for short, event-driven tasks. Using it for log processing would introduce more complexity and cost than necessary.

    When this WOULD be correct

    A company needs to run a long-running background job (e.g., processing large files or complex video transcoding) that takes more than 15 minutes per task, and they want automatic scaling and decoupled processing via an SQS queue. Elastic Beanstalk worker environments are ideal for such tasks.

  • Amazon EMR with a scheduled step to process new files

    Why it's wrong here

    Amazon EMR is designed for big data processing using frameworks like Apache Spark and Hadoop. It is overkill for a simple Python script that runs in 10 seconds and would require manual scheduling or custom logic to trigger based on S3 events, adding unnecessary cost and complexity.

    When this WOULD be correct

    A question requiring processing of terabytes of log files using distributed frameworks like Apache Spark or Hive, where the processing involves complex transformations, machine learning, or large-scale data analytics that cannot be handled by a single Lambda function due to time or memory limits.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.

AWS Lambda with an S3 bucket notification triggerCorrect answer

Why this is correct

Correct. AWS Lambda is a serverless compute service that runs code in response to events, such as S3 object creation. It automatically scales, requires no server management, and executes the function only when new files are uploaded, making it the best fit for this use case.

Amazon EC2 with an Auto Scaling group configured to launch instances based on S3 eventsWrong answer — click to see why

Why this is wrong here

Amazon EC2 with Auto Scaling requires provisioning and managing servers, which contradicts the requirement for a fully managed solution that does not require provisioning or managing servers. Additionally, it does not natively trigger based on S3 events without additional setup.

★ When this WOULD be the correct answer

A company needs to process log files from S3 using a custom Python script that runs for 30 minutes per file and requires access to GPU resources. The processing must be fault-tolerant and handle occasional spikes in file uploads. In this case, EC2 with Auto Scaling triggered by S3 events (via SNS or SQS) would be appropriate because Lambda has a 15-minute timeout and limited runtime environments.

Why candidates choose this

Candidates may think that EC2 with Auto Scaling can be triggered by S3 events and automatically scale, but they overlook the requirement for a fully managed serverless solution and the complexity of managing EC2 instances.

AWS Elastic Beanstalk configured with a worker environmentWrong answer — click to see why

Why this is wrong here

AWS Elastic Beanstalk with a worker environment requires provisioning and managing servers (EC2 instances), even though it automates some deployment and scaling tasks. It is not fully serverless and does not execute the script only when new files are uploaded without additional configuration like SQS polling.

★ When this WOULD be the correct answer

A company needs to run a long-running background job (e.g., processing large files or complex video transcoding) that takes more than 15 minutes per task, and they want automatic scaling and decoupled processing via an SQS queue. Elastic Beanstalk worker environments are ideal for such tasks.

Why candidates choose this

Candidates may think Elastic Beanstalk is fully managed and serverless, but it still runs on EC2 instances. They might also confuse worker environments with Lambda's event-driven model, overlooking the requirement for no server provisioning.

Amazon EMR with a scheduled step to process new filesWrong answer — click to see why

Why this is wrong here

Amazon EMR is designed for big data processing using frameworks like Hadoop and Spark, not for lightweight, event-driven Python scripts that run for seconds. It requires provisioning clusters and is overkill for simple log processing triggered by S3 uploads.

★ When this WOULD be the correct answer

A question requiring processing of terabytes of log files using distributed frameworks like Apache Spark or Hive, where the processing involves complex transformations, machine learning, or large-scale data analytics that cannot be handled by a single Lambda function due to time or memory limits.

Why candidates choose this

Candidates may associate EMR with log processing and big data, overlooking that the requirements specify a fully managed, serverless solution with automatic scaling for short-running scripts triggered by S3 events.

Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may confuse 'fully managed' with services like EC2 Auto Scaling or Elastic Beanstalk, which still require server management, or think EMR is suitable for small, event-driven tasks, when in fact Lambda is the only serverless option that directly integrates with S3 events for immediate, per-file processing.

Detailed technical explanation

How to think about this question

Under the hood, S3 bucket notifications send an event payload to Lambda via the AWS internal event bus, and Lambda automatically creates a new execution environment (sandbox) for each invocation, allowing massive concurrency. A subtle behavior is that if the Python script takes longer than 15 minutes, Lambda would time out, but at 10 seconds per file this is not an issue. In a real-world scenario, if log files arrive in bursts, Lambda's concurrency limit (default 1,000 per region) could be reached, requiring a request for a quota increase.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

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

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related CLF-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CLF-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CLF-C02 question test?

Cloud Technology and Services — This question tests Cloud Technology and Services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: AWS Lambda with an S3 bucket notification trigger — AWS Lambda is the correct choice because it is a fully managed, serverless compute service that can be triggered directly by S3 bucket notifications (e.g., s3:ObjectCreated:* events). The custom Python script runs within the Lambda function, which automatically scales to handle concurrent invocations for each new log file, and the 10-second execution time is well within the 15-minute maximum duration for Lambda functions. This meets all requirements without provisioning or managing servers.

What should I do if I get this CLF-C02 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "immediately / without restart". Time or reboot constraint — the correct answer must take effect right away without requiring a reboot or reload.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More CLF-C02 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CLF-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 CLF-C02 exam.