0% found this document useful (0 votes)
20 views5 pages

2 Cheat Sheet For DJCT

The document contains 15 multiple choice questions about various computing topics like Linux, Docker, Kubernetes, PHP, and more. Each question is followed by multiple answer choices with some questions having "None" as the correct answer and no further explanation provided.

Uploaded by

kv n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views5 pages

2 Cheat Sheet For DJCT

The document contains 15 multiple choice questions about various computing topics like Linux, Docker, Kubernetes, PHP, and more. Each question is followed by multiple answer choices with some questions having "None" as the correct answer and no further explanation provided.

Uploaded by

kv n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1: What are the most common Linux boot managers??

a LILO/GRUB

b None

c Bootmand/MBR

d None

e Bootd/init.d

f Bootmanager/Bootflag

Q2: What is the prefix of WordPress tables by default??

a wp_ default

b wp_

c _wp_

d wp_ in

The correct Answer is: None

The correct Answer is: None

Q3: Which command can give first found difference between two file after comparing??

a diff

b cmp

c None

d stat

e Common

f None

Q4: Are arrays supported in shell scripts??


a True

b False

The correct Answer is: None

The correct Answer is: None

e Yes but only under certain conditions

The correct Answer is: None

Q5: How can we list out all currently executing background processes??

a ps faux

b proccess -aux

The correct Answer is: None

d top

e ps -e

The correct Answer is: None

Q6: How to get a pod's YAML in Kubernetes??

a kubectl get pod my-pod -o yaml

b kubectl get pod my-pod --yaml

c None

d kubectl get pod my-pod -f yaml

e None

f kubectl get pod my-pod -p yaml

Q7: Following Docker command: docker push user_name/repository_name is used to:?

a Activate default VM machine

b None
c Commit changes done in a Docker image

d None

e Push changes done in an docker image into Docker Hub

f Build an image

Q8: Which of the following attribute triggers event when an element gets user Input??

a Onloadeddata

b Onhaschange

c None

d Oninput

e Ondata

f None

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

a All of the mentioned.

The correct Answer is: None

c PHP is a server side scripting language that is embedded in HTML.

d PHP is a recursive acronym for "PHP: Hypertext Preprocessor".

The correct Answer is: None

f It is used to manage dynamic content, databases, session tracking, even build


entire e-commerce sites.

Q10: What is a kube-proxy used for??

The correct Answer is: None

b To load-balance traffic that is destined for services to the correct backend pods

The correct Answer is: None


d To supplant an authentic webpage in a search engine's index and search page
results

The correct Answer is: None

The correct Answer is: None

Q11: How are devices represented in UNIX/Linux??

a For UNIX/Linux every device is a file and are typically located in the directory
/proc.

b For UNIX/Linux every device is a block and are typically located in the
directory /dev.

c For UNIX/Linux every device is a block and are typically located in the directory
/proc.

d None

e For UNIX/Linux every device is a file and are typically located in the directory
/dev.

f None

Q12: If we want to be sure a file will be created if it doesn't exesit with fopen() which mode
of the function are we going ot use:?

a a+

b w+

ca

d r+

ex

f x+

Q13: What is the Container Runtime??

a Software that is responsible for running containers

b An API object that manages a replicated application


c None

d A command line tool for communicating with a Kubernetes API server

e None

f Stored instance of a Container that holds a set of software needed to run an


application

Q14: What is the correct way to include the file "time.inc" ??

a <!-- include file="time.inc" -->

b None

c <?php include file="time.inc"; ?>

d <?php include:"time.inc"; ?>

e <?php include "time.inc"; ?>

f None

Q15: Which function in PHP is used to get the length of a string variable??

a None

b strlen

c len

d count()

e None

f strcount

You might also like