wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Linux - Unit 6 Quiz

Total questions: 13

Worksheet time: 9mins

Name
Class
Date
1.

What does the git clone command do in Git?

a)

Uploads local changes to a remote repository.

b)

Downloads a copy of a remote Git repository to your local machine.

c)

Switches branches in your Git repository.

d)

Creates a new branch in your local repository.

2.

Which Git command is used to upload your local changes to a remote repository?

a)

git commit

b)

git push

c)

git pull

d)

git add

3.

Which Git command is used to create, list, or delete branches in your repository?

a)

git branch

b)

git tag

c)

git commit

d)

git push

4.

What is the purpose of the .gitignore file in a Git repository?

a)

To list branches in the repository.

b)

To create new tags for specific commits.

c)

To specify files and directories that should be ignored by Git.

d)

To save changes to the local repository.

5.

Which advanced Git feature helps facilitate code review and collaboration in team-based development workflows?

a)

Git merge.

b)

Git rebase.

c)

Git pull.

d)

Pull requests (PRs).

6.

Which file format is known for its human-readable syntax, making it suitable for defining and organizing configurations in a clear and concise manner in Infrastructure as Code (IaC)?

a)

XML (eXtensible Markup Language)

b)

JSON (JavaScript Object Notation)

c)

YAML (YAML Ain't Markup Language)

d)

CSV (Comma-Separated Values)

7.

Which tool adopts a human-readable YAML syntax for configuration files and is known for its agentless architecture?

a)

Puppet

b)

Chef

c)

Ansible

d)

SaltStack

8.

Which tool employs a Ruby-based DSL for describing system configurations and follows a declarative approach to configuration management?

a)

Ansible

b)

Puppet

c)

Chef

d)

SaltStack

9.

SaltStack distinguishes itself with powerful remote execution capabilities. What language is used for its configuration files?

a)

YAML

b)

JSON

c)

Ruby

d)

Python

10.

What does "initiating a container" involve?

a)

Building a container image

b)

Launching its processes to bring it to life

c)

Deploying instances based on existing container images

d)

Connecting to a running container for interaction

11.

What does "deploying a container" involve?

a)

Halting the processes of a container

b)

Launching container processes based on existing images

c)

Exposing specific ports within a container

d)

Creating and launching instances of a container based on existing container images

12.

What is the significance of "exposing ports" in containers?

a)

Accessing logs of container activities

b)

Halting the processes of a container

c)

Making specific ports within a container accessible externally

d)

Creating and launching instances of a container

13.

Explain what a container is.

4 lines