
































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A set of multiple-choice questions and answers designed to test knowledge of openstack, a cloud computing platform. The questions cover key openstack services such as keystone, nova, neutron, glance, cinder, and swift, as well as concepts like flavors, tenant networks, floating ips, and availability zones. This material is useful for individuals preparing for the html5l1 250 html5 professional level 1 certification or those seeking to deepen their understanding of openstack architecture and components. The questions are designed to assess understanding of openstack services and their functions, network configurations, storage solutions, and security measures.
Typology: Exams
1 / 72
This page cannot be seen from the preview
Don't miss anything!

































































Question 1. What is the primary role of the Keystone service in OpenStack? A) Managing network connectivity B) Providing identity, authentication, and authorization services C) Managing virtual machine images D) Orchestrating cloud resources Answer: B Explanation: Keystone is the identity service in OpenStack, responsible for authentication, authorization, and service catalog management. Question 2. Which component of OpenStack is responsible for managing instances (virtual servers)? A) Neutron B) Nova C) Glance D) Cinder Answer: B Explanation: Nova is the compute service responsible for launching and managing instances in OpenStack. Question 3. In OpenStack, what is a "flavor"? A) A network configuration B) A storage volume type C) A predefined hardware configuration for instances D) A user permission set Answer: C Explanation: Flavors define the size and hardware resources (CPU, RAM, disk) allocated to instances. Question 4. Which OpenStack component is used to store and manage VM images? A) Cinder B) Glance
C) Keystone D) Neutron Answer: B Explanation: Glance manages the images used to create instances, including uploading, storing, and retrieving images. Question 5. What is the purpose of the Neutron service in OpenStack? A) Managing identity and access B) Managing network connectivity and virtual networks C) Managing block storage volumes D) Managing VM images Answer: B Explanation: Neutron provides networking-as-a-service, enabling network creation, configuration, and management. Question 6. Which protocol does the RabbitMQ message broker typically use in OpenStack? A) HTTP B) AMQP C) SMTP D) FTP Answer: B Explanation: RabbitMQ uses the Advanced Message Queuing Protocol (AMQP) for message passing between OpenStack services. Question 7. In Neutron, what is a tenant network? A) A network shared across all tenants B) A private network isolated for a specific tenant C) The external network for internet access D) A physical network interface
Question 11. What does the OpenStack Heat service do? A) Manages virtual machine images B) Provides orchestration for cloud applications and resources C) Manages user authentication D) Handles network traffic routing Answer: B Explanation: Heat orchestrates cloud resources using templates, enabling automated deployment. Question 12. Which protocol is used by Ceilometer (Telemetry) to collect metrics? A) SNMP B) REST API C) SMTP D) FTP Answer: B Explanation: Ceilometer uses REST APIs to collect and expose telemetry data from OpenStack services. Question 13. What is the purpose of a "host aggregate" in OpenStack? A) To group compute hosts for scheduling policies B) To define network segments C) To manage user permissions D) To store images Answer: A Explanation: Host aggregates are used to group compute hosts for scheduling and resource management. Question 14. Which component of OpenStack handles user authentication tokens? A) Nova B) Keystone
C) Neutron D) Glance Answer: B Explanation: Keystone issues and validates authentication tokens for users and services. Question 15. What is the main difference between a provider network and a tenant network in Neutron? A) Provider networks are for internal use only B) Tenant networks are shared across tenants C) Provider networks connect to external physical networks; tenant networks are isolated D) There is no difference Answer: C Explanation: Provider networks connect to physical or external networks, while tenant networks are isolated for tenants. Question 16. Which command-line client is used to manage OpenStack resources? A) openstack CLI B) ubuntu CLI C) cloudctl D) osctl Answer: A Explanation: The 'openstack' CLI is the primary tool for managing OpenStack resources. Question 17. How does OpenStack handle persistent state data? A) Using in-memory data stores B) Through SQL databases like MariaDB or MySQL C) Via external file storage only D) Using Redis caching Answer: B
B) A grouping of objects/files C) A network segment D) A user group Answer: B Explanation: Containers organize objects in Swift, similar to directories in a filesystem. Question 22. How are OpenStack's resource quotas typically managed? A) Manually on each host B) Via projects and user limits in Keystone C) Using external scripts D) Through Neutron configurations only Answer: B Explanation: Quotas are set per project and user via Keystone to control resource usage. Question 23. What does the "heat stack" represent? A) A network configuration B) A collection of resources orchestrated together C) A user group D) A storage volume snapshot Answer: B Explanation: A stack in Heat is a collection of resources defined and managed as a unit. Question 24. Which service is used for load balancing in OpenStack? A) Neutron B) Octavia C) Cinder D) Keystone Answer: B
Explanation: Octavia provides load balancing as a service in OpenStack. Question 25. What does the term "availability zone" refer to in OpenStack? A) Physical location of data centers B) Logical grouping of compute hosts for high availability C) A network segment D) A storage device Answer: B Explanation: Availability zones are logical groupings of resources to facilitate high availability and fault isolation. Question 26. How does OpenStack ensure secure SSH access to instances? A) Using key pairs B) Using passwords only C) Through network ACLs D) Via floating IPs Answer: A Explanation: Key pairs are used to securely SSH into instances without passwords. Question 27. Which image format is commonly supported by Glance? A) QCOW B) RAW C) VHD D) All of the above Answer: D Explanation: Glance supports multiple image formats, including QCOW2, RAW, and VHD. Question 28. What is the main function of the Nova compute service? A) Managing user authentication
D) Storage management Answer: B Explanation: OVS provides virtual switching capabilities for network traffic within tenant networks. Question 32. Which OpenStack service is used for image management and cataloging? A) Glance B) Keystone C) Nova D) Neutron Answer: A Explanation: Glance manages VM images, including uploading, storing, and retrieving them. Question 33. How does OpenStack implement multi-tenancy? A) Using separate physical servers B) Through projects (tenants) and role-based access control C) By isolating network interfaces only D) Via external firewalls Answer: B Explanation: Projects and RBAC policies ensure resource and access isolation among tenants. Question 34. Which protocol does the OpenStack Telemetry (Ceilometer) primarily use to send metrics? A) SMTP B) REST API over HTTP/HTTPS C) SSH D) FTP Answer: B Explanation: Ceilometer uses REST APIs over HTTP/HTTPS to transmit telemetry data.
Question 35. What is the purpose of the neutron router? A) To connect tenant networks to external networks B) To store images C) To manage user authentication D) To provide block storage Answer: A Explanation: Neutron routers connect internal tenant networks to external networks for internet access. Question 36. Which command is used to create a new project (tenant) in OpenStack? A) openstack project create B) openstack user create C) openstack network create D) openstack image create Answer: A Explanation: The 'openstack project create' command is used to create a new tenant project. Question 37. What is the key purpose of the Horizon dashboard? A) Managing network traffic B) Providing a web-based GUI for OpenStack resource management C) Managing user authentication tokens D) Managing VM images only Answer: B Explanation: Horizon offers a user-friendly web interface for managing OpenStack resources. Question 38. Which storage backend driver can be used with Cinder to provide scalable, distributed storage? A) LVM B) Ceph C) NFS
Question 42. What is the default protocol used in Keystone for authentication? A) LDAP B) HTTP/HTTPS with tokens C) FTP D) SMTP Answer: B Explanation: Keystone issues tokens via HTTP/HTTPS for authentication and authorization. Question 43. Which OpenStack component provides network address translation (NAT) features? A) Nova B) Neutron C) Cinder D) Glance Answer: B Explanation: Neutron supports NAT via port forwarding and router functionalities. Question 44. What is the primary use of Cinder’s volume types? A) To define different performance or QoS levels B) To categorize images C) To assign user permissions D) To specify network types Answer: A Explanation: Volume Types in Cinder specify different performance characteristics or backend options. Question 45. Which is a common backend storage option for Swift? A) Ceph B) Object Ring C) NFS
D) Both B and C Answer: D Explanation: Swift’s backend can include object ring storage or NFS; Ceph is used with RADOS Gateway, not Swift directly. Question 46. How does Heat facilitate resource orchestration? A) By providing a web interface only B) Through HOT templates defining resources C) Using CLI commands only D) Via Keystone tokens Answer: B Explanation: Heat uses HOT (Heat Orchestration Templates) to define and deploy cloud resources. Question 47. Which command is used to create a new network in Neutron? A) openstack network create B) openstack subnet create C) openstack port create D) openstack router create Answer: A Explanation: 'openstack network create' initiates the creation of a new virtual network in Neutron. Question 48. What is a key characteristic of the QCOW2 image format supported by Glance? A) Copy-on-write capabilities B) Fixed size only C) Exclusively used in VMware D) Not suitable for snapshots Answer: A Explanation: QCOW2 supports copy-on-write, enabling efficient snapshots and storage optimization.
C) Using external load balancers only D) Only via manual failover Answer: B Explanation: Host aggregates and availability zones facilitate resource distribution and high availability. Question 53. What is the purpose of the "nova-compute" service? A) To manage network traffic B) To run hypervisor instances and manage VM lifecycle C) To authenticate users D) To store images Answer: B Explanation: Nova-Compute runs on hypervisor hosts to manage VM instances. Question 54. Which storage backend driver is specifically designed for distributed storage clusters? A) LVM B) Ceph RADOS Gateway C) NFS D) iSCSI Answer: B Explanation: Ceph RADOS provides a distributed storage backend suitable for scalable environments. Question 55. What does an OpenStack "availability zone" help achieve? A) Reduce latency B) Provide fault isolation and resource segregation C) Manage floating IPs D) Improve storage efficiency Answer: B Explanation: Availability zones help distribute resources and provide fault isolation.
Question 56. Which command is used to delete an existing volume snapshot in Cinder? A) openstack volume delete B) openstack snapshot delete C) openstack image delete D) openstack volume snapshot delete Answer: D Explanation: 'openstack volume snapshot delete' removes a snapshot of a volume. Question 57. What is the main purpose of the "neutron l3-agent"? A) To handle Layer 3 routing and NAT functions B) To manage DHCP services C) To provide load balancing D) To store images Answer: A Explanation: The L3 agent manages routing, NAT, and external network connectivity functions. Question 58. Which component of OpenStack is used to manage user permissions? A) Keystone B) Nova C) Glance D) Neutron Answer: A Explanation: Keystone manages user identities, roles, and permissions. Question 59. How does OpenStack support multi-region deployments? A) By replicating databases B) Through multiple regions and endpoints configured in Keystone
Explanation: The 'openstack' CLI provides commands for managing all OpenStack resources and services. Question 63. Which protocol is used by Neutron for communication between agents? A) HTTP B) UDP C) TCP D) Both A and C Answer: D Explanation: Neutron agents communicate over TCP/HTTP protocols. Question 64. How can OpenStack ensure resource isolation among tenants? A) Using separate physical servers only B) Using projects, role-based access control, and network segmentation C) By setting external firewalls only D) Through manual VM management Answer: B Explanation: Projects, RBAC, and network segmentation provide logical and network isolation. Question 65. Which OpenStack service is used to manage block devices and volumes? A) Glance B) Cinder C) Swift D) Keystone Answer: B Explanation: Cinder manages block storage volumes. Question 66. What is the main function of the "neutron dhcp-agent"? A) To assign IP addresses to instances
B) To provide DHCP services for tenant networks C) To route traffic externally D) To manage load balancing Answer: B Explanation: The DHCP agent provides DHCP services within tenant networks. Question 67. Which image format supports snapshots and copy-on-write features? A) RAW B) QCOW C) VHD D) VMDK Answer: B Explanation: QCOW2 supports snapshots and copy-on-write for efficient storage. Question 68. Which component is responsible for orchestrating the deployment of complex cloud applications? A) Heat B) Nova C) Keystone D) Glance Answer: A Explanation: Heat orchestrates complex deployments using templates and resource management. Question 69. How are security groups used in OpenStack? A) To assign user permissions B) To define firewall rules for instances C) To manage network IP addresses D) To organize images Answer: B