You are on page 1of 4

Q1: How can you create a static page with WordPress??

a None

b To create a static page in WordPress, in the page section you have to upload a
HTML file to the server in the theme folder, and then select that as your template.

c None

d None

e To create a static page in WordPress, in the page section you have to upload a PHP
file to the server in the theme folder, and then select that as your template.

f To create a static page in WordPress, in the page section you have to upload a PERL
file to the server in the theme folder, and then select that as your template.

Q2: Why do we need HTML5 Server-Sent Events??

a None

b Server-Sent Events (SSE) is a recent HTML5 specification in combination with the


EventSource API designed for getting POST and GET request.

c None

d Server-Sent Events (SSE) is a recent HTML5 specification in combination with the


EventSource API designed for streaming updates.

e None

f None

Q3: How are functions in PHP which starts with __ (double underscore) known as??

a User Defined Function

b Default Function

c None

d Inbuilt Function

e None
f Magic Function

Q4: How do you create a cookie in PHP??

a None

b getcookie()

c setcookie()

d None

e makecookie()

f createcookie

Q5: Which of the following method acts as a destructor function in a PHP class??

a destructor

The correct Answer is: None

c __destruct

d class_name()

e destructor()

The correct Answer is: None

Q6: How to show the metrics for a given node in Kubernetes??

a kubectl top node my-node

b kubectl resources node my-node

c None

d kubectl ps node my-node

e None

f kubectl uptime node my-node

Q7: How to scale a service to 7 replicas in Docker Swarm??


a docker service scale name_of_your_service_here=7

b None

c None

d docker service update name_of_your_service_here=7

e docker service replica-set name_of_your_service_here=7

f docker service upgrade name_of_your_service_here=7

Q8: Which of the following is used to declare a constant?

a const

b define

c constant

d def

e None

f None

Q9: Which of the answers listed below refers to a Linux command that allows for assuming
the identity of a different system user and executing commands with security privileges of
that user account??

a None

b usermod

c su

d id

e None

f sync

Q10: How to watch rolling update status of "frontend" deployment until completion in
Kubernetes??
a kubectl rollout status -w deployment/frontend

b kubectl rollout status -s deployment/frontend

c kubectl rollout status --live deployment/frontend

d None

e kubectl rollout status -l deployment/frontend

f None

Q11: How do you create a new Docker image and store it on the local system??

a docker commit <conatainer id> <username/imagename>

b None

c docker add <conatainer id> <username/imagename>

d docker --commit <conatainer id> <username/imagename>

e None

f None

Q12: What is the command line interface used to communicate with Kubernetes??

a kubelet

b kubectl

c k8sctl

d kubeapi

The correct Answer is: None

The correct Answer is: None

You might also like