OpenStack OpenStack MCQ 5 — Questions and Answers
Question 1: What is the purpose of the 'placement' service introduced in OpenStack Queens?
- Manages floating IP placement on routers
- Tracks resource inventories and allocations for scheduling decisions across providers (Correct answer)
- Places images in Glance regions
- Handles block device placement in Cinder
Correct answer: Tracks resource inventories and allocations for scheduling decisions across providers
The Placement API tracks resource provider inventories (vCPUs, RAM, disk, custom resources) to guide Nova's scheduling.
Question 2: In OpenStack, what does a 'cell' architecture allow Nova to do?
- Partition compute nodes into groups with separate message queues and databases to scale horizontally (Correct answer)
- Isolate tenant networks into separate broadcast domains
- Shard Keystone tokens across multiple regions
- Split Cinder volumes across multiple storage backends
Correct answer: Partition compute nodes into groups with separate message queues and databases to scale horizontally
Nova cells partition compute resources into independent groups with their own DB and MQ, enabling large-scale horizontal scaling.
Question 3: Which OpenStack component provides shared file system storage (NFS, CIFS) as a service?
- Cinder
- Swift
- Manila (Correct answer)
- Glance
Correct answer: Manila
Manila provides Shared File System as a Service, offering NFS and CIFS share management for instances.
Question 4: What is 'affinity' in the context of Nova server groups?
- A rule that forces specified instances to run on different compute hosts
- A rule that forces specified instances to run on the same compute host (Correct answer)
- A network policy tying instances to the same subnet
- A storage policy co-locating volumes with their instances
Correct answer: A rule that forces specified instances to run on the same compute host
The 'affinity' policy in Nova server groups ensures all members are scheduled to the same physical compute host.
Question 5: Which OpenStack service provides workflow and task orchestration for multi-step cloud processes?
- Heat
- Mistral (Correct answer)
- Zaqar
- Senlin
Correct answer: Mistral
Mistral provides a workflow service for defining and executing multi-step processes as directed acyclic graphs (DAGs).
Question 6: What is the purpose of a 'trunk port' in OpenStack Neutron?
- A high-bandwidth uplink port connecting to the physical switch
- A single port that carries traffic for multiple subports across different VLANs (Correct answer)
- A bonded port combining two physical NICs for redundancy
- A port reserved for router gateway traffic only
Correct answer: A single port that carries traffic for multiple subports across different VLANs
Neutron trunk ports allow a single virtual port to carry traffic for multiple VLAN-tagged subports, useful for NFV scenarios.
Question 7: In OpenStack, what does the 'aggregates' feature in Nova allow administrators to do?
- Group volumes by storage tier for Cinder scheduling
- Group compute hosts by metadata to influence scheduling and expose availability zones (Correct answer)
- Aggregate bandwidth across multiple network interfaces
- Combine Swift storage nodes into a single object store ring
Correct answer: Group compute hosts by metadata to influence scheduling and expose availability zones
Host aggregates let admins group compute nodes with shared metadata (e.g., GPU=true) to steer instance scheduling.
What is the purpose of the 'placement' service introduced in OpenStack Queens?