COA Implementation & Configuration 2 — Questions and Answers
Question 1: Which command creates a new OpenStack project (tenant) using the CLI?
- openstack project create <name> (Correct answer)
- openstack tenant add <name>
- keystone project-create <name>
- openstack domain create <name>
Correct answer: openstack project create <name>
The 'openstack project create <name>' command is the unified CLI method to create a new project in Keystone.
Question 2: In Neutron, what is the purpose of a 'router gateway' configuration?
- It connects a Neutron router to an external provider network for outbound traffic (Correct answer)
- It defines static routes within a private subnet
- It enables VLAN tagging on tenant networks
- It binds a floating IP directly to an instance port
Correct answer: It connects a Neutron router to an external provider network for outbound traffic
Setting a router gateway connects the Neutron router to an external network, enabling SNAT and floating IP association for outbound connectivity.
Question 3: Which Nova scheduler filter ensures an instance is placed on a host with sufficient free RAM?
- RamFilter (Correct answer)
- CoreFilter
- DiskFilter
- AvailabilityZoneFilter
Correct answer: RamFilter
RamFilter rejects hosts that do not have enough available RAM to satisfy the instance flavor's memory requirement.
Question 4: What does the 'openstack server resize' command do?
- Changes an instance's flavor to alter its vCPU, RAM, and disk allocation (Correct answer)
- Live-migrates the instance to a different compute host
- Resizes the root volume of the instance without changing flavor
- Scales the instance horizontally by adding more instances
Correct answer: Changes an instance's flavor to alter its vCPU, RAM, and disk allocation
Server resize applies a new flavor to an existing instance, which must then be confirmed or reverted.
Question 5: In Cinder, which command attaches a volume to a running Nova instance?
- openstack server add volume <server> <volume> (Correct answer)
- openstack volume attach <volume> <server>
- cinder attach --instance <server> <volume>
- nova volume-attach <server> <volume> auto
Correct answer: openstack server add volume <server> <volume>
The 'openstack server add volume' command attaches a Cinder volume to a running instance using the unified CLI.
Question 6: Which Heat resource type defines an auto-scaling group in an OpenStack Orchestration template?
- OS::Heat::AutoScalingGroup (Correct answer)
- OS::Nova::ScalingGroup
- OS::Heat::ResourceGroup
- OS::Ceilometer::ScalingPolicy
Correct answer: OS::Heat::AutoScalingGroup
OS::Heat::AutoScalingGroup manages a collection of identical resources that can scale in or out based on defined policies.
Question 7: What is the role of the 'ml2' plugin in OpenStack Networking?
- Modular Layer 2 plugin that supports multiple network types and mechanism drivers simultaneously (Correct answer)
- A monolithic plugin that provides only VXLAN overlay networking
- A Nova plugin that manages SR-IOV passthrough for high-performance NICs
- A Neutron plugin exclusively used for VLAN-based provider networks
Correct answer: Modular Layer 2 plugin that supports multiple network types and mechanism drivers simultaneously
The ML2 (Modular Layer 2) plugin provides a framework that allows Neutron to use multiple type drivers and mechanism drivers concurrently.
Which command creates a new OpenStack project (tenant) using the CLI?