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

Q1: How is the comparison of objects done in PHP??

a We use the operator '===' to test two objects are instanced from the same class
and have same attributes and equal values.

b We use the operator '=' to test two objects are instanced from the same class and
have same attributes and equal values.

c None

d None

e We use the operator '==' to test two objects are instanced from the same class and
have same attributes and equal values.

f None

Q2: Which command is used to copy file across different system??

a None

b rcp

c ncp

d rsync

e scp

f mcp

Q3: Which Ansible command will you use to install Apache on Ubuntu host??

a None

b None

c ansible your_host_name_here -b -m apt -a "name=apache2 state=latest"

d ansible your_host_name_here apt install "name=apache2 state=latest"

e ansible your_host_name_here -b -m wget -a "name=apache2 state=latest"

f ansible your_host_name_here -b -m yum -a "name=apache2 state=latest"


Q4: Which tag creates a check box for a form in HTML??

a None

b None

c <input type="checkbox">

d <input checkbox>

e <checkbox>

f <input=checkbox>

Q5: What is a Kubernetes volume??

a A directory for the data accessible to containers in a pod

b The software within an OS that controls capacity allocation for nodes

c Code that enables two software programs to communicate

d Layering software that puts apps into compartments for easier deployment

The correct Answer is: None

The correct Answer is: None

Q6: Which of the following method of Exception class returns formated string of trace??

a getString()

b getTraceString()

c getTraceAsString()

d getCode()

e getMessage()

f getTrace()

Q7: Which command opens the interactive PHP shell from the command line interface??
a php _run

b php -a

c php artisian

d php -int

e php -s

f php -i

Q8: Which HTML tag would be used to display power in expression (A+B)2 ??

a <b>

b None

c <sup>

d <sub>

e None

f <p>

Q9: ____________ function in PHP Returns a list of response headers sent (or ready to send)?

a header_send()

b None

c header_sent()

d None

e headers_list()

f header()

Q10: Which command is used to create resources in Kubernetes??

a kubectl fuse -f ./my-manifest.yaml

b None
c kubectl deploy -f ./my-manifest.yaml

d kubectl apply -f ./my-manifest.yaml

e None

f kubectl create -f ./my-manifest.yaml

Q11: Which command can be used to change file access permission bits??

a chperm

The correct Answer is: None

The correct Answer is: None

d chown

e umask

f chmod

You might also like