You are on page 1of 3

Q1: Which command would you use to gather facts with Ansible??

a ansible your_server -m fact

b ansible your_server -m info

c ansible your_server -m setup

d None

e None

f ansible your_server -m gather

Q2: When is the switch statement used:?

The correct Answer is: None

The correct Answer is: None

c The switch statement is used to avoid long blocks of loops like do...while code.

d The switch statement is used to avoid long blocks of if..elseif..else code

e The switch statement is used when statements like if..elseif..else do not work.

The correct Answer is: None

Q3: How does a FOR loop start??

a for (i <= 5; i++)

b for i = 1 to 5

c None

d None

e for (i = 0; i <= 5)

f for (i = 0; i <= 5; i++)

Q4: If you insert (00) as the value of the year in a date column, what will be stored in the
database??
a None

b Cannot be determined

c 0000

d 2000

e None

f 1900

Q5: You remove a paused container from Docker?

a None

b None

c None

d True

e None

f False

Q6: ______ is distributed key-value store that provides a reliable way to store data that needs
to be accessed by a distributed system or cluster of machines.?

a etcd

b A Kubernetes pod

c A Kubernetes volume

The correct Answer is: None

e A Kubernetes service

The correct Answer is: None

Q7: How do you write "Hello World" in PHP?

a echo "Hello World";

b None
c None

d display "Hello World";

e Document.Write("Hello World");

f "Hello World";

Q8: Which description best fits a DaemonSet??

The correct Answer is: None

The correct Answer is: None

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

d A method to manage clusters of pods

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

f A system to connect nodes and pods

You might also like