You are on page 1of 5

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

a None

b kubectl delete ./pod.json

c kubectl remove -f ./pod.json

d kubectl remove ./pod.json

e None

f kubectl delete -f ./pod.json

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

a destroy()

b delete()

c None

d unset()

e None

f unlink()

Q3: Which of the following method can be used to create a MySql database using PHP??

a mysql_query()

b mysql_connect()

c mysql_create()

The correct Answer is: None

e mysql_close()

f None of the mentioned

Q4: Which command can be used to determine file type by its content??
a ls –l

b None of the above.

c None

d file

e type

f None

Q5: Which of the following are features of Kubernetes??

a Batch execution

b Secrets and configuration management

The correct Answer is: None

d Self-healing

e Kubernetes Swarm

The correct Answer is: None

Q6: HTML comments start with <!-- and end with -->?

a None

b True

c None

d False

e None

f None

Q7: Which command will you use to check your Ansible version??

a ansible v

b ansiblectl v
c ansible-ctl --version

d None

e None

f ansible --version

Q8: How can you find the status of a Docker container??

The correct Answer is: None

The correct Answer is: None

c The command “docker ps -p” is used for identifying the status of a Docker
container.

d The command “docker ps status” is used for identifying the status of a Docker
container.

e The command “docker ps -a” is used for identifying the status of a Docker
container.

The correct Answer is: None

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

a Kubectl

b Kubeadm

The correct Answer is: None

The correct Answer is: None

e Service discovery

f Kubelet

Q10: Which of the following variable is used to get user's browser and operating system
details in PHP??

a None of the above.


b None

c HTTP_USER_AGENT

d AGENT

e USER

f None

Q11: Which of the following function sorts an array in reverse order??

The correct Answer is: None

b reset()

The correct Answer is: None

d rsort()

e sort()

f shuffle()

Q12: You can add a row using SQL in a database with which of the following??

a None

b MAKE

c CREATE

d INSERT

e None

f ADD

Q13: How to stream pod logs (stdout) in Kubernetes??

a kubectl stream -f my-pod

b kubectl pod -f my-pod

c None
d kubectl logs -f my-pod

e kubectl logs my-pod

f None

Q14: What is service container in Laravel??

a None

b Dockerized Laravel applications are called service containers.

c None

d None

e None

f Service container is a tool used for performing dependency injection in Laravel.

Q15: What is UMASK??

The correct Answer is: None

b UMASK is a Unix environment variable, which is replaced by the chmod command


now however it's still largely used.

The correct Answer is: None

d UMASK is a Unix environment variable, which automatically sets file permissions


created files.

e UMASK is a Unix environment variable, which automatically sets the file visibility.

f UMASK is a Unix environment variable, which not really used anymore and is
considered legacy.

You might also like