# AWS OpsWorks

Cloud service · AWS. Updated 2026-10-29. Page: https://blowstack.com/tools/cloud-services-hub/aws-opsworks

> AWS OpsWorks is shut down. Support ended on May 1, 2024, and the service must not be used for new workloads.

Practice exams covering AWS OpsWorks: [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional).

## What is AWS OpsWorks

AWS OpsWorks is shut down. Support ended on May 1, 2024, and the service must not be used for new workloads.

## AWS OpsWorks exam questions

Real practice exam questions on AWS OpsWorks, with the correct answer and its explanation.

### Question 1 (DOP-C02)

**Question:**

In 2023, a company operates an application on an existing AWS OpsWorks Stacks stack that uses Chef 12. During a downstream service incident, a DevOps engineer must change the application's CONNECTION_TIMEOUT environment variable on all online instances in the application layer.

The application's custom deployment recipe reads environment variables from the OpsWorks application configuration, renders a service configuration file, and restarts the service if the file changes. This recipe is assigned only to the layer's Deploy lifecycle event. The Setup and Configure recipes do not manage this file. All instances already have the approved cookbooks, and the application source is pinned to an immutable Git commit that must remain unchanged.

The engineer updates the environment variable in the OpsWorks application settings. Which additional action will apply the change to the running application without replacing instances or introducing a new application version?

**Correct answer:** Create an OpsWorks deployment with the deploy command, specify the application's AppId, and target all online instances in the application layer while retaining the pinned source revision.

**Explanation:** Updating the OpsWorks application settings does not by itself reconfigure running applications. A deploy command for the application invokes the Deploy lifecycle recipes on the targeted instances. The custom recipe then consumes the updated environment variable, renders the configuration, and restarts the service as necessary. Keeping the immutable source revision unchanged avoids introducing a new application version.

## Practice AWS OpsWorks in a full exam

Questions on AWS OpsWorks in each practice exam, with every answer option and an explanation for each:

- [DOP-C02](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional): 11 questions

## Learn AWS OpsWorks in lessons

2 short lessons on AWS OpsWorks in 1 certification course.

- DOP-C02: AWS OpsWorks: legacy Chef lifecycle configuration (Premium), https://app.blowstack.com/lessons/aws-opsworks-legacy-chef-lifecycle-configuration-dop-c02
- DOP-C02: AWS OpsWorks vs AWS Systems Manager: configuration management models (Premium), https://app.blowstack.com/lessons/aws-opsworks-vs-aws-systems-manager-configuration-management-models-dop-c02
