3 Notes For PMXW

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

Q1: Which tag inserts a line horizontally on your web page??

a None

b <tr>

c <line>

d None

e <line direction="horizontal">

f <hr>

Q2: How to list all pods that are either labelled with env=development or with
env=production?

The correct Answer is: None

b $ kubectl get pods 'env in (production, development)'

The correct Answer is: None

The correct Answer is: None

e $ kubectl get pods -l 'env in (production, development)'

The correct Answer is: None

Q3: PHP can be run on Microsoft Windows IIS(Internet Information Server):?

a None

b None

c None

d False

e True

f None

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


The correct Answer is: None

The correct Answer is: None

c shuffle()

d rsort()

e sort()

f reset()

Q5: In the context of Kubernetes, what is a container??

The correct Answer is: None

The correct Answer is: None

c A large metal box that is used to hold or transport something

d An application which requires dedicated hardware to run on

e A unit that stores data on a computer's memory drive

f A container is a standard unit of software that packages up code and all its
dependencies so the application runs quickly and reliably from one computing environment
to another

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

a None

b docker print join-token manager

c docker swarm join-token manager

d None

e docker swarm token manager

f docker get join-token manager

Q7: What is Minikube?

a A tool for running Kubernetes locally


b An abstraction used by Kubernetes to support multiple virtual clusters on the
same physical cluster

c None

d Specification of a Kubernetes API object in JSON or YAML format

e A pod object that a kubelet uses to represent a static pod

f None

Q8: What language is an Ansible playbooks are written in by default??

a YAML format

b XML format

c None

d JSON format

e HTML format

f None

Q9: How to get all resources with simple output (just the resource name) in Kubernetes??

a kubectl api-resources name

b kubectl api -r name

c None

d None

e kubectl api -o name

f kubectl api-resources -o name

Q10: Following Docker command: docker build -t my_user/repo_name:1.0 is used to:?

The correct Answer is: None

b Access a running container

c Activate default VM machine


d Build an image

The correct Answer is: None

f Commit changes done in a Docker image

Q11: MySQL comes with a standard client libraries for:?

a PHP And C

b Java Only

c Perl, Java And C

d None

e C Only

f None

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

a True

b None

c None

d None

e None

f False

Q13: What is the correct HTML for creating a hyperlink??

a <a href="http://www.w3schools.com">W3Schools</a>

b <a url="http://www.w3schools.com">W3Schools.com</a>

c None

d <a name="http://www.w3schools.com">W3Schools.com</a>

e <a>http://www.w3schools.com</a>
f None

You might also like