You are on page 1of 2

Q1: The syntax for adding a new column to an existing table is ALTER TABLE `table_name`

ADD COLUMN `column_name` `data_type`;?

a None

b False

c None

d None

e None

f True

Q2: How to list all pods that are either labelled with env=development or with
env=production?

The correct Answer is: None

b $ kubectl get pods -l 'env in (production, development)'

The correct Answer is: None

The correct Answer is: None

e $ kubectl get pods 'env in (production, development)'

The correct Answer is: None

Q3: What will be the output of the query SELECT MINIMUM (amount) FROM sales;?

a return the lowest sales value

b None

c None

d the query will generate an error

e None

f None

Q4: How to create a volume which docker container will use to store data.?
a None

b $ docker volume create

c None

d $ docker create volume

e None

f $ docker --volume create

Q5: Once you’ve worked with an image, how do you push it to docker hub??

a None

b $ docker push <username image name>

c $ docker --push <username image name>

d None

e $ docker push <username/image name>

f None

Q6: Which of the following runlevel will reboot the system??

a None

b3

c5

d6

e4

f None

You might also like