Infrastructure as Code Interview Question-Answer

Q.1 __________ configuration is faster than ___________ configuration.

       A. Automated, Hybrid

       B. Manual, Automated

       C. Automated, Manual

       D. Manual, Hybrid

Ans : Automated, Manual


Q.2 IaC simplifies the tasks of the __________.

       A. IT team

       B. Coding team

       C. Testing team

       D. None of the options

Ans : IT team


Q.3 _________ causes more failure than _________.

       A. Hardware failure, Human error

       B. Hardware failure, Software error

       C. Software failure, Human error

       D. Human error, Hardware failure

Ans : Human error, Hardware failure


Q.4 Which is directly proportional to your business?

       A. Security

       B. Availability

       C. Clarity

       D. None of the options

Ans : Availability


Q.5 When we do not record the adhoc changes of hardware/software, it is called __________.

       A. Server Spikes

       B. Configuration Drift

       C. Erosion

       D. Server Sprawl

Ans : Configuration Drift


Q.6 IaC is frequently referred to as _____________.

       A. Automated infrastructure

       B. Infrastructure automation

       C. Infrastructure programming

       D. Programmable infrastructure

Ans : Programmable infrastructure


Q.7 For quick configurations, the servers must be _________

       A. Automated

       B. Different

       C. Identical

       D. Well configured

Ans : Identical


Q.8 When a server requires special configuration beyond that covered by the automated deployment scripts, it is called __________.

       A. Snowflake Server

       B. Automation Fear

       C. Server Sprawl

       D. Configuration Drift

Ans : Snowflake Server


Q.9 __________ infrastructure increases the predictability.

       A. Semi-immutable

       B. Immutable

       C. Mutable

       D. Hybrid

Ans : Immutable


Q.10 If a change is patched, it is _________ infrastructure.

       A. Semi-immutable

       B. Immutable

       C. Mutable

       D. Hybrid

Ans : Mutable


Q.11 There is no server in the serverless architecture.

       A. True

       B. False

Ans : False


Q.12 __________ infrastructure replaces a server completely when there is a change.

       A. Semi-immutable

       B. Immutable

       C. Mutable

       D. Hybrid

Ans : Immutable


Q.13 The following are cloud service providers, except ________.

       A. AWS Lambda

       B. IBM OpenWhisk

       C. Google Azure

       D. Cloud Functions

Ans : Google Azure


Q.14 Automation is well suitable for the environments which are ___________

       A. Not unique

       B. Completely unique

       C. Partially unique

       D. Unique

Ans : Not unique


Q.15 It is easy to ________ a system, than to ________ it.

       A. Fix, Reproduce

       B. Replace, Fix

       C. Fix, Replace

       D. Patch, Replace

Ans : Replace, Fix


Q.16 The most straightforward approach to implement IaC is ___________

       A. Automated Configuration

       B. Scripting

       C. Manual Configuration

       D. Physical Configuration

Ans : Scripting


Q.17 Which of the following describes how to achieve the desired state of the system?

       A. Iterative

       B. Declarative

       C. Intelligent

       D. Imperative

Ans : Imperative


Q.18 Which of the following describes only the desired state of the system?

       A. Imperative

       B. Intelligent

       C. Iterative

       D. Declarative

Ans : Declarative


Q.19 ___________ is more secure than ___________.

       A. VMware, Container

       B. Hypervisor, VMware

       C. VMware, Hypervisor

       D. Container, VMware

Ans : VMware, Container


Q.20 Which of the following is a Containerization System?

       A. Warden

       B. Fabric

       C. SaltStack

       D. Puppet

Ans : Warden


Q.21 Which of the following is a configuration definition file?

       A. Cloud formation

       B. Terraform

       C. Openstalk

       D. Manifests

Ans : Manifests


Q.22 Chef was initially created by ___________

       A. Adam Jacob

       B. Robbins

       C. Jesse

       D. Adam Jaqlin

Ans : Adam Jacob


Q.23 ____________ supports all the AWS resources.

       A. CloudFormation

       B. SaltStack

       C. Terraform

       D. Heat

Ans : CloudFormation


Q.24 The following are lifecycle events of a server, except ________

       A. Update the server

       B. Package a server template

       C. Create a new server

       D. None of the options

Ans : None of the options


Q.25 HP Public Cloud uses ________ tool.

       A. Chef

       B. Ansible

       C. Terraform

       D. Puppet

Ans : Chef


Q.26 Puppet was initially released in the year __________.

       A. 2017

       B. 2015

       C. 2005

       D. 2007

Ans : 2005


Q.27 Infrastructure provisioning can be done with _________ tools.

       A. Infrastructure Definition

       B. Server Configuration

       C. Templating

       D. Containerization

Ans : Infrastructure Definition


Q.28 Docker is a tool written in _____________.

       A. Go

       B. Perl

       C. PowerShell Script

       D. Python

Ans : Go


Q.29 ___________ comes as a part of Linux’s Fedora distribution.

       A. Puppet

       B. Ansible

       C. Terraform

       D. CloudFormation

Ans : Ansible


Q.30 OpenStack Heat is a tool written in ___________

       A. JavaScript

       B. BASIC

       C. Go

       D. Python

Ans : Python


Q.31 Marionette is the former name of ___________

       A. Puppet

       B. Ansible

       C. Chef

       D. CloudFormation

Ans : Chef


Q.32 You can use _________ to script your configuration file.

       A. Perl

       B. DSL

       C. Python

       D. Any of the options

Ans : Any of the options


Q.33 In _________ model, the configuration server automatically sends the updated configuration file if there is any change.

       A. Push

       B. Pull

       C. Both the options

Ans : Push


Q.34 In _________ model, the configuration server is checked periodically for updates.

       A. Push

       B. Pull

       C. Both the options

Ans : Pull


Q.35 Data like ______ should not be stored in VCS.

       A. Password

       B. Username

       C. Date

       D. Version

Ans : Password


Q.36 You can use _________ to script your configuration file.

       A. Perl

       B. Python

       C. Ruby

       D. DSL

       E. Any of the options

Ans : Any of the options


Q.37 Which is a core part of IaC?

       A. Testing

       B. Auditing

       C. Versioning

       D. Configuring

Ans : Versioning


Q.38 A good infrastructure tool should support

       A. Tight coupling

       B. Moderate Coupling

       C. Loose Coupling

       D. No coupling

Ans : Loose Coupling


Leave a Comment