OpenStack Heat & Orchestration Flashcards
7 cards from real COA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 OpenStack Heat & Orchestration flashcards as text
What is the purpose of the 'OS::Heat::AutoScalingGroup' resource?
Answer: To create a group of identical resources that can scale in or out
OS::Heat::AutoScalingGroup manages a collection of identical resources (typically servers) and works with scaling policies to add or remove members dynamically.
What does 'stack rollback' do in OpenStack Heat?
Answer: Automatically deletes a stack if its creation fails, restoring the prior state
When rollback is enabled and a stack creation fails, Heat automatically deletes the partially created stack to avoid leaving orphaned resources.
Which command updates an existing Heat stack with a modified template?
Answer: openstack stack update
The 'openstack stack update' command applies changes from an updated template or environment to an existing stack, creating, modifying, or deleting resources as needed.
What is the 'OS::Heat::WaitCondition' resource used for in Heat templates?
Answer: To block stack completion until an application inside an instance signals readiness
OS::Heat::WaitCondition allows Heat to pause and wait for a signal (via a callback URL) from an instance, typically used to confirm that application bootstrapping has completed.
Which HOT intrinsic function is used to substitute strings within a template, such as inserting a parameter value into a script?
Answer: str_replace
The 'str_replace' function performs string substitution in a template, allowing variables to be injected into user-data scripts or other string values.
What does the 'openstack stack show' command display for a given stack?
Answer: Detailed information including status, creation time, parameters, and outputs
The 'openstack stack show' command provides comprehensive details about a specific stack, including its status, parameters, outputs, and timestamps.
What Heat feature allows operators to define rules that prevent specific stack update operations, such as replacing or deleting critical resources?
Answer: Stack policies
Stack policies are JSON documents associated with a stack that define rules controlling which resources can be updated or replaced, protecting critical resources from accidental modification.