You are on page 1of 4

Q1: Following Docker command: docker commit -m "My first update" container_ID

user_name/repository_name is used to:?

a Commit changes done in a Docker image

b Activate default VM machine

c Access a running container

d Build an image

The correct Answer is: None

The correct Answer is: None

Q2: How do you create secrets in Kubernetes??

a kubectl create secret generic db-user-pass --from-file=./username.txt --from-


file=./password.txt

The correct Answer is: None

c kubectl generate secret generic db-user-pass --from-file=./username.txt --from-


file=./password.txt

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q3: How to retrieve the join token for manager nodes in Docker Swarm??

a None

b docker get join-token manager

c docker print join-token manager

d None

e docker swarm token manager

f docker swarm join-token manager


Q4: How can we pass the variable through the navigation between the pages??

a using sessions, cookies or hidden form fields.

b None

c using routings, headers or hidden form fields.

d None

e using href link

f None

Q5: If we want to be sure a file will be created if it doesn't exesit with fopen() which mode of
the function are we going ot use:?

a w+

b x+

cx

d a+

e r+

fa

Q6: What is HTTP middleware in Laravel??

a HTTP middleware is a technique for filtering HTTP requests.

b None

c HTTP middleware is a web server used by Laravel similar to Apache and Nginx.

d HTTP middleware is a technique for installing Laravel via HTTP.

e HTTP middleware is a technique for updating Laravel via HTTP.

f None

Q7: __________________ is responsible for health check of the pods running on individual nodes?
The correct Answer is: None

b Kubelet

c Kubectl

d Kube scheduler

e Kube controller manager

The correct Answer is: None

Q8: Is PHP case sensitive?

a Depending on the PHP version either Yes and No

b None

c None

d True

e False

f None

Q9: Which argument will you use to specify a variable for your Ansible playbook??

a -e

b -a

c None

d -c

e -v

f None

Q10: What are the three classes of errors that can occur in PHP??

a notices

b fatal errors
c None

d All of the mentioned

e None

f warnings

Q11: What is the function to get website url in wordpress??

a None

b None

c get_site_url();

d get_website_url();

e get_url();

f None

Q12: Which arithmetic operator you can not use??

a-

b\

c*

d All are valid

e+

f%

You might also like