You are on page 1of 3

Q1: You can define and run multiple Docker containers using:?

a None

b Docker Cloud

c Docker Cluster

d None

e Docker Swarn

f Docker Hub

Q2: How to scale a service to 7 replicas in Docker Swarm??

a None

b docker service replica-set name_of_your_service_here=7

c docker service scale name_of_your_service_here=7

d docker service update name_of_your_service_here=7

e None

f docker service upgrade name_of_your_service_here=7

Q3: Which operator is used to check if two values are equal and of same data type??

a None

b !=

c ==

d=

e None

f ===

Q4: How can you count for a particular pattern occurrences in a file??
a grep −c “pattern” <file>

The correct Answer is: None

c cat <file> | wc -k “pattern”

d grep −k “pattern” <file>

The correct Answer is: None

f cat <file> | wc -l “pattern”

Q5: How many distinct, different values can you hold in an Enum field??

a None

b 255

c7

d None

e 65535

f 2 (True And False)

Q6: Which command is used to create an empty file.?

a mtfile

b mkfile

c None

d None

e touch

f file

Q7: tcpdump is a packet-sniffing Linux command that offers administrators the ability to
monitor what??

a None

b Files and directories


c Server performance

d Application performance

e None

f Network traffic and activity

Q8: Which statement is true for Replica set??

a Replica set is considered as a substitute to the replication controller. The prime


function of replica set is to assure the number of pod replicas running.

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

f Replica set is considered as the legacy replication controller. The prime function of
replica set is to remove the number of pod replicas running.

You might also like