Devops Interview Practice Book 1683896427
Devops Interview Practice Book 1683896427
Basic Configuration
a. It is an interactive server administration interface. Cockpit directly contact with the operating
system from a real linux session in a browser.
Practical Problem: Suppose you are working in a company and your manager ask you to restart
the system from the cockpit. At this point of time cockpit will help you.
2. Date
a. date is a command which is used to display the current date and time.
Command: date
Practical Problem: Suppose you are working in a company and your manager ask you to display
the current date and time of any specific system. At this point of time above command will help
you.
3. nmcli
Practical Problem: Suppose you are working in a company and your manager ask you to display
all the network connections. At this point of time above command will help you.
4. yum
Practical Problem: Suppose you are working in a company and your manager ask you to check
the repolist whether it is enabled or not. At this point of time above command will help you.
5. Firewalld
a. With the help of systemctl we can check the status of the firewall.
Command: systemctl status firewalld
Practical Problem: Suppose you are working in a company and your manager ask you to check
the firewall status. At this point of time above command will help you.
6. Selinux
a. It is an additional layer of system security that determines which process can access which files,
directories and ports.
1. Enabled
2. Disabled
1. Enforcing
2. Permissive
Command: getenforce
Practical Problem: Suppose you are working in a company and your manager ask you to check
the selinux mode. At this point of time above command will help you.
7. kdump
a. It uses kexec to boot into a second kernel, a capture kernel which resides in a reserved part
of the system memory that is inaccessible to the first kernel.
b. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
kdump. At this point of time above command will help you.
8. Rear
a. It is a disater recovery and system migration utility which enables you to create complete rescue
system.
b. Installation
9. Syslog messages
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to check
the system messages. At this point of time above command will help you.
a. The SOS report collects configuration details, system information and diagnostic information
from a red hat enterprise linux system.
b. Installation
Command: sosreport
Practical Problem: Suppose you are working in a company and your manager ask you to
generate the sos report At this point of time above command will help you.
11. Systemctl
a. Systemctl command is used to display detailed information about a service unit that
corresponds to a system service.
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to check
the service status of any specific service. At this point of time above command will help you.
12. passwd
Practical Problem: Suppose you are working in a company and your manager ask you to service
status of any specific service. At this point of time above command will help you.
13. chrony
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to status
of the chrony.At this point of time above command will help you.
14. ethtool
a. ethtool can be used in verifying support for hardware timestamping on a specific interface.
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to verify
the support of the interface.At this point of time above command will help you.
15. Python 3
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to install
the python3. At this point of time above command will help you.
16. Langpacks
a. It is meta packages which install extra add-on packages containing translations , dictionaries
and locales for every package installed on the system.
Example:
17. Prefixdevname
a. It is a udev helper utility that enables you to define your own prefix used for naming of the
ethernet network interface.
Syntax:
net.ifnames.prefix=<required prefix>
Practical Problem: Suppose you are working in a company and your manager ask you to change
the prefix of the network interface. At this point of time above syntax will help you.
18.Module information
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to get the
information about any specific module. At this point of time above command will help you.
LINUX KURIOSITY
Samba Server
Learn in Simple & Smart way
1. Introduction
a. smb protocol is used to to access resources on a server, such as file shares and shared printers.
1. smbd: provides file sharing and printing services using the smb protocol.
2. nmbd: provides host name and IP resolution using the NetBIOS over Ipv4 protocol.
3. winbindd: provides an interface for the Name service switch to use AD or NT4 domain users
and
groups on the local system.
Command: testparm
Practical Problem: Suppose you are working in a company and your manager ask you to verify
the syntax of the samba configuration file.At this point of time above command will help you.
3. Installation
Practical Problem:Suppose you are working in a company and your manager ask you to install
the samba package. At this point of time above command will help you.
4. Firewall Configuration
Practical Problem:Suppose you are working in a company and your manager ask you to
configure the firewall. At this point of time above command will help you.
5. Samba User
a.We can add user to the samba database using smbpasswd command.
Practical Problem:Suppose you are working in a company and your manager ask you to add the
user to the samba database. At this point of time above command will help you.
6. Smbcontrol
Practical Problem:Suppose you are working in a company and your manager ask you to reload
the samba after applying the changes. At this point of time above command will help you.
7. User shares
a. We can use net user info command on a Samba server to display user sharing and their settings.
Practical Problem:Suppose you are working in a company and your manager ask you to give me
the output of the user sharing and their settings. At this point of time above command will help
you.
8. Privileges
a. Using net rpc rights list command we can list all available privileges and their owners.
a. To delete a user share use the command net usershare delete command.
Practical Problem:Suppose you are working in a company and your manager ask you to delete
the privileges of any specific user sharing . At this point of time above command will help you.
10. Rpcclient
a. It enables you to manually execute client-side microsoft remote procedure call (MS-RPC)
functions on a local or remote SMB server.
Practical Problem:Suppose you are working in a company and your manager ask you to execute
client-side microsoft remote procedure call (MS-RPC). At this point of time above command will
help you.
LINUX KURIOSITY
RHEL 8 (Practical Book)
Database Servers
1. Introduction
2. Mariadb Installation
Command: yum install mariadb
Practical Problem: Suppose you are working in a company and your manager ask you to install
mariadb package. At this point of time above command will help you.
3. Service
Practical Problem: Suppose you are working in a company and your manager ask you to start
and enable mariadb service. At this point of time above command will help you.
4. Mysqldump
Practical Problem: Suppose you are working in a company and your manager ask you to take the
backup of all the databases. At this point of time above command will help you.
1. logical backup : It consist of the SQL statements necessary to restore the data.This type
ofbackup backup exports information and records in plain text files.
2. physical backup : consists of copies of file and directories that store the content.
6. Mariabackup tool
a. Installation
b. backup
Practical Problem: Suppose you are working in a company and your manager ask you to take the
backup of all the databases using mariadb backup tool. At this point of time above command will
help you.
Command: mysql_secure_installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
the mariadb securely. At this point of time above command will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to check
and repair the mariadb internal tables. At this point of time above command will help you.
9. Replication
Networking
a. IP networks are the networks that communicate through internet protocol addresses.
c. Non-Ip networks are used to communicate through a lower layer rather than the transport layer.
Interview QA: Suppose you are going for interview and interviewer ask you what is the
difference between IP and Non IP networks. At this point of time above definition will help you.
2. Netconsole
a. The netconsole kernel module enables logging of kernel messages over the network to another
computer.
Interview QA: Suppose you are going for interview and interviewer ask you what is the use of
the netconsole. At this point of time above definition will help you.
3. Sysctl
Command: sysctl -a
b. We can use sysctl utility to adjust network configuration on a running system and directly affect
the networking performance.
Practical Problem: Suppose you are working in a company and your manager ask you to share
all the parameters of the sysctl. At this point of time above command will help you.
4. ncat
a. It is a reliable back end tool that provides network connectivity to other applications and users.
b. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
nmap-ncat. At this point of time above command will help you.
5. Port Scanning
a. We can use -z option along with ncat command to view which ports are open.
6. Network Manager
a. It is a dynamic network control and configuration daemon to keep network devices and
connections up and active when they are available.
Installation :
Practical Problem: Suppose you are working in a company and your manager ask you to install
networkmanager. At this point of time above command will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to check
the status of the networkmanager. At this point of time above command will help you.
8. Nmcli
a. The nmcli devices commmand lists the available network devices in the system.
Practical Problem: Suppose you are working in a company and your manager ask you to check
the list of the network devices. At this point of time above command will help you.
9. IPVLAN
a. It is a driver for a virtual network device that can be used in container environment to access the
host network.
Interview QA: Suppose you are going for interview and interviewer ask you what is the use of
theIPVLAN. At this point of time above definition will help you.
Interview QA: Suppose you are going for interview and interviewer ask you what is the three
modes of IPVLAN. At this point of time above definition will help you.
LINUX KURIOSITY
Firewall
Learn in a Simple & Smart way
1. Introduction
a. A firewall is a way to protect machines from any unwanted traffic from outside.
Interview QA: Suppose you are going for an interview and interviewer ask you what is
firewalld ?At this point of time above definition will help you.
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to add the
ssh service through the firewall and set the timeout 15 min. At this point of time above example
will help you.
3. Firewall-config GUI
a. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
the firewall-config GUI. At this point of time above example will help you.
4. Firewall status
Practical Problem: Suppose you are working in a company and your manager ask you to check
the status of the firewall. At this point of time above example will help you.
5. Controlling traffic
In an critical situation such as a system attack, it is possible to disable all network traffic and cut
off
the attacker.
Practical Problem: Suppose you are working in a company and your manager ask you to disable
the traffic. At this point of time above example will help you.
6. Opening a port
Practical Problem: Suppose you are working in a company and your manager ask you to open
the port for incoming traffic. At this point of time above example will help you.
7. Closing a port
b. Remove the port from the allowed ports to close it for the incoming traffic
Command: firewall-cmd –remove-port=port-number/port-type
Practical Problem: Suppose you are working in a company and your manager ask you to close
the port for incoming traffic. At this point of time above example will help you.
8. Listing zones
a. Use following command to see which zones are available on your system.
Practical Problem: Suppose you are working in a company and your manager ask you to share
the information of all the zones. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to redirect
the port . At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to list all
available ICMP types. At this point of time above example will help you.
LINUX KURIOSITY
Kernel
a. A kernel is a core part of a Linux operating system which manages the system resources and
provides interface between hardware and software applications.
2. Updating kernel
Above command updates the kernel along with all dependencies to the latest available version.
Practical Problem: Suppose you are working in a company and your manager ask you to update
the kernel.At this point of time above example will help you.
3. Installing Kernel
Practical Problem: Suppose you are working in a company and your manager ask you to install
the specific kernel.At this point of time above example will help you.
a. A boot entry is a collection of options forming together a configuration file, which is usually
tied
to a particular kernel version.
Above command sets a new value to the globalvariable kernelopts by replacing the old value. As a
result the kernel command line parameter debug is set for all the boot entries on your system.
5. Sysctl
a. Kernel tunables are kernel parameters which are addressed by the sysctl command through
the /proc/sys/ interface.
Practical Problem: Suppose you are working in a company and your manager ask you to list all
the kernel parameters.At this point of time above example will help you.
6. kdump
a. It is a kernel crash dumping mechanism that enables you to save the contents of the system's
memory for later analysis.
b. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
the kdump.At this point of time above example will help you.
a. To determine the cause of the system crash you can use the crash utility, which provides an
interactive prompt very similar to the GNU Debugger.
b. Installtion
Practical Problem: Suppose you are working in a company and your manager ask you to install
crash utility.At this point of time above example will help you.
8. Message buffer
a. To display the kernel message buffer type the log command at the interactive
prompt.
Command: log
Practical Problem: Suppose you are working in a company and your manager ask you to check
the kernel message buffer.At this point of time above example will help you.
Command: bt
Practical Problem: Suppose you are working in a company and your manager ask you to display
the kernel stack tree.At this point of time above example will help you.
a. To display basic virtual memory information, type the vm command at the interactive prompt.
Command: vm
Practical Problem: Suppose you are working in a company and your manager ask you to display
basic virtual memory information.At this point of time above example will help you.
LINUX KURIOSITY
File Systems
Above command will create file-system of type xfs.Also we can use -f option to overwrite the file
system.
Practical Problem: Suppose you are working in a company and your manager ask you to create
the XFS file system. At this point of time above example will help you.
Above command wait for the system to register the new device node.
Practical Problem: Suppose you are working in a company and your manager ask you to register
the new device. At this point of time above example will help you.
a. The xfsdump utility enables you to write multiple backups to the same tape. A backup can span
multiple tape.
Example:
Above command back up the content of XFS file systems mounted on the /boot/ and save them as
files in the /backup-files/ directory.
Practical Problem: Suppose you are working in a company and your manager ask you to backup
the XFS file system. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to restore
the XFS file system. At this point of time above example will help you.
a. The xfs_repair utility is highly scalable and it is designed to repair even very large file system
with many inodes efficiently.
b. xfs_info is a utility which is used to find out the block size in kb of a given XFS file system.
Practical Problem: Suppose you are working in a company and your manager ask you to grow
the
size of the XFS file system. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to view
the partition table. At this point of time above example will help you.
Example:
Practical Problem: Suppose you are working in a company and your manager ask you to create
the create new partition. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to remove
a partition. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to resize
the partition. At this point of time above example will help you.
12. lsblk
Practical Problem: Suppose you are working in a company and your manager ask you to
determine the UUID and label attributes of the storage device. At this point of time above example
will help you.
13. xfs_admin
Practical Problem: Suppose you are working in a company and your manager ask you to change
the UUID or label attributes of an XFS file system. At this point of time above example will help
you.
14. tune2fs
a. It is used change the UUID or label attributes of an ext4,ext3 or ext2 file system.
Practical Problem: Suppose you are working in a company and your manager ask you to change
the UUID or label attributes of an ext4, ext3 or ext2 file system. At this point of time above
example will help you.
15. swaplabel
Practical Problem: Suppose you are working in a company and your manager ask you to change
the UUID or label attributes of an swaplabel file system. At this point of time above example will
help you.
16. findmnt
Command: findmnt
Practical Problem: Suppose you are working in a company and your manager ask you to list all
mounted file systems. At this point of time above example will help you.
a. Following command is used to change the directory in which a file system is mounted
Practical Problem: Suppose you are working in a company and your manager ask you to move
the mount point. At this point of time above example will help you.
18. Fuser
a. It is used to determine which processes are accessing the file-system.
Practical Problem: Suppose you are working in a company and your manager ask you to
determine which processes are accessing the file-system.At this point of time above example will
help you.
19. autofs
a. The autofs service can mount and unmount file systems automatically, therefore saving system
resources.
b. It can be used to mount file systems such as NFS, AFS, SMBFS,CIFS and local file systems.
c. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
and enable the autofs. At this point of time above example will help you.
b. Installation
Practical Problem: Suppose you are working in a company and your manager ask you to install
and enable the stratis service. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to create a
stratis file system. At this point of time above example will help you.
a. To add one or more block devices to the pool use below command:
Practical Problem: Suppose you are working in a company and your manager ask you to add
block devices to the pool. At this point of time above example will help you.
a. To display information about all block devices used for stratis on your system.
Practical Problem: Suppose you are working in a company and your manager ask you to display
information about stratis volumes. At this point of time above example will help you.
c. verify
Command: stratis filesystem list my-pool
Practical Problem: Suppose you are working in a company and your manager ask you to remove
stratis file system. At this point of time above example will help you.
Practical Problem: Suppose you are working in a company and your manager ask you to remove
stratis pool. At this point of time above example will help you.
LINUX KURIOSITY
Cluster
Learn in a Simple & Smart way
1. Introduction
a. A cluster is two or more computers (called nodes or members) that work together to perform a
task.
Interview QA : Suppose you are going for a interview and interviewer ask you what is cluster ?
At this point of time above definition will help you.
2. Pacemaker
a. It is a cluster resource manager and achieve maximum availability for your cluster services.
1. Cluster Information Base: uses XML internally to distribute and synchronize current
configuration and status information from the designated coordinator.
2. Cluster Resource Management Daemon (CRMd): Each cluster node also includes a local
resource manager daemon (LRMd) that acts as an interface between CRMd and resources.
Interview QA :Suppose you are going for a interview and interviewer ask you what is
pacemaker ? At this point of time above definition will help you.
a. Pacemaker features two configuration tools for cluster deployment, monitoring and
management.
1. pcs: controls and configures pacemaker and the corosync heartbeat daemon.
2. pcsd Web UI: It is a graphical user interface to create and configure pacemaker/ corosync
clusters.
Interview QA : Suppose you are going for a interview and interviewer ask you what are the two
configuration tools for cluster deployment , monitoring and management ? At this point of time
above definition will help you.
4. Fence device
a. It is an external device that can be used by the cluster to restrict access to shared resources by
an errant node, or to issue a hard reboot on the cluster node.
Interview QA : Suppose you are going for a interview and interviewer ask you what is fence
device ? At this point of time above definition will help you.
5. Quorum
Interview QA : Suppose you are going for a interview and interviewer ask you what is the use of
the quorum ? At this point of time above definition will help you.
6. Pacemaker Installation
Interview QA : Suppose you are going for a interview and interviewer ask you how will you
install pacemaker ? At this point of time above definition will help you.
7. Setting and authenticate password to the ha cluster.
Interview QA : Suppose you are going for a interview and interviewer ask you How to set and
authenticate password to the ha cluster ? At this point of time above command will help you.
Interview QA : Suppose you are going for a interview and interviewer ask you how to create
cluster and do the verification ? At this point of time above command will help you.
Above command restore cluster services to the first node, take the node out of standby node.
Interview QA : Suppose you are going for a interview and interviewer ask you how to restore the
cluster services ? At this point of time above command will help you.
Interview QA : Suppose you are going for a interview and interviewer ask you how to stop
cluster services on both nodes ? At this point of time above command will help you.
LINUX KURIOSITY
a. Virtual data optimizer provides inline data reduction for linux in the form of
deduplication,compression and thin provisioning.
Interview QA: Suppose you are going for an interview and your manager ask you what is Virtual
data optimizer ? At this point of time above definition will help you.
2. Installation
Interview QA: Suppose you are going for an interview and your manager ask you how to install
Virtual data optimizer ? At this point of time above command will help you.
--name=vdo1 \
--device=device-name \
--vdoLogicalSize=10T
Above command will create virtual data optimizer for container storage.
Interview QA: Suppose you are going for an interview and your manager ask you how to create
Virtual data optimizer for container storage ? At this point of time above command will help you.
Interview QA: Suppose you are going for an interview and your manager ask you how to create a
file system on top of the VDO volume ? At this point of time above command will help you.
Interview QA: Suppose you are going for an interview and your manager ask you how to mount
the file system ? At this point of time above command will help you.
6. vdostats
Interview QA: Suppose you are going for an interview and your manager ask you how to get the
information about a VDO volume ? At this point of time above command will help you.
LINUX KURIOSITY
Linux Containers
a. Linux containers have emerged as a key open source application packaging and delivery
technology, combining lightweight application isolation with the flexibility of image-based
deployment methods.
e. runc: It is used to provide container run and build features to podman and buildah.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use
of the podman, buildah, skopeo and runc ? At this point of time above definition will help you.
2. Containers Installation
Interview QA : Suppose you are going for the interview and interviewer ask you how to install
container-tools ? At this point of time above command will help you.
3. podman-docker
a. It is a package which is used to links podman man pages to the docker command.
Interview QA : Suppose you are going for the interview and interviewer ask you how to install
podman-docker ? At this point of time above command will help you.
4. Listing images
a. Using podman images we can see which images have been pulled to your local system.
a. podman inspect command displays basic information about what an images does.
Interview QA : Suppose you are going for the interview and interviewer ask you how to inspect
image using podman ? At this point of time above command will help you.
6. Mount a container
a. Using the podman command, mount an active container to further investigate its contents.
Command: podman ps
Interview QA : Suppose you are going for the interview and interviewer ask you how to mount
the active container using podman? At this point of time above command will help you.
7. skopeo inspect
a. We can inspect a container image before you pull it to your system.We can display information
about an image that resides in a remote container registry.
Interview QA : Suppose you are going for the interview and interviewer ask you how to inspect
the image ? At this point of time above command will help you.
8. Tagging Images
a. We can add names to images to make it more intuitive to understand what they contain.
Interview QA : Suppose you are going for the interview and interviewer ask you how to tag the
container ? At this point of time above command will help you.
9. Removing images
a. To remove images you no longer need use the podman rmi command with the image ID.
Interview QA : Suppose you are going for the interview and interviewer ask you how to remove
the images ? At this point of time above command will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to start and
stop the container using podman ? At this point of time above command will help you.
LINUX KURIOSITY
Interview QA: Suppose you are going for the interview and interviewer ask you what is control
node in ansible ? At this point of time above definition will help you.
2. Managed node
Interview QA: Suppose you are going for the interview and interviewer ask you what is managed
node in ansible ? At this point of time above definition will help you.
3. Inventory
Interview QA: Suppose you are going for the interview and interviewer ask you what is inventory
in ansible ? At this point of time above definition will help you.
4. Modules
b. We can invoke a single module with a task or invoke several different modules in a playbook.
Interview QA: Suppose you are going for the interview and interviewer ask you what is module in
ansible ? At this point of time above definition will help you.
5. Tasks
a. It is a unit of action.
Interview QA: Suppose you are going for the interview and interviewer ask you what is task in
ansible ? At this point of time above definition will help you.
6. Playbooks
c. It is written in YAML
Interview QA: Suppose you are going for the interview and interviewer ask you what is playbooks
in ansible ? At this point of time above definition will help you.
7. Network modules
b. It write backup files on the control node, usually in the backup directory under the playbook root
directory.
Interview QA: Suppose you are going for the interview and interviewer ask you what is network
modules in ansible ? At this point of time above definition will help you.
a. The communication protocol selected for each module network module depends on the platform
Interview QA: Suppose you are going for the interview and interviewer ask you what are the two
factors on which communication protocol depends in ansible? At this point of time above
definition will help you.
9. Network platform
a A network platform is a set of network devices with a common operating system that can be
managed by a collection of modules.
Interview QA: Suppose you are going for the interview and interviewer ask you what is control
node in ansible ? At this point of time above definition will help you.
a. Several network platforms support privilege escalation where certain tasks must be done by a
privileged user.
Interview QA: Suppose you are going for the interview and interviewer ask you how to verify the
ansible version in ansible ? At this point of time above command will help you.
12. Establish a manual connection to a managed node
c. Command: exit
Interview QA: Suppose you are going for the interview and interviewer ask you how to establish a
manual connection to a managed node in ansible ? At this point of time above command will help
you.
-i device name
-c connection method
-u user-name
-k prompt for password
-m ansible module
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
-k option in ansible network command ? At this point of time above syntax will help you.
a. First group servers and network devices by their what (application, stack or microservice), where
(datacenter or region) and when (development stage).
1. what: web
2. where: floor
3. when: staging
Interview QA: Suppose you are going for the interview and interviewer ask you how to prepare
the basic inventory in ansible ? At this point of time above definition will help you.
a. It is a command which provides encryption for files and or individual variables like passwords.
Interview QA: Suppose you are going for the interview and interviewer ask you what is ansible
vault ? At this point of time above definition will help you.
16. Roles
a. Roles are sets of ansible defaults, files, tasks, templates, variables and other ansible components
that work together.
Interview QA: Suppose you are going for the interview and interviewer ask you what is roles in
ansible ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is strategy
plugin ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is Show
running command ? At this point of time above definition will help you.
a. Network modules support the use of a proxy or jump host with the proxy command parameter.
Interview QA: Suppose you are going for the interview and interviewer ask you what is proxy
command ? At this point of time above definition will help you.
20. Fork
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the fork ? At this point of time above definition will help you.
a. An inventory file is an INI-like configuration file that defines the mapping of hosts into groups.
Interview QA: Suppose you are going for the interview and interviewer ask you what is Inventory
file ? At this point of time above definition will help you.
a. If the ansible controller doesn't have a direct route to the remote device and you need to use a
jump host.
Interview QA: Suppose you are going for the interview and interviewer ask you what is jump
host ? At this point of time above definition will help you.
a. It gather information from the system and store the results in facts prefixed with ansible_net_.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
ansible' network fact modules ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is ansible
hostvars ? At this point of time above definition will help you.
1. eq (Equal)
2. neq (Not equal)
3. gt (greater than)
4. ge (greater than or equal)
5. lt (less than)
6. le (less than or equal)
7. contains
Interview QA: Suppose you are going for the interview and interviewer ask you what is
conditional statements ? At this point of time above definition will help you.
a. It can be used to evaluate the results before running control to the ansible playbook.
Note:
Interview QA: Suppose you are going for the interview and interviewer ask you what is wait_for
argument ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA
b. pyVomi is the python SDK for the vsphere API that allows user to manage ESX, ESXi and
Vcenter Infrastructure.
c. Installation
Interview QA: Suppose you are going for the interview and interviewer ask you what is pyvomi
and how to install ? At this point of time above definition will help you.
2. Validate_certs parameter
Interview QA: Suppose you are going for the interview and interviewer ask you what is
Validate_certs parameter ? At this point of time above definition will help you.
a. It will increase the clone time as it will wait until virtual machine boots into the OS and an IP
address has been assigned to the given NIC.
Interview QA: Suppose you are going for the interview and interviewer ask you what is wait for ip
address parameter ? At this point of time above definition will help you.
a. For renaming virtual machine, vmware_guest modules uses Vmware UUID which is unique
across vcenter environment.
Interview QA: Suppose you are going for the interview and interviewer ask you how to rename
virtual machine ? At this point of time above definition will help you.
a. It is a module to find virtual machine and get information about VMWare UUID of the virtual
machine.
Note: The removal Vmware virtual machine using Vmware_guest module is destructive operation.
And cannot be reverted.
Interview QA: Suppose you are going for the interview and interviewer ask you what is vmware
guests facts ? At this point of time above definition will help you.
LINUX KURIOSITY
a. Ansible Galaxy refers to the galaxy website where users can share roles, and to a command line
tool for installing, creating and managing roles.
Interview QA: Suppose you are going for the interview and interviewer ask you what is ansible
galaxy ? At this point of time above definition will help you.
2. Roles
a. Installation
The ansible-galaxy command comes bundled with ansible and we can use it to install roles from
galaxy or directly from a git based SCM.
Interview QA: Suppose you are going for the interview and interviewer ask you how to install
specific roles ? At this point of time above command will help you.
3. Roles path
The Above provides an example of using -roles-path to install the role into the current working
directory.
Interview QA: Suppose you are going for the interview and interviewer ask you how to change the
roles path ? At this point of time above command will help you.
4. Mutiple roles
Interview QA: Suppose you are going for the interview and interviewer ask you how to install
multiple roles from the file ? At this point of time above command will help you.
5. Dependencies
a. Roles can also be dependent on other roles, and when you install a role that has dependencies,
those dependencies will automatically be installed.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
dependencies ? At this point of time above definition will help you.
6. Create roles
a. Init command is used to initialize the base structure of a new role, saving time on creating the
various directories and main.yml files a role requires.
Interview QA: Suppose you are going for the interview and interviewer ask you what is init
command ? At this point of time above command will help you.
7. Force option
a. Suppose if a directory matching the name of the role already exists in the current working
directory, the init command will result in an error.To ignore the error we use the –force option.
a. Search the galaxy database by tags, platforms, author and multiple keywords.
Interview QA: Suppose you are going for the interview and interviewer ask you how to search for
roles by author keywords ? At this point of time above definition will help you.
9. Role information
a. We can use the info command to view more detail about a specific role.
Interview QA: Suppose you are going for the interview and interviewer ask you how to get the
information about the specific role ? At this point of time above command will help you.
a. Use list to show the name and version of each role installed in the roles_path.
Interview QA: Suppose you are going for the interview and interviewer ask you how to list
installed roles ? At this point of time above command will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you how to remove an
installed role ? At this point of time above definition will help you.
12. Authenticate with galaxy
The above command authenticate with the galaxy website using a github username and password.
Interview QA: Suppose you are going for the interview and interviewer ask you how to
authenticate with galaxy ? At this point of time above command will help you.
a. The import command requires that you first authenticate using the login command.Once
authenticated you can import any github repository that you own or have been granted access.
Interview QA: Suppose you are going for the interview and interviewer ask you how to import a
role ? At this point of time above command will help you.
14. Branch
Interview QA: Suppose you are going for the interview and interviewer ask you what is the name
of option using which we can import the specific branch ? At this point of time above definition
will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you how to change the
role name ? At this point of time above option will help you.
a. The delete command requires that you first authenticate using the login command.
Interview QA: Suppose you are going for the interview and interviewer ask you how to delete a
role ? At this point of time above definition will help you.
b. once the connection is established, a build in travis will automatically trigger an import in galaxy
, updating the search index with the latest information about the role.
Interview QA: Suppose you are going for the interview and interviewer ask you how to list travis
integration? At this point of time above command will help you.
a. We can use the -remove option to disable and remove a travis integration.
Interview QA: Suppose you are going for the interview and interviewer ask you how to remove
travis integration ? At this point of time above command will help you.
LINUX KURIOSITY
Playbook keywords
1. play
2. Role
3. Block
4. Task
2. Play
a. any_errors_fatal: Force any un-handled task errors on any host to propagate to all hosts and end
the play.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
any_error_fatal module ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
debugger ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is port ? At
this point of time above definition will help you.
d. environment: A dictionary that gets converted into environment vars to be provided for the task
upon execution.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
environment module ? At this point of time above definition will help you.
e. max_fail_percentage: can be used to abort the run after a given percentage of hosts in the current
batch has failed.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
max_fail_percentage module ? At this point of time above definition will help you.
3. Role
a. become: Boolean that controls if privilege escalation is used or not on task execution.
Interview QA: Suppose you are going for the interview and interviewer ask you what is become
module ? At this point of time above definition will help you.
c. remote_user: user used to log into the target via the connection plugin.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
remote_user module ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
check_mode module ? At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
module_defaults ? At this point of time above definition will help you.
4. Block
a. delegate_facts: It is a boolean that allow you to apply facts to a delegated host instead of
inventory_hostname.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
delegate_facts ? At this point of time above definition will help you.
b. rescue: list of tasks in a block that run if there is a task error in the main block list.
Interview QA: Suppose you are going for the interview and interviewer ask you what is rescue ?
At this point of time above definition will help you.
Interview QA: Suppose you are going for the interview and interviewer ask you what is check
mode ? At this point of time above definition will help you.
d. ignore_unreachable: Boolean that allows you to ignore unreachable hosts and continue with play.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
ignore_unreachable module ? At this point of time above definition will help you.
e. run_once: Boolean that will bypass the host loop, forcing the task to attempt to execute on the
first host available and afterwards apply any results and facts to all active hosts in the same batch.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
run_once ? At this point of time above definition will help you.
f. Task:
a. action: The action to execute for a task, it normally translates into a C(module) or action plugin.
Interview QA: Suppose you are going for the interview and interviewer ask you what is action ?
At this point of time above definition will help you.
b. delay: Number of seconds to delay between retries.It is used in combination with until.
Interview QA: Suppose you are going for the interview and interviewer ask you what is delay ? At
this point of time above definition will help you.
c. loop_control: several keys here allow you to modify/set loop behaviour in a task.
Interview QA: Suppose you are going for the interview and interviewer ask you what is
loop_control module ? At this point of time above definition will help you.
d. register: It is name of variable that will contain task status and module return data.
Interview QA: Suppose you are going for the interview and interviewer ask you what is register ?
At this point of time above definition will help you.
e. poll: sets the polling interval in seconds for async tasks (default 10s)
Interview QA: Suppose you are going for the interview and interviewer ask you what is poll ? At
this point of time above definition will help you.
LINUX KURIOSITY
a. Ansible supports a few ways of providing configuration variables, mainly through environment
variables, command line switches and an ini file named ansible.cfg
Interview QA: Suppose you are going for the interview and interviewer ask you what is the
importance of ansible configuration file? At this point of time above definition will help you.
2. Action_warnings
a. By default ansible will issue a warning when received from a task action (module or action
plugin). These warnings can be silenced by adjusting this setting to false.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
action_warnings ? At this point of time above definition will help you.
3. Allow_world_readable_tmpfiles
a. This option makes the temporary files created on the machine to be world readable and will issue
a warning instead of failing the task.It is useful when becoming an unprivileged user.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the
importance of allow_world_readable_tmpfiles ? At this point of time above definition will help
you.
4. Ansible_nocolor
a. This setting allows suppressing colorizing output, which is used to give a better indication of
failure and status information.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
ansible_nocolor ? At this point of time above definition will help you.
5. Ansible_ssh_retries
a. Number of attempts to establish a connection before we give up and report the host as
unreachable.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the ansible_ssh_retries? At this point of time above definition will help you.
6. cache_plugin_connection
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
cache_plugin_connection ? At this point of time above definition will help you.
7. cache_plugin_timeout
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
cache_plugin_timeout ? At this point of time above definition will help you.
8. color_changed
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
color_changed ? At this point of time above definition will help you.
9. color_debug
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
color_debug ? At this point of time above definition will help you.
10. color_deprecate
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the color_deprecate? At this point of time above definition will help you.
11. color_error
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the color_error? At this point of time above definition will help you.
12. color_highlight
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
color_highlight ? At this point of time above definition will help you.
13. color_ok
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the color_ok ? At this point of time above definition will help you.
14. default_ask_su_pass
a. maximum number of forks ansible will use to execute tasks on target hosts.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the ansible configuration file? At this point of time above definition will help you.
16. default_keep_remote_files
a. enables/disables the cleaning up of the temporary files ansible used to execute the tasks on the
remote.
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
the default_keep_remote_files? At this point of time above definition will help you.
17. default_local_tmp
Interview QA: Suppose you are going for the interview and interviewer ask you what is the
importance of the default_local_tmp ? At this point of time above definition will help you.
18. default_log_filter
Interview QA: Suppose you are going for the interview and interviewer ask you what is the use of
default_log_filter? At this point of time above definition will help you.
19. default_module_compression
Interview QA: Suppose you are going for the interview and interviewer ask you what is the
importance of default_module_compression? At this point of time above definition will help you.
20. default_strategy
Interview QA: Suppose you are going for the interview and interviewer ask you what is the
importance of default strategy ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the aws_acm_facts ? At this point of time above definition will help you.
2. atomic_container (atomic)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the atomic_container ? At this point of time above definition will help you.
3. azure (Azure)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the azure ? At this point of time above definition will help you.
4. clc_server (Centurylink)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the clc_server ? At this point of time above definition will help you.
5. cloudscale_server (cloudscale)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the cloudscale_server ? At this point of time above definition will help you.
6. cs_account (Cloudstack)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the cs_account ? At this point of time above definition will help you.
7. digital_ocean (Digital_Ocean)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the digital_ocean ? At this point of time above definition will help you.
8. dimensiondata_vlan (Dimensiondata)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the dimensiondata_vlan ? At this point of time above definition will help you.
9. docker_container (Docker)
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the docker_container ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the gc_storage ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the linode ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the memset_zone ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the oneandone_public_ip ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the online_user_facts ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the one_host ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the os_image ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the packet_device ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the rax ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the scaleway_volume_facts ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the vca_fw ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the consul ? At this point of time above definition will help you.
2. consul_acl
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the vca_fw ? At this point of time above definition will help you.
3. consul_kv
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the consul_kv ? At this point of time above definition will help you.
4. consul_session
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the consul_session ? At this point of time above definition will help you.
5. etcd3
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the etcd3 ? At this point of time above definition will help you.
6. pacemaker_cluster
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the pacemaker_cluster ? At this point of time above definition will help you.
7. znode
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the znode ? At this point of time above definition will help you.
8. k8s
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the k8s ? At this point of time above definition will help you.
9. k8s_scale
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the k8s_scale ? At this point of time above definition will help you.
10. k8s_facts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the k8s_facts ? At this point of time above definition will help you.
11. kubernetes
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the kuberntes module ? At this point of time above definition will help you.
12. oc
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the oc ? At this point of time above definition will help you.
13. command:
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the command ? At this point of time above definition will help you.
14. expect
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the expect ? At this point of time above definition will help you.
15. psexec
a. It is used to run commands on a remote windows host based on the psexec model.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the psexec ? At this point of time above definition will help you.
16. raw
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the raw ? At this point of time above definition will help you.
17. script
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the script ? At this point of time above definition will help you.
18. shell
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the shell ? At this point of time above definition will help you.
19. telnet
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the telnet ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the influxdb_database ? At this point of time above definition will help you.
2. kibana_plugin
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the kibana_plugin ? At this point of time above definition will help you.
3. mongodb_user
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the mongodb_user ? At this point of time above definition will help you.
4. mssql_db
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the mssql_db ? At this point of time above definition will help you.
5. mysql_db
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the mysql_db ? At this point of time above definition will help you.
6. postgresql_db
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the postgresql_db ? At this point of time above definition will help you.
7. proxysql_global_variables
8. vertica_facts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the vertica_facts ? At this point of time above definition will help you.
9. vertica_user
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the vertica_user ? At this point of time above definition will help you.
10. acl
a. It is a file module which is used to set and retrieves file ACL information.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the acl ? At this point of time above definition will help you.
11. archive
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the telnet ? At this point of time above definition will help you.
12. copy
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the copy ? At this point of time above definition will help you.
13. fetch
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the fetch ? At this point of time above definition will help you.
14. iso_extract
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the iso_extract ? At this point of time above definition will help you.
15. lineinfile
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the lineinfile ? At this point of time above definition will help you.
16. stat
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the stat ? At this point of time above definition will help you.
17. tempfile
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the tempfile ? At this point of time above definition will help you.
18. unarchive
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the unarchive ? At this point of time above definition will help you.
19. xattr
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the xattr ? At this point of time above definition will help you.
20. xml
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the xml ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the onepassword_facts? At this point of time above definition will help you.
2. cyberark_authentication
a. It is a module for cyberark vault authentication using PAS web services SDK.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the cyberark_authentication? At this point of time above definition will help you.
3. ipa_config
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ipa_config? At this point of time above definition will help you.
4. ipa_user
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ipa_user ? At this point of time above definition will help you.
5. ipa_vault
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ipa_vault? At this point of time above definition will help you.
6. keycloak_client
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the keycloak_client ? At this point of time above definition will help you.
7. group_by
8.rabbitmq_binding
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the rabbitmq_binding ? At this point of time above definition will help you.
9. rabbitmq_exchange
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the rabbitmq_exchange ? At this point of time above definition will help you.
10. rabbitmq_user
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the rabbitmq_user ? At this point of time above definition will help you.
LINUX KURIOSITY
a. It is a module which is used to manage your logicmonitor account through ansible playbooks.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the logicmonitor ? At this point of time above definition will help you.
2. logicmonitor_facts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the logicmonitor_facts ? At this point of time above definition will help you.
3. monit
a. It is a module which is used to manage the state of a program monitored via monit.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the monit ? At this point of time above definition will help you.
4. pagerduty
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the pagerduty ? At this point of time above definition will help you.
5. uptimerrobot
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the uptimerrobot ? At this point of time above definition will help you.
6. zabbix_host_facts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the zabbix_host_facts ? At this point of time above definition will help you.
7. zabbix_group_facts
8. net_banner
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the net_banner ? At this point of time above definition will help you.
9. net_logging
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the net_logging ? At this point of time above definition will help you.
10. net_ping
a. It is a network module which is used to tests reachability using ping from a network device.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the net_ping ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the jabber ? At this point of time above definition will help you.
2. twilio
a. It is a module which is used to send text message to a mobile phone through twilio.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the twilio ? At this point of time above definition will help you.
3. say
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the say ? At this point of time above definition will help you.
4. hipchat
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the hipchat ? At this point of time above definition will help you.
5. slack
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the slack ? At this point of time above definition will help you.
6. bower
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the bower ? At this point of time above definition will help you.
7. npm
8. pip
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the pip ? At this point of time above definition will help you.
9. rhn_channel
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the rhn_channel ? At this point of time above definition will help you.
10. apk
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the apk ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the wakeonlan ? At this point of time above definition will help you.
2. hpilo_boot
a. It is a module which boot system using specific media through HP iLO interface.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the hpilo_boot ? At this point of time above definition will help you.
3. ipmi_boot
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ipmi_boot ? At this point of time above definition will help you.
4. ipmi_power
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ipmi_power ? At this point of time above definition will help you.
5. ucs_ip_pool
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ucs_ip_pool ? At this point of time above definition will help you.
6. git
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the git ? At this point of time above definition will help you.
7. git_config
8. gitlab_hooks
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the gitlab_hooks ? At this point of time above definition will help you.
9. subversion
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the subversion ? At this point of time above definition will help you.
10. github_issue
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the github_issue ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the emc_vnx_sg_member ? At this point of time above definition will help you.
2. gluster_volume
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the gluster_volume ? At this point of time above definition will help you.
3. ibm_sa_vol
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ibm_sa_vol ? At this point of time above definition will help you.
4. infini_vol
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the infini_vol ? At this point of time above definition will help you.
5. purefa_ds
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the purefa_ds ? At this point of time above definition will help you.
6. at
a. It is a module which schedule the execution of a command or script file via the at command.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the at ? At this point of time above definition will help you.
7. known_hosts
8. setup
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the setup ? At this point of time above definition will help you.
9. ufw
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ufw ? At this point of time above definition will help you.
10. vdo
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the vdo ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the pause ? At this point of time above definition will help you.
2. set_fact
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the set_fact ? At this point of time above definition will help you.
3. set_stats
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the set_stats ? At this point of time above definition will help you.
4. wait_for
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the wait_for? At this point of time above definition will help you.
5. wait_for_connection
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the wait_for_connection ? At this point of time above definition will help you.
6. htpasswd
a. It is a web infrastructure module which manages user files for basic authentication.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the htpasswd ? At this point of time above definition will help you.
7. jenkins_plugin
8. nginx_status_facts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the nginx_status_facts ? At this point of time above definition will help you.
9. jira
a. It is web infrastructure module which create and modify issues in a JIRA instance.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the jira ? At this point of time above definition will help you.
10. django_manage
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the django_manage ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the manager nodes ? At this point of time above definition will help you.
2. Swarm manager nodes use the raft consensus algorithm to manage the swarm state.
Interview QA : Suppose you are going for the interview and interviewer ask you how swarm
nodes manages the nodes ? At this point of time above definition will help you.
3. If the swarm loses the quorum of managers, the swarm cannot perform management tasks.
Interview QA : Suppose you are going for the interview and interviewer ask you what will happen
if swarm loses the quorum of managers ? At this point of time above definition will help you.
4. When initiating a swarm, you must specify the –advertise-addr flag to advertise your address to
other manager nodes in the swarm.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the –advertise-addr flag ? At this point of time above definition will help you.
5. We should maintain an odd number of managers in the swarm to support manager node failures.
Interview QA : Suppose you are going for the interview and interviewer ask you how to maintain
manager node failures? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you Is it true manager
nodes act as a worker nodes ? At this point of time above definition will help you.
7. To avoid interference with manager node operation , we can drain manager nodes to make them
unavailable as worker nodes:
Interview QA : Suppose you are going for the interview and interviewer ask you how to avoid
interference with manager node operation? At this point of time above definition will help you.
8.We can monitor the health of manager nodes by running the below command.
Interview QA : Suppose you are going for the interview and interviewer ask you how to monitor
the health of manager nodes ? At this point of time above definition will help you.
9. We can also get the overview of the swarm health from a manager node with below command.
Interview QA : Suppose you are going for the interview and interviewer ask you how to view
swarm health from a manager node ? At this point of time above definition will help you.
Note: We should never restart a manager node by copying the raft directory from another node.
10. Below are the steps to cleanly re-join a manager node to a cluster.
Interview QA : Suppose you are going for the interview and interviewer ask you what are the steps
to cleanly re-join a manager node to a cluster ? At this point of time above definition will help you.
11. We can forcefully remove the node without shutting it down by passing the --force flag.
Interview QA : Suppose you are going for the interview and interviewer ask you how to remove
the node ? At this point of time above definition will help you.
12. Docker manager nodes store the swarm state and manager logs in the /var/lib/docker/swarm
directory.
Interview QA : Suppose you are going for the interview and interviewer ask you where docker
manager nodes store the swarm state and manager logs ? At this point of time above definition will
help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to
reinitialize the swarm ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you how to add and
sign content to a collection ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to add
targets to a trusted collection? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to remove
the targets ? At this point of time above command will help you.
4. By default, the notary client is responsible for managing the private keys for root,targets &
snapshot roles.
5. The notary server is always responsible for managing the timestamp key.
Interview QA : Suppose you are going for the interview and interviewer ask you what is notary
server? At this point of time above definition will help you.
6. We can use the notary key rotate command to rotate the targets or snapshot keys.
Interview QA : Suppose you are going for the interview and interviewer ask you how to rotate the
targets or snapshot keys ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you Is it possible to
use notary with the yubikey? At this point of time above definition will help you.
8. The Yubikey is prioritized to store root keys and requires user touch-input for signing.
Interview QA : Suppose you are going for the interview and interviewer ask you what is yubikey?
At this point of time above definition will help you.
9. Delegation roles simplify collaborator workflows in notary trusted collections and also allow for
fine-granted permissions within a collection's contents across delegations.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
delegation ? At this point of time above definition will help you.
10. We can view the delegations using a list command.
Interview QA : Suppose you are going for the interview and interviewer ask you how to view
delegations ? At this point of time above command will help you.
11. Notary stores state in its trust_dir directory, which is ~/.notary by default.
Interview QA : Suppose you are going for the interview and interviewer ask you where notary
stores state ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the ambassador pattern? At this point of time above definition will help you.
2. User-defined networks allow you to connect services together, including managing DNS
resolution among them.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
user-defined networks? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the overlay networks ? At this point of time above definition will help you.
4. config allow you to plug configuration details into swarm service containers at runtime instead
of backing configuration details into your docker images.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
config ? At this point of time above definition will help you.
5. stacks allow you to group multiple swarm services together, including defining networks, storage
and dependency relationships among the services.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the stacks? At this point of time above definition will help you.
6. Application Armor is a linux security model that protects an operating system and its
applications from security threats.
Interview QA : Suppose you are going for the interview and interviewer ask you what is
application armor ? At this point of time above definition will help you.
7. The docker-default profile is the default for running containers.It is moderately protective while
providing wide application compatibility.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the docker-default profile ? At this point of time above definition will help you.
a. Stop apparmor
c. Start apparmor
Interview QA : Suppose you are going for the interview and interviewer ask you how to unload
the profiles ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to debug the
apparmor ? At this point of time above definition will help you.
11. We can use aa-status command to check which profiles are loaded.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
the aa-status command ? At this point of time above definition will help you.
LINUX KURIOSITY
Interview QA : Suppose you are going for the interview and interviewer ask you what is docker
trusted registry? At this point of time above definition will help you.
a. dtr-br is a bridge type which allows DTR components on the same node to communicate with
each other in a secure way.
b. dtr-ol is a overlay type which allow DTR components running on different nodes to
communicate, to replicate DTR data.
Interview QA : Suppose you are going for the interview and interviewer ask you what are the two
types of network used by DTR ? At this point of time above definition will help you.
3. By default DTR stores images on the filesystem of the node where it is running, but we can
configure it to use an external storage system.
Interview QA : Suppose you are going for the interview and interviewer ask you where DTR store
images ? At this point of time above definition will help you.
4. Run docker-machine create with the amazonc2 driver , credentials, inbound port , region and a
name for the new instance.
Interview QA : Suppose you are going for the interview and interviewer ask you how to create
docker-machine ? At this point of time above definition will help you.
5. Use below command to check whether new machine is the active host or not.
Command: docker-machine ls
Interview QA : Suppose you are going for the interview and interviewer ask you how to know
whether new machine is the active host or not ? At this point of time above definition will help you.
6. Backup of DTR
Above command creates a tar file with the contents of the volumes used by DTR and prints it.
Interview QA : Suppose you are going for the interview and interviewer ask you how to take the
backup of DTR? At this point of time above definition will help you.
7. Use below command to remove any DTR container
Interview QA : Suppose you are going for the interview and interviewer ask you how to remove
any DTR container? At this point of time above definition will help you.
8.We can restore the DTR metadata with the docker/dtr restore command.
Interview QA : Suppose you are going for the interview and interviewer ask you how to restore
the DTR metadata ? At this point of time above definition will help you.
LINUX KURIOSITY
Machine concepts
Interview QA : Suppose you are going for the interview and interviewer ask you what is the role
of docker mac/hine ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to show
information logged by a running container ? At this point of time above definition will help you.
3. The docker service logs command shows information logged by all containers participating in a
service.
Interview QA : Suppose you are going for the interview and interviewer ask you how to check the
logs of all the containers ? At this point of time above definition will help you.
4. We can use sudo service docker status command to know whether docker is running or not.
Interview QA : Suppose you are going for the interview and interviewer ask you how to check the
docker status ? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to start the
docker ? At this point of time above definition will help you.
6. By default docker provides two network drivers for you, the bridge and the overlay drivers.
Interview QA : Suppose you are going for the interview and interviewer ask you what are the two
types of network drivers? At this point of time above definition will help you.
Interview QA : Suppose you are going for the interview and interviewer ask you how to list out
the network ? At this point of time above definition will help you.
8. We can use the docker stats command to live stream a container's runtime metrics.
Interview QA : Suppose you are going for the interview and interviewer ask you how to check the
docker runtime metrics ? At this point of time above definition will help you.
9. The ip-netns exec command allows you to execute any program (present in the host system)
within any network namespace visible to the current process.
Interview QA : Suppose you are going for the interview and interviewer ask you what is the use of
ip-netns exec command ? At this point of time above definition will help you.
10. Compose is a tool for defining and running multi-container docker applications.
Interview QA : Suppose you are going for the interview and interviewer ask you what is
compose ? At this point of time above definition will help you.
LINUX KURIOSITY
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.
Ans: We can invoke the agent software by running the puppet-agent command.
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.
Ans: Catalogs are compiled by a puppet master from manifests and agent-provided data as well as
optional external data.
Ans: Puppet enterprise includes a web user interface called the console, which provides tools for
managing your puppet infrastructure.
Ans: An environment is an isolated group of puppet agent nodes that a puppet master can serve
with its own main manifest and set of modules.
Ans: An exported resource is a resource that you have declared to be available to other node that
can then collect the exported resource and manage their own copies.
Ans: An external node classifier is an executable script that returns information about which
classes to apply to a node when called by a puppet master.
Ans: A piece of information about a node, such as its hostname,IP address and operating system, is
a fact.
11. Who reads facts about node such as its hostname, IP address and operating system and
makes them available to puppet ?
Ans: Facter is puppet's system inventory tool.
12. What is the name of the repository in which puppet stores files backups when it has to
replace files ?
Ans: filebucket
Ans: A function is a puppet language statement that returns a value or modifies a catalog.
15.What is idempotence ?
Ans: Idempotence refers to the concept of doing something multiple times with the same outcome.
Ans: It is a block of parameterized puppet language code that you can pass to certain functions.
18. What is the main point of entry used by a puppet master when compiling a catalog ?
Ans: It is a file contains code written in the puppet language and is named with the .pp file
extension.
20. Who uses manifest ordering to apply unrelated resources in the order that they are
declared in their manifests ?
Ans: puppet
Ans: Masterless is a term used to refer to a puppet node that does not rely on a master for its
catalog.
23. What is metaparameter ?
Ans: A metaparameter is a resource attribute that can be specified for any type of resource.
Ans: A design pattern is a colloquial term used to describe a collection of related mainfests that are
designed to solve an issue or manage a particular configuration item.
Ans: The plusignment operator adds values to resource attributes using the plusignment syntax.
Ans: A profile represents the configuration of a technology stack for a site and typically consists of
one or more classes.
Ans: A property is a value that corresponds to an observable part of the target node's state.
31. Who implements resource types on a specific type of system by using the system's own
tools ?
Ans: providers
Ans: A plugin is a custom type, function or fact that extends puppet's capabilities and is distributed
via a module.
33. ________ is an open-source database that catches and stores data generated by puppet.
Ans: puppetDB
Ans: When a puppet agent sends facts and an identifying certificate to a puppet master and
requests a compiled catalog in return.
Ans: Puppet server is an open-source java virtual machine application that provides high-
performance, scalable puppet master services and an administrative API for maintenance.
37.What is puppetfile ?
Ans: A puppetfile is an authoritative, standalone list that specifies to r10k which modules to install
what versions to install and what source to use.
38. Which tool in puppet enterprise helps you manage puppet code in environments and
modules by using puppetfiles.
Ans: r10k
Ans: It is a puppet enterprise provisioning application designed to help you discover,configure and
deploy bare-metal hardware, even if it doesn't yet have an operating system.
40.Who can take a puppet report, transform it to a specific format and send it to another
application, location or service.
Ans:
a. top scope : from which variables are accessible from anywhere by their short name but can be
overridden in a local scope.
c. local scope: where we can refer to a variable by its short name inside that scope and the scope's
children, but typically cannot access it from other scopes.
42. What is an in the puppet language such as class that can only be evaluated once ?
Ans: singleton
LINUX KURIOSITY
Ans: A backlog is a list of the outstanding user stories, bugs and features for a product or sprint.
Ans: A burndown chart shows the actual and estimated amount of work to be done in a sprint.
The horizontal x-axis in a burndown chart indicates time and vertical y-axis indicates cards.
Ans: A control chart can show the cycle time or lead time of your product, version or sprint. The
horizontal x-axis in a control chart indicates time and the vertical y-axis indicates the number of
days issues have spent in those statuses.
Ans: A cumulative flow diagram is an area chart that shows the various statuses of work items for a
particular time interval.
6. What is epic ?
7. What is kanban ?
Ans: Kanban is a system for visualizing the flow of work and limiting work in progress. Kanban
allows a team to reduce waste and focus on delivering customer value.
Ans: A kanban board is a board that was created using either the “kanban” preset or the “DIY”
option.
Ans: lead time is the time taken from when an issue is logged until work is completed on that issue.
Ans: A product backlog is a high level list of customer requirements for the project that is owned
by the product owner /manager
Ans: A quick filter refines the collection of issues displayed on your board.
12. What is scrum ?
Ans: Scrum is an agile development methodology where work is completed iteratively over a
number of discrete time periods.
Ans: A Scrum board is a board that was created using the “scrum” preset.
Ans: A sprint is also known as iteration which is a short period in which the development team
implements and delivers a discrete product increment.
Ans: A sprint backlog contains the list of tasks that need to be completed to implement the features
planned for a particular sprint.
Ans: A swimlane is a means of categorising issues so that agile teams can see which issues they
should work on next.
Ans: The velocity of a team is a measure of how much work that the team can handle within a
specific time period i.e how much of the product backlog can be completed by the team in a sprint.
Ans: A wallboard is a type of information radiator that displays vital data about the progress of the
development team.
Ans: A version is a set of features and fixes released together as a single update to your product.