wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz final Topic Test 03_DevOps01

Total questions: 87

Worksheet time: 1hrs 27mins

Name
Class
Date
1.
a)

Java and C++

b)

C++ and C

c)

Groovy and Grails

d)

Ruby on Rails and Go

2.
a)

Outer Layer

b)

Application Layer

c)

Middle Layer

d)

Storage Layer

e)

Web Layer

3.
a)

Redis

b)

ActiveMQ

c)

RabbitMQ

d)

MongoDB

e)

ZeroMQ

4.
a)

Application Layer

b)

Middle Layer

c)

Messaging Layer

d)

Storage Layer

e)

Outer Layer

5.
a)

Coordination Layer

b)

Middle Layer

c)

Inner Layer

d)

Application Layer

6.
a)

Policy test

b)

Plan

c)

Fake

d)

Taint

e)

No state

7.
a)

Rebuild

b)

Plan

c)

takedown-takeup

d)

Taint

8.
a)

The /tmp directory in Linux and the /%temp%/ directory in Windows

b)

The root directory of the Terraform application installation

c)

The local-remote state directory

d)

The current working directory

9.
a)

Critical

b)

Deceased

c)

Degraded

d)

Deposed

10.
a)

Any directory that you are in where you run a terraform command.

b)

A repository in a code versioning system that stores Terraform files.

c)

A cache in memory for the Terraform state.

d)

A subsection of a backend. The place where persistent data is stored in the backend. (The backend is either a local location on the Terraform server or a remote, centralized location for Terraform files.)

e)

A subsection of Terraform Cloud.

11.
a)

VMware vSphere

b)

F5 BIG-IP

c)

Bitbucket

d)

Chef

e)

All of the above

12.
a)

A reusable .tf file that involves one or more variables.

b)

An atomic element of a desired state of configuration.

c)

A group of resources.

d)

The variable settings of a compiled file.

e)

Stand-alone group of Terraform resource configurations.

13.
a)

Run "terraform fmt"

b)

Run "terraform console"

c)

Run "terraform state"

d)

Develop a solution yourself that is customized.

14.
a)

format

b)

Gnome rasterizer

c)

GraphViz

d)

Kibana transition

15.
a)

Options to rollback the changes Terraform makes.

b)

Links between Terraform resources.

c)

One or more URLs in a .tf file.

d)

.tf files that are used once a state file has been applied.

16.
a)

A set of commands that run when an AWS EC-2 instance boots for the first time.

b)

A set of commands that run when a new VM boots for the first time.

c)

All of the above.

d)

None of the above.

17.
a)

A website hosted on terraform.io that is also integrated with the Terraform product to provide a collection of Terraform modules.

b)

An internal, private component of Terraform Enterprise edition that hosts .tf files for multiple people to use.

c)

The list of initialized resource configurations on a given Terraform server.

d)

A binary file compiled from another .tf file.

18.
a)

Java

b)

C

c)

Python

d)

Go

e)

Erlang

19.
a)

Run "terraform state rollback".

b)

"tf backout" to remove the changes applied from the previous "tf apply" command.

c)

Run "tf rollback".

d)

There is no supported way to do this.

e)

"tf unapply nameof.tf" where nameof.tf is the Terraform file you want to rollback.

20.
a)

0

b)

1

c)

2

d)

3

21.
a)

Terragrunt is a JavaScript task scheduler and Terratest is for testing Golang code

b)

Terragrunt is proprietary and Terratest is open source

c)

Terratest is for testing Terraform code, whereas Terragrunt helps you write Terraform code efficiently

d)

There is no difference

22.
a)

The hash symbol "#"

b)

Two forward slashes: "//"

c)

A forward slash and asterisk closed by an asterisk and forward slash ("/" and "/").

d)

All of the above.

e)

None of the above.

23.
a)

String directives use %. String interpolations use $

b)

String directives use $. String interpolations use %

c)

Both use %

d)

Both use $

e)

None of the above.

24.
a)

String directives allow you to reference Terraform code within a string. String interpolations allow you to use control statements.

b)

String interpolations allow you to reference Terraform code within a string. String directives allow you to use control statements.

c)

String interpolations allow you to read input interactively and string directives convert variables into strings.

d)

None of the above.

25.
a)

len

b)

length

c)

count

d)

None of the above.

26.
a)

a set

b)

a map

c)

a list/array

d)

A and B

e)

A and C

27.
a)

terraform namespaces

b)

terraform workspaces

c)

terraform modules

d)

terraform providers

e)

terraform provisioners

28.
a)

Use the --hide-vars flag when you run the relevant terraform command.

b)

Use the "sensitive = true" stanza in the relevant .tf file.

c)

Have the main.tf file be configured with the "variables_obfuscate = true" stanza

d)

Use the "nolog = true" stanza in the relevant .tf file.

29.
a)

Provisioners are faster than User Data

b)

Scripts in User Data cannot be more than 16 KB

c)

Better support for configuration management tools such as Chef, Puppet, and SaltStack

d)

There are inherent security advantages when you use provisioners

30.
a)

Run "terraform undo"

b)

Run "terraform rollback"

c)

Run "tf revert"

d)

None of the above.

31.
a)

The desired state of configuration

b)

An optional goal for a Terraform module

c)

The lowest (floating point / decimal) number inclusive of what it points to

d)

The highest (floating point / decimal) number inclusive of what it points to

e)

None of the above.

32.
a)

Something that Jenkins may use when it is configured to perform builds in Docker. When Jenkins processes Terraform jobs in such a way, the workspace is called Terraform workspace.

b)

A sandboxed environment in the provider Terraform is configured for.

c)

The environment in context for Terraform (such as Dev, QA or production).

d)

None of the above.

33.
a)

Compile

b)

Destroy

c)

ValidateResource

d)

Taint

34.
a)

Continuous Integration tool

b)

Configuration Management tool

c)

Continuous Monitoring tool

d)

Configuration Deployment tools

35.
a)

Git

b)

Gitlab

c)

Ansible

d)

Github

36.
a)

Python

b)

java

c)

C++

d)

C#

37.
a)

Konrad Zuse

b)

James Gosling

c)

Michael Dehaan

d)

Larry Wall

38.
a)

2012

b)

2013

c)

2010

d)

2011

39.
a)

Playbook->Play->Tasks->Task

b)

Playbook->Play->Task->Tasks

c)

Play->Playbook->Tasks->Task

d)

Playbook->Tasks->Play-Task

40.
a)

Ruby

b)

DSL

c)

Python

d)

YAML

41.
a)

JSON format

b)

XML format

c)

HTML format

d)

YAML format

42.
a)

 ansible-playbook install.yml

b)

 ansible install.yml

c)

 ansible --playbook install.yml

d)

ansible -p install.yml

43.
a)

 -v

b)

 -e

c)

 -c

d)

 -a

44.
a)

 false

b)

 true

45.
a)

 It means that the command must be retried until it succeeds

b)

It means that the service needs to be started once installed

c)

 It means that the worker node should become a manager node

d)

 It means that we would run all commands as root

46.
a)

JSON

b)

   YAML

c)

XML

d)

  HTML

47.
a)

  Kubernetes CoreOS' rkt

b)

  Canonical's LXD

c)

    Windows Server Containers

48.
a)

Docker will return a 408: image not found message.

b)

  Docker will return a 404: file not found message.

c)

  Docker will pull the image from GitHub.

d)

  Docker will pull the image from Docker Hub.

49.
a)

   Dockerfile

b)

  Jenkinsfile

c)

   docker-compose

d)

dockerimage

50.
a)

  Docker allows you to run images and build containers.

b)

  Docker allows you to run containers and build images.

c)

  Docker allows you to run and build containers.

d)

  Docker allows you to run and build images.

51.
a)

   a butler

b)

    a sailboat

c)

    an Octocat

d)

   a whale

52.
a)

A.      Java

b)

C

c)

C++

d)

Go

53.
a)

  cloud computing

b)

     DevOps

c)

  virtual machines

54.
a)

   Windows

b)

Linux

c)

    MacOS

d)

    Android

55.
a)

   namespaces

b)

    control groups

c)

      Kubernetes

d)

    security groups

56.
a)

Command line

b)

Any of the above

c)

Docker Datacenter

d)

Graphical user interface

57.
a)

A developer who loves Docker and containerization, frequently espousing its virtues

b)

Any folder or document to run Docker components

c)

A template used to describe the build of an image

d)

Any report or document that Docker components produce

58.
a)

Container and data security

b)

Log analysis and reporting

c)

The container lifecycle of its Linux or Windows host system

d)

The resources necessary to run the container

59.
a)

Docker Hub

b)

Docker Registry

c)

Docker Swarm

d)

Both A & B

60.
a)

an open-source lightweight containerisation technology

b)

an operating system

c)

language

d)

None of the above

61.
a)

Easy Modeling

b)

Version control

c)

Placement/Affinity

d)

All of the above

62.
a)

read-only template

b)

Docker platform

c)

language

d)

None of the above

63.
a)

an open-source containerisation technology for building and containerising your applications

b)

operating system

c)

language

d)

read only template

64.
a)

a container orchestration tool

b)

read only template

c)

centralisation platform

d)

None of the above

65.
a)

a service provided by Docker for finding and sharing container images with your team

b)

centralised tool

c)

platform

d)

All of the above

66.
a)

Virtualization

b)

Docker hub

c)

Docker swarm

d)

All of the above

67.
a)

hypervisor

b)

Version control

c)

Virtualization

d)

hub

68.
a)

docker info

b)

docker pull

c)

docker stats

d)

None of the above

69.
a)

docker push myorg/img

b)

/var/lib/docker/volumes

c)

systemctl start/stop docker

d)

docker-compose -f docker-compose. json up

70.
a)

Build

b)

Pull

c)

Run

d)

All of the above

71.
a)

Container Networking Model

b)

Central Networking Model

c)

Container Networking Method

d)

All of the above

72.
a)

Client

b)

Docker-Host

c)

Registry

d)

All of the above

73.
a)

Running

b)

Paused

c)

Restarting

d)

Exited

e)

All of the above

74.
a)

$ docker ps

b)

$ docker all

c)

$ docker sp

d)

All of the above

75.
a)

A. Offers an efficient and easy initial set up.

b)

B. Documentation provides every bit of information.

c)

C. Allows you to describe your application lifecycle in detail.

d)

D. Simple configuration and interacts with Docker Compose.

e)

E. All of the above

76.
a)

A single system made up of servers and other resources

b)

A computer program or device that provides services to other computers

c)

A specific set of ordered operations

d)

A software package that performs a specific function for an end user

77.
a)

An application environment installed on software that imitates dedicated hardware

b)

A package that relies on virtual isolation technology to deploy and run applications that access a shared OS kernel

c)

A large metal box that is used to hold or transport something

d)

A unit that stores data on a computer's memory drive

78.
a)

A collection of physical IT components that supports a group of containers

b)

A collection of logic circuitry that evaluates a computer's operational code

c)

Where you find peas

d)

One or more containers grouped together to share resources and run as a unit

79.
a)

To communicate with hosts on a network

b)

To store data collected by the OS

c)

To run pods according to master components

d)

To channel incoming data from multiple input ports to a specific port

80.
a)

To supplant an authentic webpage in a search engine's index and search page results

b)

To connect external parties and route data between internal and external containers

c)

To act as an intermediary between an endpoint device and another server

d)

To relay connection requests for inbound network traffic

81.
a)

A node agent that manages pods and their containers

b)

Software that is used to run containers outside of pods

c)

A smaller version of Kubernetes

d)

A device that collects data in an organized manner for easy access

82.
a)

To prevent clones from invading other clusters

b)

To monitor and respond to environmental latency

c)

To duplicate pods

d)

To create and maintain volumes

83.
a)

To manage clusters of pods

b)

To regulate communication between Kubernetes and clusters

c)

To move workloads from one host to another

d)

To control nodes

84.
a)

A way to run a copy of a pod on all or some nodes

b)

A method to manage clusters of pods

c)

A channel through which to pass information between two or more nodes

d)

A system to connect nodes and pods

85.
a)

To classify functions

b)

To tag containers and link them together in groups

c)

To assign functions to pods

d)

To be ignored by millennials

86.
a)

To store all the cluster data, maintain its state and provide access to critical data

b)

To link a unique identifier to a value

c)

To encrypt cluster data and send it to a secrets manager

d)

To authenticate cluster data

87.
a)

The software within an OS that controls capacity allocation for nodes

b)

A directory for the data accessible to containers in a pod

c)

Layering software that puts apps into compartments for easier deployment

d)

Code that enables two software programs to communicate