Posts

Showing posts from May, 2019

Interview Questions on Git

Image
1. What is Git ? Ans: Git is a distributed revision control and source code management system with an emphasis on speed. 2. Who developed Git ? Ans: Linux Torvalds 3. What is the use of the local repository ? Ans: Users can perform many operation with the local repository such as add file, remove file , rename file, move file, commit changes and many more. 4. What is blob ? Ans: A blob holds the file data but doesn't contain any metadata about the file. 5. In git what is Tree ? Ans: Tree is an object which represents a directory. Click on below for Devops technical interview QA book: https://amzn.to/2Lvihnh 6. In git what is commit ? Ans: Commit holds the current state of the repositiory. 7. In git what is branches ? Ans: Branches are used to create another line of development. 8. What is the difference between tags and branches ? Ans: Tags are very similar to branches but the difference is that tags are i...

Interview Questions on Docker

Image
1. Introduction a. Objective: Below problems help you to understand the installation process. b. Benefits: Able to install the docker from the package. 1. How to install docker in Ubuntu from the package? Ans: Step 1: Download the deb package https://download.docker.com/linux/ubuntu/dists/ Step 2: Install the package Command: sudo dpkg -i /path/to/package.deb 2. How to verify whether it is installed properly or not? Ans: Command: docker run hello-world 3. How to uninstall the docker? Ans: Step 1: Uninstall the Docker CE Package Command: sudo apt-get purge docker-ce Step 2: Delete all images, containers, and volumes. Command: sudo rm -rf /var/lib/docker 4. What is Docker? Ans: Docker is an open platform for developing, shipping and running applications. 5. What is Container? Ans: Docker provides the ability to package and run an application in a loosely isolated environment called a container. Click on be...

Interview Questions on Django

Image
1. What is Django ? Ans: Django is a web development framework that help in building and maintainingquality web applications. 2. Who started Django ? Ans: Adrian Holovaty and Simon Willison 3. What are the advantages of using Django ? Ans: a. Object-Relational Mapping support b. Multilingual Support c. Framework Support d. Administration GUI e. Development Environment 4. MVC pattern is based on ________ components. Ans: Three a. Model b. view c. controller 5. In Django What is template ? Ans: The template is a HTML file mixed with Django template language. Click on below link for Devops Interview QA book: https://amzn.to/2YsiZah 6. How to test the django installation ? Ans: Command: django-admin.py --version 7. How to create a project in django ? Ans: Command: django-admin startproject myproject 8. What is manage.py file ? Ans: It is used to interacting with our project via command line. 9. Ho...

Interview Questions on Puppet

Image
1. What is attribute ? Ans: Attribute specify the desired state of a given configuration resource.Each resource type has a different set of attributes and each attribute has its own set of allowed values. 2. How to invoke the puppet agent software ? Ans: We can invoke the agent software by running the puppet-agent command. 3. What is the role of puppet agent ? Ans: A puppet agent regularly performs puppet runs, wherein it sends facts to a puppet master and receives a configuration catalog, then applies the catalog to the local system using its providers. 4. Catalogs are compiled by whom ? Ans: Catalogs are compiled by a puppet master from manifests and agent-provided data as well as optional external data. 5. What are the two functions create relationships between classes ? Ans: require and contain functions Click on below link for Devops Interview QA book: https://amzn.to/2YsiZah 6. What is the role console in puppet ? Ans: P...