Linux and Bash for Data Engineering Week1
docx
keyboard_arrow_up
School
Grand Rapids Community College *
*We aren’t endorsed by this school
Course
MISC
Subject
Information Systems
Date
Dec 6, 2023
Type
docx
Pages
3
Uploaded by ConstableWildcatMaster401
Congratulations! You passed!
Grade received 80%
Latest Submission Grade 80%
To pass 80% or higher
Go to next item
1.
Question 1
What is a good definition of Linux?
1 / 1 point
A type of hardware.
A free and open source operating system inspired by UNIX.
A kernel.
Correct
You got it! Linux is an open source operating system (OS) that is free to use and is the dominant
server OS.
2.
Question 2
Why is it a good idea to use a cloud-based shell environment?
1 / 1 point
They always run a proprietary UNIX which is helpful for building cloud solutions.
A cloud-based shell is similar or identical to the deployment environment in that cloud.
The cloud-shell runs on your laptop and can take advantage of power of your local machine.
Correct
You got it! A key advantage of using a cloud-based shell is the similarity to the ultimate deployment
target.
3.
Question 3
What is an advantage of a hosted development environment like Github Codespaces?
1 / 1 point
It is free.
It maintains the software development with the latest tools for you.
It is always faster.
Correct
You got it! A key reason for using a hosted development environment is that it is maintained with a
sensible set of default tools.
4.
Question 4
What is a good use case of a shell pipeline?
1 / 1 point
To perform complex operations on data.
Writing a web service.
Writing a mobile application.
Correct
You got it! Shell pipelines allow for complex operations to be accomplished through chaining several
commands together.
5.
Question 5
What is an example of the output of a shell pipeline?
0 / 1 point
A shell pipeline cannot output.
A file.
The windows operating system.
Incorrect
Not quite. A shell pipeline can send the output of a command to many locations including another
shell command, a file, or
/dev/null
.
6.
Question 6
What is the difference between the
>
and
|
operators?
1 / 1 point
The
>
operator directs the output of a command to a file. The
|
operator directs the output of a
command to another command.
The
|
operator directs the output of a command to a file. The
>
operator directs the output of a
command to another command.
Both operators do the same thing, which is direct output to a file.
Correct
You got it! The pipe operator
|
operator is what you use when chaining multiple commands
together.
7.
Question 7
To checkout a Git repo via SSH what files must the Github host have from the client?
0 / 1 point
The Git server must have a copy of
~/.ssh/id_rsa
from the client checking out the repository.
The Git server must have a copy of
~/.ssh/id_pub
from the client checking out the repository.
You do not need to copy files to a server to use SSH-based checkout.
Incorrect
Not quite. The Git server must have your public key to allow SSH-based checkouts. Another form of
checkout HTTPS can use a password-based approach.
8.
Question 8
Describe a common reason for SSH tunneling.
1 / 1 point
Developing locally from a server running remotely.
Doing unencrypted communication on a local network.
Creating a public chat server that doesn't require authentication.
Correct
You got it! It is common to do use SSH port forwarding to use your local web browser to display the
output of a remote web service.
9.
Question 9
What file synchronization process commonly takes place using SSH?
1 / 1 point
rsync
mv
rmdir
Correct
You got it! Rsync is a popular utility for efficiently synchronizing data across a network and it is
commonly done over an SSH connection.
10.
Question 10
What is the common way to configure multiple ssh tunnels?
1 / 1 point
By use of the
~/.ssh/config
file.
By use of the
~/.zshrc
file
By use of the
~/.bashrc
file.
Correct
You got it! This configuration file allows you to develop more advanced ssh tunneling configurations.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help