You are on page 1of 4

Q1: How to delete a pod in Kubernetes using the type and name specified in pod.json??

a kubectl delete -f ./pod.json

b None

c kubectl delete ./pod.json

d kubectl remove -f ./pod.json

e kubectl remove ./pod.json

f None

Q2: Which command can be used to execute a command/s repeatedly for the given
schedule??

The correct Answer is: None

b set

The correct Answer is: None

d while

e for

f crontab

Q3: Which of the following are true for a pod in Kubernetes??

The correct Answer is: None

b Pods are the simplest units in the Kubernetes object model that you create or
deploy

c A Pod represents processes running on your Cluster

d A pod is the same as a container

e You can have only 1 container running in 1 pod

The correct Answer is: None

Q4: Which command would you use to get the hostname of a remote host with Ansible?
a None

b ansible your_server -m setup -a filter=*hostname*

c ansible your_server -m env -a filter=*hostname*

d None

e ansible your_server -m setup -a field=*hostname*

f ansible your_server -m setup -a get=*hostname*

Q5: How can you display the top 10 number of lines of a file??

a head −n 10 file.txt

b head -show 10 file.txt

The correct Answer is: None

d head -f 10 file.txt

e head --display-only 10 file.txt

The correct Answer is: None

Q6: PHP server scripts are surrounded by delimiters, which??

a None

b <?php>...</?>

c <?php...?>

d None

e <&>...</&>

f <script>...</script>

Q7: Which level of Abstraction describes what data are stored in the Database??

a View Level
b Abstraction Level

c Logical Level

d Physical Level

e None

f None

Q8: Tags and text that are not directly displayed on the page are written in _____ section.?

a None

b <body>

c <title>

d None

e <html>

f <head>

Q9: Can echo in PHP accept more than 1 parameter??

a None

b None

c False

d None

e True

f None

Q10: In order to add a new column to an existing table in SQL, which command do we need
to use??

a ALTER TABLE

b ALTER COLUMNS

c EDIT TABLE
d None

e MODIFY TABLE

f None

You might also like