You are on page 1of 4

Q1: What does the /etc/hosts file contains??

a None

b IP addresses to hostnames mappings

c The IP address of the default gateway

d None

e CPU and memory info

f Hostnames of all devices on the network segment

Q2: 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 We can delete it only from the GUI but not from CLI.

b Yes, can delete it without a problem

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

The correct Answer is: None

The correct Answer is: None

f No, we don't have the proper permissions

Q3: Is it possible to build environment-agnostic systems with Docker??

a False

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

f True

Q4: Docker containers can run on:?


a None

b None

c Only Linux distributions

d None

e Linux distributions and Windows systems

f Only Windows systems

Q5: To start a list using circles, use?

a <ul "round">

b <ul Type="circle">

c None

d <ul ="round">

e None

f <ul Type="round">

Q6: In Linux, the priority of a running process can be changed using which command??

a priority

b ps -A

c None

d None

e renice

f passwd

Q7: Following Docker command: eval $(docker-machine env default) is used to:?

a None

b Commit changes done in a Docker image


c None

d Access a running container

e Activate default VM machine

f Build an image

Q8: How can we get the error when there is a problem with uploading a file??

a None

b $FILES['userfile']['error']

c None

d $_FILES['userfile = error']

e $_FILES['userfile']['error']

f None

Q9: What is the default working directory of the Linux administrator user??

a /home/root

b Doesn't have one

c /root

d /admin

e /usr/admin

f /administrator

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

a getMessage()

b getTraceString()

c getTrace()

d getString()
e getCode()

f getTraceAsString()

Q11: How do you create a function in JavaScript??

a function:myFunction()

b None

c function = myFunction()

d function myFunction()

e None

f None

Q12: Which of the following method can be used to close a MySql database using PHP??

a None of the above

b mysql_connect()

c mysql_query()

d mysql_close()

e None

f None

You might also like