3 HW For NAEZ

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

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

a None

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

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

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

e None

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

Q2: How to compares the current state of the cluster against the state that the cluster would
be in if the manifest was applied in Kubernetes??

a None

b kubectl show -f ./my-manifest.yaml

c kubectl log -f ./my-manifest.yaml

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

e kubectl diff -f ./my-manifest.yaml

f None

Q3: How can you change table sctructure after it was created??

a MODIFY TABLE

b It's not possible to change the structure

c UPDATE TABLE

d None

e ALTER TABLE

f CHANGE TABLE

Q4: What will the following command do - $ chmod 888 file?


a It enables r,w,x premissions for all users

b It enables r,w,x permissions only for owner of the file

c It disables r,w,x premissions for all users

d None of the above.

e None

f None

Q5: What is the correct syntax of the usermeta function in Wordpress??

a get_user_meta( int $user_id, string $key = '', bool $single = false )

b None

c None

d None

e get_user_meta( int $user_id, string $key = '', bool $single = true )

f get_user( int $user_id, string $key = '', bool $single = true )

Q6: What happens when you use this 'kill %s' command??

a System processes will be stopped

b The last job with 's' will be terminated

c None

d The first job with 's' will be terminated

e All jobs with command beginning with ‘s’ will be terminated

f None

Q7: __________ runs on each node and ensures containers are running in a pod.?

a Kubectl

b Scheduler
c Etcd

d None

e Flanneld

f None

Q8: Which command shows merged kubeconfig settings??

a kubectl config list

b None

c kubectl config print

d None

e kubectl config show

f kubectl config view

Q9: What will happen If you run the command "init 0" in your terminal?

a Start the system without a display manager (GUI)

The correct Answer is: None

c Shut down the system

The correct Answer is: None

e Reboot the system

f Enter single user mode

Q10: What is WordPress in PHP??

a framework and distribution system for reusable PHP components

b None

c An open source CMS (Content Management System)

d Set of library enriched with fucntions


e Framework for designing dynamic pages

f None

Q11: Which the the currently accepted best practice method for hashing passwords to hash
passwords??

a bcrypt()

b encode()

c None

d md5()

e hash()

f None

Q12: How to list the contents of a folder??

a pwd

b print

c ls

d None

e None

f list

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

a None

b headers_list()

c None

d header()

e header_send()

f headers_list()
Q14: Which command is used to build a Docker image??

a docker build -t username/repository_name:1.0.1

b docker built username/repository_name:1.0.1

c None

d docker image -t create username/repository_name:1.0.1

e docker create username/repository_name:1.0.1

f None

You might also like