0% found this document useful (0 votes)
80 views5 pages

4 Example For HNUB

This document contains 15 multiple choice questions about various technical topics like Linux commands, HTML5 geolocation API, Ansible variables, operating systems like Solaris, Kubernetes commands, JavaScript events, Ansible configuration, Kubernetes architecture, WebSocket states, variable scopes in programming, Docker commands, HTML tags, Docker monitoring, PHP constants, and variable assignment operators. The correct answer is provided for some questions while others just list answer options without the right choice identified.

Uploaded by

subtitle kurdi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views5 pages

4 Example For HNUB

This document contains 15 multiple choice questions about various technical topics like Linux commands, HTML5 geolocation API, Ansible variables, operating systems like Solaris, Kubernetes commands, JavaScript events, Ansible configuration, Kubernetes architecture, WebSocket states, variable scopes in programming, Docker commands, HTML tags, Docker monitoring, PHP constants, and variable assignment operators. The correct answer is provided for some questions while others just list answer options without the right choice identified.

Uploaded by

subtitle kurdi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: How can you list only the directories in your current directory using ls command??

a ls --dir

The correct Answer is: None

c ls -d

The correct Answer is: None

e ls -ld

f ls -l|grep “^d”

Q2: Which of the following is correct about geolocation api in HTML5??

a HTML5 Geolocation API lets you share your location with your favorite web sites.

b None

c All of these

d None

e Today most of the browsers and mobile devices support Geolocation API.

f A Javascript can capture your latitude and longitude and can be sent to backend
web server and do fancy location-aware things like finding local businesses or showing your
location on a map.

Q3: Which of the following values would give you the hostname of the remote host in your
Ansible Playbook??

a "{{ ansible_hostname }}"

b "{{ host }}"

c "{{ server_hostname }}"

d None

e "{{ hostname }}"

f None
Q4: What is Solaris??

a None

b HP’s UNIX

c Sun microsystems UNIX

d IBM’s UNIX

e Microsoft’s UNIX

f None

Q5: Which of the following commands would show you the status of a Kubernetes
deployment??

a kubectl rollout stats deployment/Deployment

The correct Answer is: None

c kubectl rollout log deployment/Deployment

The correct Answer is: None

e kubectl rollout status deployment/Deployment

The correct Answer is: None

Q6: Which event occurs when the user clicks on an HTML element??

a onmouseclick

b onchange

c None

d None

e onmouseover

f onclick

Q7: What do you need to specify in your Ansible playbook to stop gathering facts??
a gather: no

b facts: no

c None

d gather_facts: no

e facts_gathering: no

f None

Q8: To do any administrative task, an administrator connects to ____________.?

a Kube Proxy

The correct Answer is: None

The correct Answer is: None

d etcd

e The Kubernetes API Server

f None of the mentioned

Q9: Which value of Socket.readyState atribute of WebSocket indicates that the connection
has been closed or could not be opened??

a2

b1

c3

d None

e0

f None

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

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

The correct Answer is: None


c Both of the mentioned answers.

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

The correct Answer is: None

f None of the mentioned answers.

Q11: How to push docker image to docker hub??

a By using the docker merge

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

e By using the docker push

f By using the docker-hub command

Q12: Which character is used to indicate an end tag??

a*

b<

c None

d^

e/

f None

Q13: How to monitor Docker containers in production??

a None

b None

c Docker provides functionalities like docker stats and docker events to monitor
docker in production.

d None
e Docker provides functionalities like docker stats and docker events to monitor
container in production.

f Docker provides statistics like docker stats and docker events to monitor pages in
production.

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

a __DATE__

b __LINE__

c None

d __FILE__

e None

f __CLASS__

Q15: Which operator is used to assign a value to a variable??

a None

b-

c None

d*

e=

fx

You might also like