AWS OpsWorks
Cloud service · AWS · Updated

AWS OpsWorks

In short

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

Cloud Services Hub →

What is AWS OpsWorks

1 min read

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. Answer them with every option in the exam simulator.

DOP-C02

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?

Show answerCORRECT 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.

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:

Start a free practice exam

Learn AWS OpsWorks in lessons

2 short lessons on AWS OpsWorks in 1 certification course.

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.