You are on page 1of 4

Q1: 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

Q2: What happens when you use this 'kill %s' command??

a All jobs with command beginning with ‘s’ will be terminated

b The last job with 's' will be terminated

c The first job with 's' will be terminated

d System processes will be stopped

e None

f None

Q3: Choose the odd one out.?

a None

b csh

c None

d ksh

e bsh

f Kernel

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


a None

b None

c kubectl get pods by restartCount

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

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

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

Q5: What does vlink attribute mean??

a virtual link

b None

c active link

d None

e visited link

f very good link

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

a kubectl get nodes -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 None

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


| xargs kubectl delete -n myns pod

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


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

Q7: The Service Type _____________ works only if your cluster is setup to work with a cloud
provider.?
a LoadBalancer

The correct Answer is: None

c ClusterIP

The correct Answer is: None

e NodePort

f ExternalName

Q8: Choose the correct HTML Tag to make a text Italic?

a <it>

b None

c None

d <il>

e <italic>

f <i>

Q9: ______ is used to destroy a variable in PHP ??

a None

b unset()

c unlink()

d delete()

e destroy()

f None

Q10: How to copy a file from a docker container to the local system.?

The correct Answer is: None


The correct Answer is: None

c $ sudo docker cut

The correct Answer is: None

e $ sudo docker copy

f $ sudo docker cp

You might also like