Question 754 of 1,546
Deployment, Provisioning, and AutomationhardMultiple SelectObjective-mapped

SOA-C02 AWS OpsWorks Stacks Practice Question

This SOA-C02 practice question tests your understanding of deployment, provisioning, and automation. 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. A key principle to apply: aWS OpsWorks Stacks. 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 uses AWS OpsWorks to manage a stack of application servers. The administrator needs to automate the deployment of a new application version. Which of the following are valid methods to trigger a deployment in OpsWorks? (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

Use AWS CodePipeline to directly deploy to OpsWorks.

Options B, D, and E are valid methods to trigger a deployment in AWS OpsWorks Stacks. B uses AWS CodePipeline, which has a native deploy action for OpsWorks, making it a direct trigger. D uses the OpsWorks console to manually start a deployment. E uses the AWS CLI command 'create-deployment' to programmatically trigger a deployment. Option A is incorrect because Amazon SNS does not have a direct integration with OpsWorks to trigger deployments; custom middleware would be required. Option C is incorrect because OpsWorks lifecycle events (such as 'Deploy') are not a mechanism to trigger a deployment; they are automatically executed during a deployment to run Chef recipes. The question asks for methods to trigger a deployment, and lifecycle events are part of the deployment process itself.

Key principle: AWS OpsWorks Stacks

Answer analysis

Option-by-option breakdown

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

  • Configure an Amazon SNS topic to trigger the deployment.

    Why it's wrong here

    Incorrect because Amazon SNS does not have a direct integration with OpsWorks to trigger deployments; custom middleware would be needed.

  • Use AWS CodePipeline to directly deploy to OpsWorks.

    Why this is correct

    Correct. AWS CodePipeline has a built-in deploy action for OpsWorks, allowing direct deployment triggers.

    Related concept

    AWS OpsWorks Stacks

  • Use OpsWorks lifecycle events like 'Deploy' to run recipes.

    Why it's wrong here

    Incorrect. OpsWorks lifecycle events (e.g., 'Deploy') run recipes during a deployment, but they are not a method to trigger a deployment.

  • Use the OpsWorks console to manually start a deployment.

    Why this is correct

    Correct. The OpsWorks console provides a manual option to start a deployment.

    Related concept

    AWS OpsWorks Stacks

  • Use the AWS CLI to run the create-deployment command.

    Why this is correct

    Correct. The AWS CLI command 'create-deployment' can programmatically start a deployment in OpsWorks.

    Related concept

    AWS OpsWorks Stacks

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap is that candidates may confuse OpsWorks lifecycle events (which run during a deployment) with methods to trigger a deployment. Additionally, many think CodePipeline requires custom actions to deploy to OpsWorks, but it has a built-in deploy action.

Detailed technical explanation

How to think about this question

OpsWorks uses Chef Solo or Chef Client to run recipes on EC2 instances. The 'create-deployment' CLI command (used in Option E) triggers a deployment by specifying the stack, app, and command (e.g., 'deploy'), which runs the associated lifecycle event recipes. The OpsWorks console (Option D) provides a manual 'Deploy App' button that internally calls the same API as the CLI, making both valid methods.

KKey Concepts to Remember

  • AWS OpsWorks Stacks
  • AWS CodePipeline
  • AWS CLI create-deployment

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

AWS OpsWorks Stacks

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. AWS OpsWorks Stacks Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review aWS OpsWorks Stacks, then practise related SOA-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related SOA-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 SOA-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 SOA-C02 question test?

Deployment, Provisioning, and Automation — This question tests Deployment, Provisioning, and Automation — AWS OpsWorks Stacks.

What is the correct answer to this question?

The correct answer is: Use AWS CodePipeline to directly deploy to OpsWorks. — Options B, D, and E are valid methods to trigger a deployment in AWS OpsWorks Stacks. B uses AWS CodePipeline, which has a native deploy action for OpsWorks, making it a direct trigger. D uses the OpsWorks console to manually start a deployment. E uses the AWS CLI command 'create-deployment' to programmatically trigger a deployment. Option A is incorrect because Amazon SNS does not have a direct integration with OpsWorks to trigger deployments; custom middleware would be required. Option C is incorrect because OpsWorks lifecycle events (such as 'Deploy') are not a mechanism to trigger a deployment; they are automatically executed during a deployment to run Chef recipes. The question asks for methods to trigger a deployment, and lifecycle events are part of the deployment process itself.

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

Review aWS OpsWorks Stacks, then practise related SOA-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

AWS OpsWorks Stacks

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 SOA-C02 practice questions

Last reviewed: Jul 4, 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 SOA-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 SOA-C02 exam.