COA Networking and Storage Configuration 1 — Questions and Answers
Question 1: Which OpenStack component provides networking services?
- Nova
- Cinder
- Neutron (Correct answer)
- Keystone
Correct answer: Neutron
Neutron is the dedicated networking service in OpenStack, providing network connectivity for virtual machines. It enables the creation and management of virtual networks, subnets, routers, and firewalls, allowing instances to communicate with each other and with external networks.
Question 2: What is the purpose of a floating IP in OpenStack?
- Used only for DNS
- Provides internal routing
- Enables external network access (Correct answer)
- Configures VLAN tagging
Correct answer: Enables external network access
A floating IP in OpenStack is a public IP address that can be dynamically associated with a virtual machine instance. It allows external traffic from the internet to reach the instance and enables the instance to initiate outbound connections to external networks, providing public accessibility.
Question 3: What is the role of Cinder in OpenStack?
- Hosts authentication tokens
- Provides object storage
- Manages block storage volumes (Correct answer)
- Launches VM instances
Correct answer: Manages block storage volumes
Cinder is the block storage service in OpenStack, providing persistent storage volumes that can be attached to instances. These volumes function like traditional hard drives, offering durable storage for data that needs to persist independently of the instance's lifecycle.
Question 4: Which storage service is used for object storage in OpenStack?
- Nova
- Cinder
- Swift (Correct answer)
- Heat
Correct answer: Swift
Swift is OpenStack's highly scalable, fault-tolerant object storage service, designed for storing large amounts of unstructured data. It provides a RESTful API for storing and retrieving objects, making it suitable for backups, archives, and static web content, distinct from block or file storage.
Question 5: Which type of network in OpenStack allows VMs to communicate with external networks?
- Tenant network
- Provider network (Correct answer)
- Storage network
- Service network
Correct answer: Provider network
A provider network in OpenStack is a physical network that is directly mapped into the OpenStack environment, often representing an existing data center network. It allows virtual machines to have direct connectivity to external networks, enabling communication with resources outside the OpenStack cloud.
Question 6: How can persistent storage be attached to an OpenStack instance?
- Attach Glance image
- Assign floating IP
- Attach Cinder volume (Correct answer)
- Use Nova console
Correct answer: Attach Cinder volume
Persistent storage in OpenStack is primarily provided by Cinder volumes. These block storage volumes can be created independently and then attached to a running instance, ensuring that data persists even if the instance is terminated or re-provisioned.
Which OpenStack component provides networking services?