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

2 Cheat Sheet For JSRA

To list pods sorted by restart count in Kubernetes, use: kubectl get pods --sort-by='.status.containerStatuses[0].restartCount' To include an external file in PHP, use: <?php include "time.inc"; ?> Adding a new API to Kubernetes will improve the functioning ability of Kubernetes.

Uploaded by

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

2 Cheat Sheet For JSRA

To list pods sorted by restart count in Kubernetes, use: kubectl get pods --sort-by='.status.containerStatuses[0].restartCount' To include an external file in PHP, use: <?php include "time.inc"; ?> Adding a new API to Kubernetes will improve the functioning ability of Kubernetes.

Uploaded by

naomiralph.m
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Q1: How to list pods sorted by Restart Count in Kubernetes??

a kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'

b kubectl get pods by restartCount

c kubectl get pods --sort-by='.status.restartCount'

d None

e kubectl get pods --sort='.status.containerStatuses[0].restartCount'

f None

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

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

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

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

d None

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

f None

Q3: What are the respective octal value for the permission bits??

a 4, 2 & 1 respectively for r, x & w.

b 4, 2 & 1 respectively for r, w & x.

The correct Answer is: None

d 4, 2 & 1 respectively for x, w & x.

e 4, 2 & 1 respectively for w, r & x.

The correct Answer is: None

Q4: What will happen while adding new API to Kubernetes??


a Adding a new API will remove some clusters

The correct Answer is: None

The correct Answer is: None

The correct Answer is: None

e Adding a new API will improve the functioning ability of Kubernetes

f Adding a new API will block the previous API

Q5: Which command can be used to make variables of shell to be made available to sub
shell??

a import

b echo

c export

d None

e set

f None

Q6: How to monitor Docker containers in production??

a None

b Docker provides functionalities like docker stats and docker events to monitor
container in production.

c None

d Docker provides functionalities like docker stats and docker events to monitor
docker in production.

e None

f Docker provides statistics like docker stats and docker events to monitor pages in
production.

Q7: A Docker container is an instance of an image with a specific configuration.?


a None

b False

c None

d None

e True

f None

Q8: Which tag inserts a line horizontally on your web page??

a <tr>

b None

c <hr>

d <line>

e <line direction="horizontal">

f None

Q9: Can I generate DLL files from PHP scripts like i can in Perl ??

a True

b None

c None

d False

e None

f None

Q10: HTML are web pages read and rendered by?

a None

b Compiler
c Interpreter

d Web Browser

e None

f Server

Q11: What are categories in WordPress.?

a Categories allow a user to merge its content from different sections.

b Categories allow a user to divide its content into different sections.

c Categories allow a user to list out all the contents

d None

e None

f None

Q12: Which of the following is a WordPress function used to execute a database query??

a <?php $wpdb->mysql_query('query'); ?>

b None

c <?php $wpdb->run_query('query'); ?>

d <?php $wpdb->fetch('query'); ?>

e <?php $wpdb->query('query'); ?>

f None

You might also like