Which software project does Linus Torvalds start developing in 1991?
Answer : The Linux kernel
In 1991 Linus Torvalds announces the Linux kernel, the basis of the distributions that bear its name.
Revise Git, Linux & DevOps: here is a selection of questions of every level, with the answer and an explanation. To test yourself without seeing the answers, play the quizzes.
Play the Git, Linux & DevOps quizzesAnswer : The Linux kernel
In 1991 Linus Torvalds announces the Linux kernel, the basis of the distributions that bear its name.
Answer : 2005
Linus Torvalds created Git in 2005 to manage the development of the Linux kernel.
Answer : git branch name
git branch name creates the branch; git switch name then lets you move onto it.
Answer : git commit -m 'message'
git commit creates a commit from the changes staged with git add; push and pull concern the remote repository.
Answer : Telling Git which files and folders not to track
.gitignore lists the file patterns that Git does not track, such as generated files or dependency folders.
Answer : pwd
pwd (print working directory) shows the absolute path of the directory you are in.
Answer : Ubuntu
Ubuntu is based on Debian; Fedora, Arch Linux and Slackware have other origins.
Answer : grep
grep prints the lines that contain the pattern, for example grep error journal.txt.
Answer : The container shares the host kernel, whereas the VM runs its own kernel
A container shares the kernel of the host system, so it is lighter; a virtual machine embeds a complete operating system.
Answer : FROM
FROM specifies the base image on which the Dockerfile adds its instructions.
Answer : A running instance of an image
An image is a read-only template; the container is a running instance of that image.
Answer : Keeping data beyond the lifetime of a container
A volume is managed by Docker and keeps data even after the container is deleted.
Answer : Docker Compose
Docker Compose reads a compose.yaml file that describes the services, networks and volumes of the application.
Answer : Container images, which can be downloaded and published
Docker Hub is a public image registry, where images can be uploaded and downloaded; a registry can also be private.
Answer : Integrating each developer's code frequently and testing it automatically
CI checks each change with automated tests; continuous delivery and deployment (CD) extend this principle to production.
Answer : Jenkinsfile
The Jenkinsfile describes the pipeline steps; the Dockerfile describes an image, and the Makefile describes build tasks.
Answer : Google
Kubernetes is inspired by Borg, Google's internal orchestration system, and was released as open source in 2014.
Answer : The pod, a group of one or more containers
A pod groups one or more containers that share the same network and storage.
Answer : An SLO (Service Level Objective)
The SLO (Service Level Objective) sets the reliability target; the SLA is the contractual commitment to the customer.
Answer : The Service
A Service tracks pods through their labels, even when they are recreated with new IP addresses.
Answer : Displays the list of pods in the current namespace
It lists the pods of the active namespace; kubectl get pods -A lists all of them, across all namespaces.
Answer : IaaS
With IaaS, the customer manages the system and its applications; with SaaS, it uses ready-to-use software.
Answer : Amazon S3
Amazon S3 is object storage; EC2 provides virtual machines, Lambda functions and RDS managed relational databases.
Answer : Canary deployment
A canary sends part of the traffic to the new version, then extends it if all goes well; blue-green switches all the traffic at once.
Play the Git, Linux & DevOps quizzes