Uploaded by astroonomicall

1 Psset for BBOG

advertisement
Q1: How to show the metrics for a given node in Kubernetes??
a None
b None
c kubectl top node my-node
d kubectl uptime node my-node
e kubectl resources node my-node
f kubectl ps node my-node
Q2: When looking for all the processes running on a Linux system, what command should
you use??
a None
b oterm
c xrun
d None
e service
f ps
Q3: The following command can be used for turning off or restarting a Linux host.?
a None
b None
c exit
d shutdown
e reboot
f taskkill
Q4: What will be printed if we run the following code? <?php $var = 'false'; if ($var) { echo
'true'; } else { echo 'false'; }?
a True
b None
c None
d None
e False
f None
Q5: Can I run several versions of PHP at the same time??
a None
b True
c None
d False
e None
f None
Q6: A Docker image provides a template for a container with all the necessary files of an
application, but has no instructions to run it.?
The correct Answer is: None
The correct Answer is: None
c True
The correct Answer is: None
e False
The correct Answer is: None
Q7: The default location of the ansible.cfg file is:?
a None
b /etc/ansible.cfg
c /home/ansible/ansible.cfg
d /etc/ansible/ansible.conf
e /etc/ansible/ansible.cfg
f None
Q8: Which of the following is NOT a valid mode fopen() mode :?
aw
ba
cr
dx
e x+
f r+
Q9: DISTINCT keyword is used for:?
a There is no such keyword
b None
c To speed up the selection for a specific field
d For selecting only unique records by a specific field
e None
f To reduce the load on the server with loss of query performance
Q10: Which command would you use to gather facts with Ansible??
a ansible your_server -m info
b ansible your_server -m gather
c None
d ansible your_server -m setup
e None
f ansible your_server -m fact
Q11: What are Shortcodes in WordPress and how we can use it??
a Shortcodes is a specific code that is used to do control loop.
b Shortcodes is a specific code that is used to do several tasks with less effort. Also,
it is synonymous with the shortcut.
c Shortcodes is a specific code that is used to do recursion.
d None
e None
f None
Q12: HTML supports?
a unordered lists
b both type of lists
c ordered lists
d None
e None
f does not support those types
Q13: When patching resources in Kubernetes, how to partially update a node??
a kubectl patch node k8s-node-1 -pr '{"spec":{"unschedulable":true}}'
b None
c kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'
d None
e kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":false}}'
f kubectl patch node k8s-node-1 -p '{"patch":{"unschedulable":true}}'
Q14: You can define and run multiple Docker containers using:?
a Docker Hub
b Docker Swarn
c None
d Docker Cloud
e Docker Cluster
f None
Download