You are on page 1of 5

Q1: Which artisan command would you use to create a new Laravel Controller??

a None

b None

c php artisan controller:make controller_name

d php artisan make:controller controller_name

e php artisan controller create controller_name

f php artisan create:controller controller_name

Q2: The command to create Kubernetes service is?

a kubectl expose

b kubectl run

c kubectl set service

d kubectl deploy

The correct Answer is: None

The correct Answer is: None

Q3: What is the difference between the WordPress Address and Site Address settings
located in the General Settings area??

a The WordPress Address is where to look for WordPress files, while the Site
Address is what will be used as the base for creating URLs for web pages.

b None

c The WordPress Address is where to look for WordPress plugins, while the Site
Address is what will be used as the base for creating URLs for web pages.

d None

e None

f The WordPress Address is where to look for WordPress meta tags , while the Site
Address is what will be used as the base for creating URLs for web pages.
Q4: Which arithmetic operator you can not use??

a*

b-

c All are valid

d%

e\

f+

Q5: What is Docker Swarm mode??

a Docker swarm is also known as Docker Hub

b A swarm is a group of machines that are running Docker and joined into a cluster

c None

d None

e A swarm is the name of the latest Docker release

f Docker swarm is a tool for managing your CI/CD pipelines

Q6: What are Shortcodes in WordPress and how we can use it??

a Shortcodes is a specific code that is used to do control loop.

b None

c Shortcodes is a specific code that is used to do several tasks with less effort. Also, it
is synonymous with the shortcut.

d Shortcodes is a specific code that is used to do recursion.

e None

f None

Q7: How to list all of your services in Docker swarm??


a docker service ls

b None

c docker ls service

d None

e docker service ps

f docker get service

Q8: Which superglobal variable holds information about headers, paths, and script
locations??

a $_SESSION

b $_GLOBALS

c None

d None

e $_GET

f $_SERVER

Q9: Which of the following is an attribute related to font tag??

a None

b All the options are style tags

c color

d None

e face

f size

Q10: Is there a way to identify the status of a Docker container??

The correct Answer is: None

The correct Answer is: None


c $ docker -ps

The correct Answer is: None

e $ docker --ps

f $ docker ps

Q11: How are links defined in an <a> tag??

a None

b Href

c None

d Hlink

e Src

f Src-link

Q12: Which of the following function is used to get length of a string??

a None of the above.

The correct Answer is: None

c length

d strlen()

e size()

The correct Answer is: None

Q13: Following Docker command: docker build -t my_user/repo_name:1.0 is used to:?

a Access a running container

b Activate default VM machine

c Commit changes done in a Docker image

The correct Answer is: None


e Build an image

The correct Answer is: None

You might also like