*Friday CLOSED

Timings 10.00 am - 08.00 pm

Call : 021-3455-6664, 0312-216-9325 DHA 021-35344-600, 03333808376, ISB 03333808376

Openstack Job Interview Questions And Answers in USA New York, Houston, LA

image_pdfSave PDFimage_printPrint
Open stack Job Interview Q&A

Top Openstack Interview Questions And Answers

Here are top 27 objective type sample Openstack Interview questions and their answers are given just below to them. These sample questions are framed by experts from Omni Academy who trains for Openstack Training to give you an idea of type of questions which may be asked in interview. We have taken full care to give correct answers for all the questions. Do comment your thoughts Happy Job Hunting!

Top Answers to Openstack Interview Questions

1. Compare AWS and OpenStack

CriteriaAWSOpenStack
LicenseAmazon proprietaryOpen Source
Operating SystemWhatever cloud administrator providesWhatever AMIs provided by AWS
Performing repeatable operationsThrough templatesThrough text files

2. Describe OpenStack.

Most multinational organizations define OpenStack as the future of Cloud Computing. The Internet and large volumes of data together have instigated the purpose of cloud computing, and OpenStack is one such platform to create and handle massive groups of virtual machines through a Graphical User Interface. It is a set of efficient software tools to manage private and public cloud computing platforms.
Openstack is free, open-source software and works similar to Linux.

3. Explain the benefits of using OpenStack Cloud.

Openstack is useful in developing any software-as-a-service (SAAS) applications, for new developments or to improve existing solutions.

  • Can serve as a strong foundation to deliver self-service storage to IT users.
  • Can deliver on-demand objective or block storage with higher scalability and easy-to-handle storage at lower costs.
  • Most enterprises can save bigger on licensing fees by switching virtual machines running on VMware to OpenStack.

4. What are the key components of OpenStack?

  • Horizon: the only GUI in OpenStack; the first component administrators see and get an idea of the current operations in the cloud.
  •  Nova: chief computing engine to handle multiple virtual machines and computing tasks
  • Swift: reliable and robust storage system for files and objects helping developers to refer to a unique identifier and Openstack decides where to store the info.
  • Cinder: similar to traditional computer storage system, it is a block storage system in OpenStack for accessing files at faster speed.
  • Neutron: ensures efficient connectivity between components during deployment.
  • Keystone: a central identity list of all OpenStack cloud users and provides various mapping techniques to access methods against Keystone.
  • Glance: image service provider where images are the virtual copies of hard disks. Allows using the images as templates during deployment of new instances.
  • Ceilometer: component providing billings services and other telemetry services to cloud users. Maintains an account of component system usage by each user.
  • Heat (Orchestration Engine): Allows developers to orchestrate/illustrate and store the cloud application requirements and resources needed in a file, thereby maintaining the cloud infrastructure.

5. What storage types are allowed by OpenStack Compute?

OpenStack Cloud Operating system supports two types of storage:
Persistent Storage: Persistent and independent of any particular instance, created by users. This further includes three storages:

  • Object storage: to access binary objects through the REST API.
  • Block storage: offers access-to-block storage devices by affixing volumes their current VM instances.
  • Shared File System storage: provides a set of services to manage multiple files together for storage and exchange with multiple users at one time.
    Ephemeral Storage: Referring to a single instance. As the name suggests, these storage options are temporary and short-lived and disappear once the VM is terminated.Interested in a high-paying career in Cloud Computing?

6. Define ‘users,’ ‘role’ and ‘tenant’ in OpenStack.

Users can be members of multiple projects
Tenant is a group of users and an alternative term for Project/accounts where projects are organizational units in cloud processing
Role is the position to which a user is mapped (the authorization level). Roles are usually assigned to project-user duos.

7. Define Identity Service in OpenStack.

Keystone is the most important and preferred Identity Service in OpenStack and executes the complete OpenStack Identity API. The Keystone Identity Service is responsible for user management and service catalog. In user management, it tracks users and their permissions while Service Catalog offers a list of services available with their API. The former provides authentication credential details of users, tenants and roles.
Internal services like Token and Policy are also part of Keystone Identity

8. Define the Networking Managers in OpenStack Cloud.

Flat Network Manager: This places all VMs on a single network utilizing the same subnet and bridge as created by the administrator. Thus, all VMs share the same network that can be interconnected and are known to have Flat Network Manager.

  • Flat DHCP Network Manager: Much similar to the above except that the IP addresses to VM are assigned via DHCP (Dynamic Host Configuration Protocol).
  • VLAN: Unlike the single network concept, VLAN facilitates more secure and separate network to VMs. It has a physical switch to offer separate virtual network and separate IP range and bridge for each tenant. This is indeed most preferable choice for multi-tenant/project environment.

9. Name the commands used to pause and un-pause(resume) an instance

$ novaunpause INSTANCE_NAME
$ nova pause INSTANCE_NAME

10. List the storage locations for VM images in OpenStack

• OpenStack Object Storage
• Filesystem
• S3
• HTTP
• RBD or Rados Block Device
• GridFSMaster Openstack  from industry experts.

11. What is Token?

Token is a type of authentication similar to password-based validation. A token gets generated once the user inserts the credentials and authenticates as a Keystone user. The token can then be used to access OpenStack services without any revalidation. It is interesting to note that a token is active for a limited period and must be renewed after regular intervals.
To create a token, users first need to authenticate their Keystone credentials.

12. What is OpenStack Python SDK?

Python SDK (Software Development Kit) helps users to write applications for performing automation tasks in Python by calling Python objects. It provides a platform to work with multiple OpenStack services at one place. It consists of language bindings to access OpenStack clouds, complete API reference, easy interaction with REST API and sample code for initial applications.

13. Describe the function of Filter Scheduler.

The Filter Scheduler facilitates filtering and weighting to notify where a new instance can be created. It supports working with Compute Nodes. Filter Scheduler firstly creates an unfiltered dictionary of hosts and then filter them using related properties and makes the final selection of hosts for the number of instances as needed.

14. Define the Networking option in OpenStack.

  • AvalabilityZoneFilter: filters hosts by their availability zone.
  • CapacityFilter: filtering based on volume host’s capacity consumption
  • DifferentBackendFilter: Scheduling volumes to a different back-end
  • DriverFilter: filters based on ‘filter function’ and ‘metrics’
  • InstanceLocalityFilter
  • JSONFIlter
  • RetryFilter: Filter the previously attempted hosts
  • SameBackendFilterMost in-depth, industry-led curriculum in Openstack.

15. List down the Networking hardware in OpenStack.

  • Networks
  • Routers
  • Subnets
  • Ports Vendor Plugins

16. Define Hypervisor

For all cloud computing paltforms, Hypervisor is a term to define virtual machine monitor (VMM) including hardware, software and firmware components running on a virtual machine. Host machine is the one having hypervisor with one or more virtual machines.
OpenStack Compute allows multiple hypervisors. There are functionalities to choose one among them for a specific purpose.

17. List down the type of Hypervisors supported by OpenStack.

  • KVM (Kernel-based Virtual machine)
  • LXC: Linux Containers having Linux-based VMs
  • QEMU: Quick EMUlator used for development purposes
  • UML: User Mode Linux used for development purposes
  • VMware vSphere: VMware-based Linux and Windows via vCenter server connection.
  • Hyper-V: Server virtualization with Microsoft’s Hyper-V

18. Explain in brief the modular architecture of OpenStack.

The three important components of OpenStack modular architecture are:

  • OpenStack Compute: For managing large networks on the virtual machine
  • Image Service: The delivery service provides discovery and registration for virtual disk images
  • OpenStack Object Storage: A storage system that provides support for both block storage and object storage

19. What command manages floating IP addresses in OpenStack

nova floating-ip-*

20. Define bare-metal node.

Bare-metal node grants access to control bare-metal driver that handles the provisioning of OpenStack Compute physical hardware utilizing the standard cloud APIs and tools like Heat. It is generally used for single tenant clouds like high-performance cluster computing. For using the bare-metal driver, a network interface must be created with the bare-metal node inserted into it. Afterwards, users can launch an instance from the node. Users can also list and delete bare-metal nodes by removing the associated network instances

21. List down the components of OpenStack Compute

Nova (Compute) Cloud comprises following components:

  • API server
  • Message Queue (Rabbit-MQ Server)
  • Compute Workers (Nova-Compute)
  • Network controller (Nova-Network)
  • Volume Worker
  • Scheduler

22. Define the role of API Server.

It provides an interface for the external world to interact with the cloud infrastructure.

23. List the commands to generate Key pairs.

  • ssh-keygen
  • cd .ssh
  • nova keypair-add –pub_key id_rsa.pub mykey

24. Define Flavor

Flavors are virtual hardware templates present in OpenStack, which define the memory sizes of RAM, hard disk, etc. Flavors illustrate a number of parameters like ID, Name, Memory_MB, Disk and others, giving a choice of Virtual Machine to the user just like having a physical server. OpenStack dashboard also allows users to modify a flavor by deleting the existing one and creating a new with the similar name and parameters.

25. How to create a user in OpenStack?

sudo nova-manage user create user-name

26. How to assign a project/tenant to a user?

By using the command sudo nova-manage user create user-name

27. Can we see the list of roles and associated IDs in OpenStack environment?

Yes, by using keystone role-list

Recommended Courses -Learn Online Now!

sharing is caring

Leave a Reply


ABOUT US

OMNI ACADEMY & CONSULTING is one of the most prestigious Training & Consulting firm, founded in 2010, under MHSG Consulting Group aim to help our customers in transforming their people and business - be more engage with customers through digital transformation. Helping People to Get Valuable Skills and Get Jobs.

Read More

Contact Us

Get your self enrolled for unlimited learning 1000+ Courses, Corporate Group Training, Instructor led Class-Room and ONLINE learning options. Join Now!
  • Head Office: A-2/3 Westland Trade Centre, Shahra-e-Faisal PECHS Karachi 75350 Pakistan Call 0213-455-6664 WhatsApp 0334-318-2845, 0336-7222-191, +92 312 2169325
  • Gulshan Branch: A-242, Sardar Ali Sabri Rd. Block-2, Gulshan-e-Iqbal, Karachi-75300, Call/WhatsApp 0213-498-6664, 0331-3929-217, 0334-1757-521, 0312-2169325
  • ONLINE INQUIRY: Call/WhatsApp +92 312 2169325, 0334-318-2845, Lahore 0333-3808376, Islamabad 0331-3929217, Saudi Arabia 050 2283468
  • DHA Branch: 14-C, Saher Commercial Area, Phase VII, Defence Housing Authority, Karachi-75500 Pakistan. 0213-5344600, 0337-7222-191, 0333-3808-376
  • info@omni-academy.com
  • FREE Support | WhatsApp/Chat/Call : +92 312 2169325
WORKING HOURS

  • Monday10.00am - 7.00pm
  • Tuesday10.00am - 7.00pm
  • Wednesday10.00am - 7.00pm
  • Thursday10.00am - 7.00pm
  • FridayClosed
  • Saturday10.00am - 7.00pm
  • Sunday10.00am - 7.00pm
WhatsApp Us