You are on page 1of 3

Q1: What is UMASK??

a UMASK is a Unix environment variable, which automatically sets the file visibility.

b UMASK is a Unix environment variable, which not really used anymore and is
considered legacy.

The correct Answer is: None

The correct Answer is: None

e UMASK is a Unix environment variable, which automatically sets file permissions


created files.

f UMASK is a Unix environment variable, which is replaced by the chmod command


now however it's still largely used.

Q2: How to remove two pods labelled 'production' and 'development'?

a $ kubectl trim pods -l 'env in (production, development)'

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

f $ kubectl delete pods -l 'env in (production, development)'

Q3: How to list all the docker images pulled on the system with image details such as
TAG/IMAGE ID/SIZE etc.?

a None

b None

c None

d $ docker img

e $ docker --images

f $ docker images
Q4: What is the strpos() function used for??

a None

b Both b and c

c Locate position of a string’s first character

d Find the last character of a string

e None

f Search for character within a string

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

a "{{ server_hostname }}"

b None

c None

d "{{ host }}"

e "{{ ansible_hostname }}"

f "{{ hostname }}"

Q6: How are objects in PHP passed by??

a None

b Neither of the mentioned

c None

d Objects are passed by reference.

e None

f Objects are passed by value.

Q7: How can you restore the WordPress core files??


a The core files can be downloaded back from your local machine as long as you
have a backup

b The core files can be downloaded back from wordpress.org site.

c None

d The core files can be downloaded back from Database.

e The core files can be fetched via your dashboard

f None

Q8: What will be the effect of the query SELECT c.*,e.* FROM clients c INNER JOIN
employees e ON c.emp_no = e.emp_no;?

a return all the records from the employees table and only those that match the
emp_no from the clients table

b return all the records from the clients table and only those that match the emp_no
from the employees table

c None

d The query will generate an error

e return only records that have matching emp_no values in both tables

f None

Q9: Who is known as the father of PHP??

a None

b List Barely

c Willam Makepiece

d Rasmus Lerdorf

e Drek Kolkevi

f None

You might also like