You are on page 1of 5

Q1: What is a correct way to add a comment in PHP??

a None

b None

c /*...*/

d <!--...-->

e *\...\*

f <comment>...</comment>

Q2: Which attribute is used with an img tag to display the text if image could not load in
browser??

a None

b None

c description

d alt

e id

f name

Q3: How to remove the docker container with container id mentioned in the command.?

a None

b None

c None

d $ docker rm -rf 9b6343d3b5a0

e $ docker rm 9b6343d3b5a0

f $ docker -rm rf 9b6343d3b5a0

Q4: How can you monitor Docker in production??


a None

b You can use Docker tools such as Docker pin and docker file for monitoring

c None

d None

e You can use Docker tools such as Docker logs and docker plugins for monitoring

f You can use Docker tools such as Docker events and docker stats for monitoring

Q5: A simple text file which tells the browser what to cache Is known as a/an ________.?

a Output Files

b None

c Input Files

d A Manifest File

e None

f HTML File

Q6: Which is the right syntax for the DISTINCT SQL statement??

a SELECT DIFFERENT col1, col2 FROM table;

b None

c SELECT DISTINCT col1, col2 FROM table;

d SELECT DISTINCT col1, col2 WHERE table;

e None

f None

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

a "{{ hostname }}"

b "{{ host }}"


c None

d "{{ ansible_hostname }}"

e "{{ server_hostname }}"

f None

Q8: When you need to obtain the ASCII value of a character which of the following function
you'll need to use in PHP??

a chr( );

b None

c val( );

d .asc( );

e None

f ord( );

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

The correct Answer is: None

b None of the mentioned answers.

c Both of the mentioned answers.

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

The correct Answer is: None

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

Q10: Which of the following is for title of the modal??

a Modal-lg

b Modal-title

c Modal-sm

d None
e None

f Modal-open

Q11: What is the default size of a file set in upload_max_filesize??

a 500 MB

b 10 MB

c 300 MB

d None

e None

f 2 MB

Q12: Which of the following variable is used to get user's browser and operating system
details in PHP??

a AGENT

b None

c HTTP_USER_AGENT

d None

e None of the above.

f USER

Q13: How do you get information from a form that is submitted using the "get" method??

a Request.Form;

b $_GET.QueryString

c Request.QueryString;

d $_GET[];

e None

f None
Q14: Which of the following SQL statements is correct??

a SELECT cname, COUNT(cname) FROM Orders ORDER BY cname

b SELECT cname, COUNT(cname) FROM Orders GROUP BY cname

c None

d None

e SELECT cname, COUNT(cname) FROM Orders

f None

Q15: The external JavaScript file must contain the <script> tag.?

a None

b None

c True

d None

e None

f False

You might also like