2 Module For WCQV

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Q1: What is a Headless Service??

a Headless Service is similar to that of a ‘Normal’ services but does not have a
Cluster IP.

b Headless Service is similar to that of a ‘Normal’ services but has a Cluster IP.

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q2: Which command would show you the logs of a running pod in Kubernetes??

The correct Answer is: None

b kubectl print pod-name

The correct Answer is: None

d kubectl log pod-name

e kubectl show -l pod-name

f kubectl logs pod-name

Q3: Is it possible to use COM component in PHP??

a None

b True

c None

d False

e None

f None

Q4: The Service Type _____________ works only if your cluster is setup to work with a cloud
provider.?
a ClusterIP

b LoadBalancer

c ExternalName

The correct Answer is: None

e NodePort

The correct Answer is: None

Q5: What is a WordPress taxonomy??

a In WordPress, a “taxonomy” is a grouping mechanism for some posts (or links or


custom post types).

b None

c None

d In WordPress, a “taxonomy” is a grouping mechanism for some pages .

e None

f In WordPress, a “taxonomy” is a grouping mechanism for some plugins .

Q6: How does a FOR loop start??

a for i = 1 to 5

b None

c None

d for (i <= 5; i++)

e for (i = 0; i <= 5)

f for (i = 0; i <= 5; i++)

Q7: HTML tags are surrounded by which type of brackets.?

a None
b Round

c Squart

d Angle

e Curly

f None

Q8: Which оf the following class centers tabs/pills??

a None

b None

c .nav-justified

d .nav Nav-pills

e .nav.navbar-nav

f .nav-stacked

Q9: Kubernetes cluster data is stored in which of the following??

The correct Answer is: None

The correct Answer is: None

c Kubelet

d None of the above

e Kube-apiserver

f Etcd

Q10: In HTML, onblur and onfocus are:?

a None

b Text styles

c Event attributes
d Style attributes

e None

f HTML elements

Q11: How can the result set of Mysql be handled in PHP??

a None

b None

c The result set can be handled using mysqli_fetch_array, mysqli_fetch_assoc,


mysqli_fetch_object or mysqli_fetch_row.

d None

e None

f The result set can be handled using mysqli_get_array

Q12: If we want to open a file for reading and writing which mode of the function fopen()
are we going to use:?

The correct Answer is: None

b x+

c r+

d w+

ex

fr

Q13: Which of the following is not true??

a PHP makes a website dynamic

b None

c PHP applications can not be compiled

d None
e PHP can not be embedded into html.

f PHP can be used to develop web applications.

Q14: How to remove unused data (all unused containers, networks, images (both dangling
and unreferenced), and optionally, volumes) in Docker.,?

a docker system --prune

b None

c None

d docker system prune sys

e None

f docker system prune

Q15: How to upload a docker image with the image name mentioned in the command to
Docker Hub.?

The correct Answer is: None

b $ docker upload geekflare/httpd_image

The correct Answer is: None

d $ docker put geekflare/httpd_image

The correct Answer is: None

f $ docker push geekflare/httpd_image

You might also like