You are on page 1of 6

Q1: 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 kubectl print pods -n myns --no-headers=true | awk '/pattern1/2|pattern2/{print


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

d None

e None

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


| xargs kubectl delete -n myns pod

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

a True

b None

c None

d None

e False

f None

Q3: How to update the container's configurations which shows all the update options.?

a None

b None

c None

d $ docker update -help

e $ docker update --help

f $ docker update help


Q4: How can you edit a WordPress comment??

a You can edit WordPress comment using the profile. From the panel, under the
Comments option, select edit to edit a comment.

b None

c You can edit WordPress comment using the dashboard. From the panel, under the
Comments option, select edit to edit a comment.

d None

e None

f You can edit WordPress comment using the command. From the panel, under the
Comments option, select edit to edit a comment.

Q5: As soon a service starts, ________ daemon running on each node add a set of environment
variables on the pod for each active service.?

a Service discovery

The correct Answer is: None

c Kubeadm

d Kubelet

The correct Answer is: None

f Kubectl

Q6: What is Gravatar??

a A Plugin

b CMS

c None

d Profile Image

e WordPress core functionality

f Globally Recognized Image or Photo


Q7: How to dump the whole MySQL database to a file??

a None

b mysql -e "select * from table" database > dumpfile.txt

c mysql -e "select * from table" -u user -pxxxxxxx database > dumpfile.txt

d None of the above

e SELECT * from table FIELDS TERMINATED BY ',' ENCLOSED BY "" LINES


TERMINATED BY 'n'

f None

Q8: What is a load balancer in Kubernetes??

a load balancer is a method for partitioning service

b load balancer is a method for exposing service

c load balancer is a method for seperating service

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q9: INSERT keyword is used for:?

a manage users

b None

c adding data

d to select data

e to change data

f None

Q10: Which of the following are commonly found in web pages??


a all of the above

b None

c internet

d hyperlinks

e intranet

f None

Q11: Which cryptographic extension provides generation and verification of digital


signatures??

a None

b PHP-SSL

c None

d None

e PHP-OpenSSL

f PHP-CloseSSL

Q12: If you wish to have something mounted when the server is booted in which file would
you need to add it:?

a /etc/grub.conf

The correct Answer is: None

c /etc/boot

The correct Answer is: None

e /etc/boot.conf

f /etc/fstab

Q13: Distinguish between cmp and diff commands??


a ‘diff’ shows all the differences from two file whereas ‘cmp’ shows the only the first
occurring difference. The said is applicable only if differences between the files do exist.

b ‘cmp’ shows the last difference from two file whereas ‘diff’ shows the only the first
occurring difference. The said is applicable only if differences between the files do exist.

The correct Answer is: None

The correct Answer is: None

e ‘diff’ shows the last difference from two file whereas ‘cmp’ shows the only the first
occurring difference. The said is applicable only if differences between the files do exist.

f ‘cmp’ shows all the differences from two file whereas ‘diff’ shows the only the first
occurring difference. The said is applicable only if differences between the files do exist.

Q14: PHP is an example of ___________ scripting language.?

a Browser-side

b None

c None

d Client-side

e In-side

f Server-side

Q15: What do you mean by the custom field in WordPress??

a None

b None

c Custom fields are also known as get meta. Get meta is a feature in WordPress
which allows get authors to add additional information at the time writing a post.

d Custom fields are also known as request meta. request meta is a feature in
WordPress which allows post authors to add additional information at the time writing a
post.

e None
f Custom fields are also known as post meta. Post meta is a feature in WordPress
which allows post authors to add additional information at the time writing a post.

You might also like