Automation & Scripting 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 Automation & Scripting flashcards as text
Which OpenStack CLI command lists all available Heat template versions?
Answer: openstack orchestration template version list
The 'openstack orchestration template version list' command displays all HOT and CFN template versions supported by the Heat service.
In a Heat Orchestration Template (HOT), which section defines reusable parameter groups for the UI?
Answer: parameter_groups
The 'parameter_groups' section in HOT organizes parameters into logical groups, improving how they are presented in dashboard UIs.
When using Ansible with OpenStack, which module creates a Cinder volume?
Answer: os_volume
The 'os_volume' module in the openstack.cloud Ansible collection is used to create and manage Cinder block storage volumes.
Which Python library is the standard SDK for interacting with OpenStack APIs programmatically?
Answer: openstacksdk
openstacksdk is the official unified Python library for OpenStack, abstracting individual service clients into a single interface.
In a HOT template, which intrinsic function retrieves the value of a resource attribute after it is created?
Answer: get_attr
'get_attr' retrieves an attribute value from a resource that has already been created within the same stack.
Which command validates a Heat template file named stack.yaml without deploying it?
Answer: openstack orchestration template validate -t stack.yaml
'openstack orchestration template validate' checks the template syntax and structure without creating any actual stack resources.
Which Terraform provider is used to manage OpenStack resources in a Terraform configuration?
Answer: terraform-provider-openstack
The 'terraform-provider-openstack' is the official Terraform provider for managing OpenStack infrastructure resources.