IAAS_TECHLEAP (2)
IAAS_TECHLEAP (2)
get further updates and if you leave groups after your TFA and
stream tests you will miss your further updates for sure so just
stay connected.
Dm - https://t.me/angelnndevil
Materials/Channel/dumps -
https://t.me/adaccenturematerial
Techleap – IaaS & PaaS
1) In regards to Terraform state file, select all the statements below which are correct?
Answer: All Of Above (Storing state remotely can provide better security,The Terraform state can
contain sensitive data, therefore the state file should be treated as sensitive, When using local state,
the state file is stored in plain-text)
Answer: No
5) Terraform supports both cloud and on-premises infrastructure platforms. Is this true?
Answer: True
7) Is Terraform cloud-agostic?
Answer: Yes
8) Code in the Terraform language is stored in plain text files with the ........... file extension
Answer: .tf
Answer: Providers
Answer: Yes
Answer: Primary
13) Does Terraform codify cloud APIs into declarative configuration files.
Answer: Yes
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
14) Terraform uses declarative configuration to describe the desired final state.
Answer: True
Answer: 4
Answer: All of the above ( Amazon Web Services, IBM Cloud, Microsoft Azure)
Answer: True
Answer: 0.14.10
Answer: Go
Answer: 2015
Answer: Hashicorp
24) Which Terraform command will force a marked resource to be destroyed and recreated on the next
apply?
Answer: It creates an execution plan and determines what changes are required to achieve the desired
state in the configuration files.
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
27) What are some of the problems of how infrastructure was traditionally managed before
Infrastructure as Code?
Answer: All of Above ( Pointing and clicking in a management console isn't scalable as businesses
move to a multi-cloud deployment model
Requests for infrastructure or hardware required a ticket, increasing the time required to deploy
applications
Traditional deployment methods are not able to meet the demands of the modern business where
resources tend to live days to weeks, rather than months to years
28) True or False: You can migrate the Terraform backend but only if there are no resources currently
being managed.
Answer: False
29) Which flag would be used within a Terraform configuration block to identify the specific version of a
provider required?
Answer: required_providers
Answer: Applies the changes required in the target infrastructure in order to reach the desired
configuration
Answer: A plugin that Terraform uses to translate the API interactions with the service.
32) If I already have infrastructure in a cloud provider, and I want to start using terraform, I can...
Answer: False
36) Command to check the playbook for syntax errors, but it does not execute it.
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
37) Which python module does Ansible use to connect via ssh with all its nodes?
Answer: paramiko
38) The pricing for Red Hat Ansible Automation Platform is based on the number of nodes (systems,
hosts, instances, VMs, containers or devices) that it is managing. The minimum number of nodes for a
subscription is
Answer: 100
Answer: True
Answer: .j2
Answer: with {{ }}
Answer: Python
Answer: It makes sure that a task runs only once, doesn’t matter if the task was called 1000 times or
more
Answer: ios_facts
Answer: playbook
Answer: Playbook->Play->Tasks->Task
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
50) Which of following commands will check ansible inventory and group variable
51) Which of the following ad hoc commands will backup the device configuration of ios
52) Tests reachability using ping from Cisco IOS network devices
Answer: ios_ping
53) An ______ command is a single, manually-run Ansible task that you want to perform quickly
Answer: ad hoc
54) We have a playbook /playbook/copy.yml, which hosts would this playbook run against.copy.yml -
hosts: webtasks:- name: copy test.txt filesrc: test.txtdest: /tmp/test.txtinventory file:[web]web1
10.0.0.1web2 10.0.0.2
Answer: Yes
Answer: Yes
57) Ansible Content Collections is the new way to build and consume Ansible content. It brings greater
flexibility, control and innovation to the Ansible Community and Users.
Answer: True
Answer: Yaml
59) NCS has collaborated with Red Hat on several initiatives around Ansible automation. Which are
some of those?
60) Red Hat Ansible Automation Platform offers new features. Which are the ones?
Automation Hub
Automation Analytics)
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
61) The product offering by Red Hat for Enterprise IT Automation and Management is
62) Ansible is commonly used to manage resources in VMware virtualization platform, OpenStack as
well as public clouds such as AWS, Azure and GCE
Answer: True
63) Ansible is able to deploy and manage automation of your entire IT footprint. Which are the ones that
can be managed by Ansible?
Answer: All of the above( Network devices such as routers, switches and firewalls
Infrastructure Provisioning
Application Deployment
Clouds )
Agentless
Extensible )
65) Ansible is among the top 10 Open Source projects in GitHub for 3 consecutive years
Answer: True
Answer: Is the handling of an orchestra composed by Databases, servers, monitoring systems, etc.
Answer: The ability an operation has to be run multiple times without affecting the result
Answer: A play is list of tasks, whereas a playbook is the file that contents a list of plays.
Answer: Specify the list of Host and groups where to apply the playbook
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
Answer: cp
Answer: mkdir
Answer: whoami
75) What command shows you CPU and memory utilization for running processes?
Answer: top
Answer: inventory
Answer: ansible-doc
Answer: cd
81) You have defined the values for your variables in the file terraform.tfvars, and saved it in the same
directory as your Terraform configuration. Which of the following commands will use those values
when creating an execution plan?
Answer: All of the above ( Terraform Plan & terraform Plan -Var-file=Terraform.tfvars)
82) Which of the following terms best describes the Ansible architecture?
Answer: Agentless (the simple, secure, and powerful agentless automation framework for
IT operations and development)
Answer: True
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
Answer: ansible-playbook
Answer: Terraform
107) “terraform plan -refresh=true” is used to update the state prior to checking differences
when you run a terraform plan ?
Answer: True
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
108) ______ are the different source types for calling modules
Terraform Registry
GitHub
Bitbucket
HTTP URLs
S3 buckets
GCS buckets
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
116) What is the command to show the execution plan and not apply?
Answer: terraform plan
117) What are the types of provisioners?
Answer: Both A and B ( remote-exec & local-exec)
118) By default, provisioners that fail will also cause the Terraform apply itself to fail.
Answer: True
119) Terraform CLI versions and provider versions are independent of each other.
Answer: True
120) By default, fmt scans the current directory for configuration files.
Answer: True
121) ______ is the file format of Terraform code files.
Answer: YAML
122) What is the command to show the current workspace?
Answer: terraform workspace show
123) You can delete the default workspace?
Answer: False
124) ________ are the arguments you need for using modules in your configuration.
Answer: Both A and B ( Source & Version )
125) Ansible is an opensource Tool
Answer: True (Ansible is a free, open-source tool)
126) The conditionals in ansible play book will be used with the statement
Answer: when
127) Ansible roles can be create by using the command
Answer: ansible-galaxy init ( To create ansible role, use ansible-galaxy init <role_name> to
create the role directory structure)
128) Ansible can do network automation
Answer: True
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
Important Points:
An Ansible role has a defined directory structure with eight main standard directories. You must
include at least one of these directories in each role. You can omit any directories the role does
not use. For example:
# playbooks
site.yml
webservers.yml
fooservers.yml
roles/
common/
tasks/
handlers/
library/
files/
templates/
vars/
defaults/
meta/
webservers/
tasks/
defaults/
meta/
By default Ansible will look in each directory within a role for a main.yml file for relevant
content (also main.yaml and main):
JAGUAR(ORANGE)
Techleap – IaaS & PaaS
library/my_module.py - modules, which may be used within this role (see Embedding modules
and plugins in roles for more information).
defaults/main.yml - default variables for the role (see Using Variables for more information).
These variables have the lowest priority of any variables available, and can be easily overridden
by any other variable, including inventory variables.
vars/main.yml - other variables for the role (see Using Variables for more information).
JAGUAR(ORANGE)
Pre-request every one again to join in every following groups to
get further updates and if you leave groups after your TFA and
stream tests you will miss your further updates for sure so just
stay connected.
Dm - https://t.me/angelnndevil
Materials/Channel/dumps -
https://t.me/adaccenturematerial