4 Problems For ECJD

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

Q1: Which attribute can be used with BODY tag to set background color green??

a vlink="green"

b background="green"

c None

d bgcolor="green"

e None

f None of above

Q2: When patching resources in Kubernetes, how to partially update a node??

a kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":false}}'

b None

c kubectl patch node k8s-node-1 -p '{"spec":{"unschedulable":true}}'

d kubectl patch node k8s-node-1 -pr '{"spec":{"unschedulable":true}}'

e kubectl patch node k8s-node-1 -p '{"patch":{"unschedulable":true}}'

f None

Q3: Select all true statements for a node in Kubernetes??

a A node is a worker machine in Kubernetes, previously known as a minion

b A node may be a VM or physical machine, depending on the cluster.

The correct Answer is: None

d Each node contains the services necessary to run pods and is managed by the
master components

e There is only one node in each Kubernetes cluster

The correct Answer is: None

Q4: What is the correct way to create a function in PHP??


a None

b function myFunction()

c new_function myFunction()

d create myFunction()

e create new_function myFunction()

f None

Q5: You can add a row using SQL in a database with which of the following??

a None

b MAKE

c CREATE

d None

e ADD

f INSERT

Q6: How can you detect the client's browser name??

a browser.name

b None

c client.navName

d navigator.appName

e None

f None

Q7: You are logged in as a normal user and you see a file with 444(-r--r--r--) permission.
Can you delete it with the `rm` command??

a No, we don't have the proper permissions

b We can't be certain, it depends on the permissions of the parent folder


c We can delete it only from the GUI but not from CLI.

The correct Answer is: None

e Yes, can delete it without a problem

The correct Answer is: None

Q8: What is cite tag in HTML5??

a None

b None

c <cite title"value">Some Text Here</cite>

d <cite title="value">Some Text Here</cite>

e None

f <cite title:"value">Some Text Here</cite>

Q9: Which one of the following property scopes is not supported by PHP??

a public

b static

c None

d friendly

e None

f final

Q10: How to mark a node called my-node as schedulable in Kubernetes??

a kubectl available my-node

b kubectl uncordon my-node

c None

d kubectl up my-node
e None

f kubectl schedulable my-node

Q11: How can you get involved with WordPress??

a Edit the Codex (documentation)

b All of these

c None

d Help in the Forums

e Attend Word Camp

f None

Q12: What will the following code return: Boolean(10 > 9)?

a NaN

b None

c None

d None

e false

f true

Q13: How to dump current cluster state to stdout in Kubernetes??

a kubectl cluster info

b None

c None

d kubectl cluster-info dump

e kubectl cluster-info show

f kubectl cluster-status
Q14: How do you create a new Docker image and store it on the local system??

a None

b docker --commit <conatainer id> <username/imagename>

c None

d docker add <conatainer id> <username/imagename>

e None

f docker commit <conatainer id> <username/imagename>

Q15: What is the correct HTML for making a text input field??

a <input type="textfield">

b None

c <textinput type="text">

d <textfield>

e None

f <input type="text">

You might also like