Blog

OpenStack Interview Questions

  • (4.0)
  • | 4411 Ratings |
  • Last Updated January 23, 2017

If you're looking for OpenStack Interview Questions for Experienced or Freshers, you are at right place. There are lot of opportunities from many reputed companies in the world. According to research OpenStack has a market share of about 0.7%. So, You still have opportunity to move ahead in your career in OpenStack Engineering. Mindmajix offers Advanced OpenStack Interview Questions 2018 that helps you in cracking your interview & acquire dream career as OpenStack Engineer.

Q. What you mean by tenant and role regarding Openstack?
In OpenStack,  the level of the user authorization is called role and the group of users is called tenant.

Q. What are the types of storages OpenStack Compute can provides?
OpenStack provides two types of block storage,
1. Volume Storage: It is persistent and not dependent on any particular instance. Volumes are created by users and within Quota
2. Ephemeral Storage: Ephemeral Storage associated with a single instance.They effectively disappear when a virtual machine is terminated.

Q. what is OpenStack?
OpenStack - Opensource software platform tools for building and managing the cloud computing solutions for public and private clouds.

 

Q. What is hypervisor, which type of hypervisor OpenStack supports?
In virtualization technology, openstack hypervisor is an software program that manages multiple operating systems (or multiple instances of the same operating system) on a single computer system.
The hypervisor types that OpenStack supports are :
1. KVM
2. Containers
3. Xen and HyperV
4. VMware

Related Page:: Learn Monitoring Compute services with Munin – OpenStack

 

Q. What is the command used for unpause  and pause an instance?
1. To unpause an instance – $ nova unpause INSTANCE_NAME
2. To pause an instance – $ nova pause INSTANCE_NAME

 

Q. Name the VM images storage locations in OpenStack?
1. OpenStack Object Storage (Swift)
2. Filesystem
3. S3
4. HTTP
5. Rados Block Device (RBD)
6. GridFS

Q. Explain what is Token in OpenStack?
Token is an alpha-numeric string which allows access to a certain set of services depending upon the access level of the user

Explore OpenStack Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

Q. What are the hardware used for for networking in OpenStack?
The following are the ways for OpenStack networking
1. Ports
2. Vendor Plugins
3. Networks
4. Routers
5. Subnets

 

Q. Which command used to manage OpenStack floating IP addresses?
nova floating-ip-*

Q. What are functions of “Nova”?
1. Instance life cycle management
2. Management of compute resources
3. Networking and Authorization
4. REST-based API
5. Asynchronous eventually consistent communication
6. Hypervisor agnostic : support for Xen, XenServer/XCP, KVM, UML, VMware vSphere and Hyper-V

Q. What are components of OpenStack Compute?
Nova Cloud Fabric is composed of the following major components:
1. API Server (nova-api)
2. Message Queue (rabbit-mq server)
3. Compute Workers (nova-compute)
4. Network Controller (nova-network)
5. Volume Worker (nova-volume)
6. Scheduler (nova-scheduler)

Related Page:: 

Q. What is job of api-server?
The API Server provides an interface for the outside world to interact with the cloud infrastructure.

Q. What is Rabbit MQ Server?
OpenStack communicates among themselves using the message queue via AMQP.

Q. What are functions and features of Swift?
1. Storage of large sized objects
2. Storage of large number of objects
3. Data Redundancy
4. Archival capabilities – Work with large datasets
5. Data container for virtual machines and cloud apps
6. Media Streaming capabilities
7. Secure storage of objects
8. Extreme scalability
9. Backup and archival

Q. What do you understand by Horizon?
Horizon the web based Openstack dashboard can be used to manage /administer OpenStack services.

Q. What are commands to generate Keypairs?
ssh-keygen
cd .ssh
nova keypair-add –pub_key id_rsa.pub mykey

Q. How you can view the rules?
Rules can be viewed with the command:
$ nova secgroup-list-rules myservers

Q. Give an example where logs help in OpenStack security?
For instance, analyzing the access logs of Identity service or its replacement authentication system would alert us to failed logins, frequency, origin IP, whether the events are restricted to select accounts and other pertinent information. Log analysis supports detection.

Q. Why Compliance is required in OpenStack?
Compliance means adhering to regulations, specifications, standards and laws.
An OpenStack deployment may require compliance activities for many purposes, such as regulatory and legal requirements, customer need, privacy considerations, and security best practices. The Compliance function is important for the business and its customers.

Q. What are Data privacy concerns in OpenStack, how those can be remediated?
Data residency-Concerns over who owns data in the cloud and whether the cloud operator can be ultimately trusted as a custodian of this data have been significant issues in the past.
Data disposal – Best practices suggest that the operator sanitize cloud system media (digital and non-digital) prior to disposal, release out of organization control or release for reuse.
Data not securely erased- This may be remediated with database and/or system configuration for auto vacuuming and periodic free-space wiping.
Instance memory scrubbing, Cinder volume data, Image service delay delete feature

Q. What is sanitization process?
The sanitization process removes information from the media such that the information cannot be retrieved or reconstructed. Sanitization techniques, including clearing, purging, cryptographic erase, and destruction, prevent the disclosure of information to unauthorized individuals when such media is reused or released for disposal.

Q. How to create a normal user in OpenStack?
sudo nova-manage user create user-name

Q. How you assign a project to a user?
sudo nova-manage project add –project=project_name
–user=user_name

Q. How you can remove a rule from security group?
nova secgroup-delete-rule webserver tcp 443 443 0.0.0.0/0

Q. How to display images using Nova client?
nova image-list

Q. How to see a list of roles and the associated IDs in our environment?
keystone role-list

Q. What is job of user CRUD?
The user CRUD filter enables users to use a HTTP PATCH to change their own password

Q. Where caching configuration is stored?
The majority of the caching configuration options are set in the [cache] section of the keystone.conf file.

Q. What is Alarm in OpenStack?
Alarms provide user-oriented Monitoring-as-a-Service for resources running on OpenStack. This type of monitoring ensures you can automatically scale in or out a group of instances through the Orchestration module, but you can also use alarms for general-purpose awareness of your cloud resources’ health.

Check Out OpenStack Tutorials

Q. How to migrate running instances from one OpenStack Compute server to another OpenStack Compute server?
Check the ID of the instance to be migrated
Check the information associated with the instance
Select the compute node the instance will be migrated to.
Check that Host has enough resources for migration
Migrate the instance using the $ nova live-migration SERVER HOST_NAME command.

Q. How you can change behavior of DHCP server?
The behavior of dnsmasq can be customized by creating a dnsmasq configuration file

Q. What is Orchestration?
Orchestration is an orchestration engine that provides the possibility to launch multiple composite cloud applications based on templates in the form of text files that can be treated like code

Q. What is use of account reaper?
In the background, the account reaper removes data from the deleted accounts.

Q. What you will do in case of drive failure?
In the event that a drive has failed, the first step is to make sure the drive is unmounted. This will make it easier for Object Storage to work around the failure until it has been resolved. If the drive is going to be replaced immediately, then it is just best to replace the drive, format it, remount it, and let replication fill it up.

Q. What you will do in case of server failure?
If a server is having hardware issues, it is a good idea to make sure the Object Storage services are not running. This will allow Object Storage to work around the failure while you troubleshoot OpenStack.
If the server just needs a reboot, or a small amount of work that should only last a couple of hours, then it is probably best to let Object Storage work around the failure and get the machine fixed and back online. When the machine comes back online, replication will make sure that anything that is missing during the downtime will get updated.
If you cannot replace the drive immediately, then it is best to leave it unmounted, and remove the drive from the ring. This will allow all the replicas that were on that drive to be replicated elsewhere until the drive is replaced. Once the drive is replaced, it can be re-added to the ring.

Related Page:: Learn Bonding network interfaces for redundancy in OpenStack 

Q. How you will install DHCP agent?
# apt-get install neutron-dhcp-agent

Q. Who is OpenStack for?
OpenStack is for service providers, enterprises, government agencies and academic institutions that want to build public or private clouds. Industries range from IT & telco to SaaS and eCommerce to finance and healthcare. You can read more about how organizations are becoming agile, reducing costs and avoiding vendor lock-in with OpenStack.

Q. What does it mean for the cloud ecosystem?
Wide adoption of an open-source, open-standards cloud should be huge for everyone. It means customers won’t have to fear lock-in and technology companies can participate in a growing market that spans cloud providers. Companies are already using OpenStack to provide public clouds, support, training and system integration services and hardware and software products.
A great analogy comes from the early days of the Internet: the transition away from fractured, proprietary flavors of UNIX toward open-source Linux. An open cloud stands to provide the same benefits for large-scale cloud computing that the Linux standard provided inside the server.

Subscribe For Free Demo

Free Demo for Corporate & Online Trainings.


DMCA.com Protection Status