You are on page 1of 3

Q1: Which of the following are true for Controllers in Laravel??

a Controllers can group related request handling logic into a single class.

b A controller is the "C" in the "MVC" (Model-View-Controller) architecture, which is


what Laravel is based on.

c None

d You should avoid using controllers as it is considered bad practice.

e None

f Controllers are stored in the app/Http/Controllers directory.

Q2: Which of the following methods sends input to a script via a URL??

a Get

b None

c Post

d Both

e None

f None

Q3: What improvements can be made to the query UPDATE students SET `contact number`
= 0999;?

a None

b The query does not need any improvements

c None

d None

e None

f enclose the contact number in single quotes

Q4: You can change your Wordpress themes using??


a None

b Wordpress Appearance

c Wordpress Plugins

d Wordpress Settings

e wp-config.php file

f None

Q5: The die() and exit() functions do the exact same thing.?

a False

b None

c True

d None

e None

f None

Q6: How to delete an image from the local storage system??

a $ docker rmin <imageid>

b None

c None

d $ docker --rmi <image-id>

e None

f $ docker rmi <image-id>

Q7: What is the default value of UMASK??

a 022
b 222

c 777

d 044

The correct Answer is: None

The correct Answer is: None

Q8: What is the role of kube-apiserver and kube-scheduler??

The correct Answer is: None

The correct Answer is: None

c The kube – apiserver follows the scale-out architecture and, is the front-end of the
master node control panel.

The correct Answer is: None

The correct Answer is: None

f The kube – apiserver follows the scale-out architecture and, is the back-end of the
master node control panel.

You might also like