You are on page 1of 4

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

a etcd

The correct Answer is: None

c None of the mentioned

d The Kubernetes API Server

e Kube Proxy

The correct Answer is: None

Q2: How to upload a docker image with the image name mentioned in the command to
Docker Hub.?

The correct Answer is: None

The correct Answer is: None

c $ docker put geekflare/httpd_image

The correct Answer is: None

e $ docker push geekflare/httpd_image

f $ docker upload geekflare/httpd_image

Q3: Kubernetes helps in the effective distribution of resources by allocating the resources
that are used by a particular application?

The correct Answer is: None

b True

c False

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None


Q4: The Service Type _____________ works only if your cluster is setup to work with a cloud
provider.?

a ExternalName

b LoadBalancer

c NodePort

The correct Answer is: None

The correct Answer is: None

f ClusterIP

Q5: Which HTML element is used to specify a footer for a document or section??

a None

b None

c <down>

d <bottom>

e <section>

f <footer>

Q6: If we wish to mount a directory with Read Only option, which of the following is
correct?

a mount ext4 noexect,ro /path/to-dir /mnt/folder

b mount -t ext4 -o noexect,ro /path/to-dir /mnt/folder

c mount ext4 -no-read-only /path/to-dir /mnt/folder

d mount ext4 -no-read-only /mnt/folder /path/to-dir

e mount ext4 -no-read-only /mnt/folder /path/to-dir

f mount -t ext4 -o noexect,ro /mnt/folder /path/to-dir

Q7: How can you display the top 10 number of lines of a file??
a head --display-only 10 file.txt

b head -f 10 file.txt

c head −n 10 file.txt

The correct Answer is: None

The correct Answer is: None

f head -show 10 file.txt

Q8: The -b flag in an Ansible ad-hoc command indicates that the command should be
executed with sudo privileges.?

a false

b None

c None

d None

e true

f None

Q9: What will be the output of the following query INSERT INTO students (student name)
VALUE ('James Lenon');?

a None

b the above query will generate an error message.

c None

d None

e a student record with the name James Lenon will be added into the students table

f None

Q10: Which command will duplicate each line in a file??


a cp 'p' < filename

b cp 'd' < filename

c cat 'd' < filename

d sed 'p' < filename

e sed 'd' < filename

f cat 'p' < filename

Q11: Which "text Type" has the maximum number of bytes??

a Tiny Text

b Medium Text

c Text

d Long Text

e None

f None

You might also like