Add questions and answers
This commit is contained in:
parent
c4897e8904
commit
4fd5c25685
46
README.md
46
README.md
@ -2542,10 +2542,28 @@ For example:
|
|||||||
* cp
|
* cp
|
||||||
* mkdir
|
* mkdir
|
||||||
</summary><br><b>
|
</summary><br><b>
|
||||||
|
|
||||||
|
* touch - update file's timestamp. More commonly used for creating files
|
||||||
|
* ls - listing files and directories
|
||||||
|
* rm - remove files and directories
|
||||||
|
* cat - create, view and concatenate files
|
||||||
|
* cp - copy files and directories
|
||||||
|
* mkdir - create directories
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Some of the commands in the previous question can be run with the -r/--recursive flag. What does it do?</summary><br><b>
|
<summary>Some of the commands in the previous question can be run with the -r/-R flag. What does it do? Give an example when to use it</summary><br><b>
|
||||||
|
|
||||||
|
The -r (or -R in some commands) flag allows user to run a certain command recursively. For example, listing all the files under the following tree is possible when done recursively (`ls -R`):
|
||||||
|
|
||||||
|
/dir1/
|
||||||
|
dir2/
|
||||||
|
file1
|
||||||
|
file2
|
||||||
|
dir3/
|
||||||
|
file3
|
||||||
|
|
||||||
|
To list all the files, one can run `ls -R /dir1`
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -3236,6 +3254,12 @@ False
|
|||||||
True
|
True
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>True or False? Directories always have by minimum 2 links</summary><br><b>
|
||||||
|
|
||||||
|
True.
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>What happens when you delete the original file in case of soft link and hard link?</summary><br><b>
|
<summary>What happens when you delete the original file in case of soft link and hard link?</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
@ -4837,7 +4861,7 @@ HCL stands for Hashicorp Configuration Language. It is the language Hashicorp ma
|
|||||||
<details>
|
<details>
|
||||||
<summary>What <code>terraform.tfstate</code> file is used for?</summary><br><b>
|
<summary>What <code>terraform.tfstate</code> file is used for?</summary><br><b>
|
||||||
|
|
||||||
It keeps track of the IDs of created resources so that Terraform knows what it is managing.
|
It keeps track of the IDs of created resources so that Terraform knows what it's managing.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -9062,10 +9086,15 @@ as key-value pair, document-oriented, etc.
|
|||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>What is OpenShift?</summary><br><b>
|
<summary>What is OpenShift?</summary><br><b>
|
||||||
|
|
||||||
|
OpenShift is a container orchestration platform based on Kubernetes.<br>
|
||||||
|
It can be used for deploying applications while having minimal management overhead.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>How OpenShift is related to Kubernetes?</summary><br><b>
|
<summary>How OpenShift is related to Kubernetes?</summary><br><b>
|
||||||
|
|
||||||
|
It's built on top of Kubernetes while defining its own custom resources in addition to the built ones.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -9074,6 +9103,15 @@ as key-value pair, document-oriented, etc.
|
|||||||
False. OpenShift is a PaaS (platform as a service) solution.
|
False. OpenShift is a PaaS (platform as a service) solution.
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
## OpenShift - Architecture
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What types of nodes OpenShift has?</summary><br><b>
|
||||||
|
|
||||||
|
- Workers: Where the end-user applications are running
|
||||||
|
- Masters: Responsible for managing the cluster
|
||||||
|
</b></details>
|
||||||
|
|
||||||
## OpenShift - Images
|
## OpenShift - Images
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
@ -10182,6 +10220,10 @@ Authentication is the process of identifying whether a service or a person is wh
|
|||||||
Authorization is the process of identifying what level of access the service or the person have (after authentication was done)
|
Authorization is the process of identifying what level of access the service or the person have (after authentication was done)
|
||||||
</b></details>
|
</b></details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>What it means to be "FIPS compliant"?</summary><br><b>
|
||||||
|
</b></details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>How do you manage sensitive information (like passwords) in different tools and platforms?</summary><br><b>
|
<summary>How do you manage sensitive information (like passwords) in different tools and platforms?</summary><br><b>
|
||||||
</b></details>
|
</b></details>
|
||||||
|
Loading…
Reference in New Issue
Block a user