4 Exam For HIYM

You might also like

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

Q1: What do you need to specify in your Ansible playbook to stop gathering facts??

a facts_gathering: no

b gather_facts: no

c gather: no

d None

e None

f facts: no

Q2: Which Process Validates And Configures Data For The Api Objects Like Pods, Services??

a kube-apiserver process validates and configures data for the api objects.

The correct Answer is: None

c kube-apiserver process validates and configures data for the gui objects.

d kube-apiserver process validates and configures data for the cli objects.

The correct Answer is: None

The correct Answer is: None

Q3: The most common way to display the network settings of network interfaces on a Linux
system is by using which command??

a None

b None

c ipconfig/all

d show ipv4

e ifconfig

f ipconfig

Q4: Which command will you use to display the first user??
a kubectl config view -o jsonpath='{.users[*].name}'

b kubectl config view -o jsonpath='{.users[].name}'

c kubectl config view user 1

d None

e None

f kubectl config view -o jsonpath='{.usersname[]}'

Q5: How can you monitor Docker in production??

a None

b None

c You can use Docker tools such as Docker logs and docker plugins for monitoring

d None

e You can use Docker tools such as Docker events and docker stats for monitoring

f You can use Docker tools such as Docker pin and docker file for monitoring

Q6: Which of the following is NOT a magic predefined constant??

a __LINE__

b __CLASS__

c __DATE__

d None

e __FILE__

f None

Q7: What does 'become: yes' mean in Ansible playbooks??

a It means that the service needs to be started once installed

b None
c It means that the worker node should become a manager node

d None

e It means that we would run all commands as root

f It means that the command must be retried until it succeeds

Q8: Which function gives us the number of affected entries by a MySQL query??

a mysqli_affected_rows() return the number of entries affected by an SQL query.

b None

c None

d mysqli_rows() return the number of entries affected by an SQL query.

e mysqli_num_rows() return the number of entries affected by an SQL query.

f None

Q9: Which of the following is correct about constants??

a To retrieve the value of a constant, you have to simply specify its name.

b Both of the mentioned answers.

c None of the mentioned answers.

The correct Answer is: None

The correct Answer is: None

f To define a constant you have to use define() function.

You might also like