You are on page 1of 3

Q1: How do you round the number 7.25, to the nearest integer??

a None

b Math.round(7.25)

c Math.rnd(7.25)

d round(7.25)

e None

f rnd(7.25)

Q2: Which command can be used to execute a command/s repeatedly for the given
schedule??

a crontab

The correct Answer is: None

c while

d set

e for

The correct Answer is: None

Q3: How to list pods sorted by Restart Count in Kubernetes??

a kubectl get pods --sort-by='.status.restartCount'

b None

c kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'

d None

e kubectl get pods by restartCount

f kubectl get pods --sort='.status.containerStatuses[0].restartCount'

Q4: Which command do we need to use if we want to see all packages installed on the
system (Ubuntu)?
The correct Answer is: None

b dpkg -l

c dpkg -a

d packageall -l

The correct Answer is: None

The correct Answer is: None

Q5: How do you declare a JavaScript variable??

a None

b None

c variable carName;

d None

e var carName;

f v carName;

Q6: How to write an IF statement for executing some code if "i" is NOT equal to 5??

a if (i <> 5)

b None

c None

d if i <> 5

e if i =! 5 then

f if (i != 5)

Q7: What is a Dockerfile??

a Docker can build audio automatically by reading the instructions from a file called
Dockerfile.
b Docker cannot be build images automatically by reading the instructions from a
file called Dockerfile.

c Docker can build images automatically by reading the instructions from a file
called Dockerfile.

d None

e None

f None

Q8: What is the correct HTML tag for inserting a line break??

a <break />

b None

c <lb />

d None

e <nbsp>

f <br />

Q9: Which argument do you need to specify in order to run a specific Ansible module??

a -ml

b --modules

c -m

d None

e --ansible-module

f None

You might also like