0% found this document useful (0 votes)
8 views

4 Lecture For NLPC

The document contains multiple choice questions about various technical topics including Docker, databases, Linux, WordPress, and more. It provides one question per section with multiple choice answers for each question.

Uploaded by

subtitle kurdi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

4 Lecture For NLPC

The document contains multiple choice questions about various technical topics including Docker, databases, Linux, WordPress, and more. It provides one question per section with multiple choice answers for each question.

Uploaded by

subtitle kurdi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: How to insert a comment that has more than one line??

a /*This comment has more than one line*/

b <!--This comment has more than one line-->

c None

d None

e None

f //This comment has more than one line//

Q2: Is it possible to build environment-agnostic systems with Docker??

a True

The correct Answer is: None

c False

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

Q3: Volume mapping maps the host server's directory into the Docker container. The data
will remain in a safe and accessible place if you do which of the following??

a break the container

The correct Answer is: None

c re-create the container

d delete the container

e migrate the container

f backup the container

Q4: What is the default priority of the swap partition?


a1

b -1

c There are no priorities for swap

d 10

e0

f 100

Q5: How can we find the process name from its process id? Assume the Proccess ID is 1?

a None

b find 1

c get 1

d top 1

e ps –p 1

f None

Q6: Which command is used to modify column names or table structure??

a ADD

b MODIFY

c None

d None

e CHANGE

f ALTER

Q7: Which HTML attribute specifies an alternate text for an image, if the image cannot be
displayed??

a title

b None
c None

d alt

e longdesc

f src

Q8: Which filter can be applied on lines of text for arranging in ascending or descending
order??

a None

b collate

c None of the above

d arrange

e sort

f None

Q9: Which artisan command would you use to create a new Laravel Migration??

a php artisan make:migrations create_users_table

b None

c php artisan make:migration create_users_table

d php artisan create:migrations create_users_table

e None

f php artisan make:migrations create_users_table

Q10: Tick all the rules which need to be followed while developing a WordPress Plugin??

a Create a sub-folder for PHP files, translations, and assets.

b Create the folder of Plugin.

c Create the main plug-in file and fill up the header information.

d Create a unique name.


e None

f Create and install script.

Q11: Containers running on a single machine all share the same operating system kernel.?

a None

b None

c True

d False

e None

f None

Q12: What is the default working directory of the Linux administrator user??

a /root

b Doesn't have one

c /admin

d /home/root

e /usr/admin

f /administrator

Q13: Which is not true about Docker Hub??

The correct Answer is: None

The correct Answer is: None

c Docker Hub is the world's largest library and community for container images

d Docker Hub is a totally private repository

e Docker Hub provides an easy way to create, manage, and deliver your teams'
container applications

The correct Answer is: None

You might also like