You are on page 1of 4

Q1: If you vaguely remember the command and you’d like to confirm it, how will you get

help on that particular command??

a None

b docker help

c None

d docker -help

e None

f docker --help

Q2: How to delete all pods in Kubernetes matching the awk pattern1 or pattern2??

a kubectl get pods -n myns --no-headers=true | awk '/pattern1|pattern2/{print $1}'


| xargs kubectl delete -n myns pod

b kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print


$1}' | xargs kubectl delete -n myns pod

c None

d kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print


$1}' | xargs kubectl remove -n myns pod

e None

f kubectl get nodes -n myns --no-headers=true | awk '/pattern1|pattern2/{print $1}'


| xargs kubectl delete -n myns pod

Q3: In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:?

a None

b True

c None

d False

e None
f None

Q4: How to compares the current state of the cluster against the state that the cluster would
be in if the manifest was applied in Kubernetes??

a kubectl state -f ./my-manifest.yaml

b None

c kubectl log -f ./my-manifest.yaml

d kubectl show -f ./my-manifest.yaml

e kubectl diff -f ./my-manifest.yaml

f None

Q5: Null is used as a place holder for optional fields?

a True

b False

c None

d None

e None

f None

Q6: How can you create an E-mail link??

a None

b <a Href="a@b">

c <mail Href="a@b">

d <mail>a@b</mail>

e None

f <a Href="mailto:a@b.com">

Q7: Did Docker pioneer container technology??


a True

b False

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q8: What is the difference between Wordpress Posts and Wordpress Pages??

a There is absolutely no difference between Posts and Pages.

b Posts are entries listed in reverse chronological order on the site homepage and
Pages are static and are not listed by date.

c None

d None of the above.

e None

f Pages are entries listed in reverse chronological order on the site homepage and
Posts are static and are not listed by date.

Q9: How to start a container??

a $ docker start <container_id>

The correct Answer is: None

c $ docker -->start <container_id>

d $ docker push <container_id>

The correct Answer is: None

The correct Answer is: None

Q10: How do we access the value of 'd' later? $a = array( 'a', 3 => 'b', 1 => 'c', 'd' );?
a $a[3]

b None

c $a[0]

d $a[1]

e $a[2]

f $a[4]

Q11: How do you list all the running Docker containers??

a $ docker ps

The correct Answer is: None

c $ docker --ps

The correct Answer is: None

e $ -docker ps

The correct Answer is: None

Q12: What command is used to permanently remove a record from a database table??

a None

b REMOVE

c None

d DELETE

e DROP

f CUT

You might also like