OpenStack OpenStack MCQ 4 — Questions and Answers
Question 1: What is the function of a Glance image 'property' in OpenStack?
- Defines network settings for the image
- Stores arbitrary key-value metadata attached to an image (Correct answer)
- Sets the image's boot order
- Specifies the hypervisor scheduling weight
Correct answer: Stores arbitrary key-value metadata attached to an image
Glance image properties are custom key-value metadata fields that can influence Nova's behavior or store descriptive info.
Question 2: Which policy controls access to OpenStack APIs and is defined in a JSON or YAML file?
- ACL policy
- RBAC policy.json (Correct answer)
- IAM policy
- SELinux policy
Correct answer: RBAC policy.json
OpenStack uses a policy.json (or policy.yaml) file implementing RBAC to define which roles can call which API actions.
Question 3: In OpenStack Neutron, what is a 'security group'?
- A grouping of tenants with shared billing
- A set of IP filter rules controlling inbound and outbound traffic for instances (Correct answer)
- A VLAN tag assignment group
- A collection of routers sharing a common ACL
Correct answer: A set of IP filter rules controlling inbound and outbound traffic for instances
Security groups are stateful firewall rules that control network traffic allowed to and from virtual machine instances.
Question 4: What does 'live migration' mean in OpenStack Nova?
- Moving an instance's volume to a different storage backend
- Moving a running instance from one compute host to another without downtime (Correct answer)
- Upgrading the hypervisor while instances run
- Cloning a running instance to a new host
Correct answer: Moving a running instance from one compute host to another without downtime
Live migration transfers a running VM's memory and state to another host with minimal or no interruption to the workload.
Question 5: Which OpenStack service is used for secret management, such as storing encryption keys and certificates?
- Keystone
- Barbican (Correct answer)
- Octavia
- Mistral
Correct answer: Barbican
Barbican is OpenStack's Key Manager service that securely stores, provisions, and manages secrets like keys and certificates.
Question 6: What is the role of 'oslo.messaging' in OpenStack?
- Provides email notification for alerts
- Provides an RPC and messaging abstraction layer used across OpenStack services (Correct answer)
- Manages Keystone token messaging queues only
- Handles HTTP REST API routing
Correct answer: Provides an RPC and messaging abstraction layer used across OpenStack services
oslo.messaging is a shared library providing a common RPC and notification messaging API over backends like RabbitMQ or Kafka.
Question 7: Which OpenStack Load Balancer as a Service (LBaaS) project replaced the older Neutron LBaaS?
- Designate
- Octavia (Correct answer)
- Manila
- Aodh
Correct answer: Octavia
Octavia is the standalone load balancing service that replaced the deprecated Neutron LBaaS v2 in OpenStack.
What is the function of a Glance image 'property' in OpenStack?