You are on page 1of 4

Q1: How to dump pod logs (stdout) in Kubernetes??

a None

b kubectl pods logs my-pod

c kubectl log my-pod

d kubectl pod logs my-pod

e kubectl logs my-pod

f None

Q2: Cronjobs in kubernetes run in?

a Master node local timezone

b None

c UTC only

d Based on NTP settings

e None

f GMT only

Q3: To start a list using circles, use?

a <ul Type="circle">

b <ul ="round">

c <ul "round">

d None

e None

f <ul Type="round">

Q4: What will happen if some of the columns in a table are of char datatype and others are
of varchar datatype??
a MySQL will generate an error

b None

c None

d Nothing will happen

e MySQL will convert all varchar datatypes into char

f MySQL will convert all char datatypes into varchar

Q5: In HTML, which attribute is used to specify that an input field must be filled out??

a required

b placeholder

c None

d None

e formvalidate

f validate

Q6: Which of the functions is used to sort an array in descending order??

a asort()

b None

c dsort()

d None

e sort()

f rsort()

Q7: What does the PHP error 'Parse error in PHP - unexpected T_variable at line x' means??

a This is a PHP logical error expressing that a mistake at the line x stops parsing and
executing the program.

b None
c None

d None

e This is a PHP warning error expressing that a mistake at the line x stops parsing
and executing the program.

f This is a PHP syntax error expressing that a mistake at the line x stops parsing and
executing the program.

Q8: How can we add comments in PHP??

a None

b /* commented code here */

c None

d # commented code to end of line

e // commented code to end of line

f all of the above

Q9: How can you make a numbered list??

a <ol>

b <dl>

c <list>

d <ul>

e None

f None

Q10: How can you make sure your Docker containers and their data are safely backed up??

a Set up volume mapping on all containers to store their data in a single location on
the server (example, /data/) and backup this location.

b None
c Backup the /var/lib/docker/ directory manually Nothing.

d Schedule regular Plesk backups. Docker containers are included in Plesk backups.

e Data stored in Docker containers is backed up to Docker Hub.

f None

Q11: What is a composite key??

a it is a key that uniquely identifies a record in a database

b it is a primary key that consists of more than one field that uniquely identifies a
record

c its is a key that is defined as the primary key in another table

d None

e its is an optional key and allows null values

f None

Q12: SQL (Structured Query Language) is:?

a the language of structured queries

b the language of queries by pattern

c DBMS (DataBase Management System)

d None

e None

f imperative programming language

You might also like