Linux-and-Bash-for-Data-Engineering Quizzes & 答案 – Coursera
Diving into the world of data engineering requires a solid understanding of the foundational tools that drive analysis and insight. 的Linux 和 重击 scripting stand out as pivotal skills for managing data workflows and automating tasks.
Our latest blog post offers an in-depth look at Coursera’s 测验 和 答案 为了 ‘的Linux-和-重击-对于-数据–工程‘ 课程, providing readers with a practical guide to mastering these essential tools. Stay tuned as we unravel the quizzes and their solutions to bolster your data engineering expertise.
- A type of hardware.
- A kernel.
- A free and open source operating system inspired by UNIX.
- A cloud-based shell is similar or identical to the deployment environment in that cloud.
- They always run a proprietary UNIX which is helpful for building cloud solutions.
- The cloud-shell runs on your laptop and can take advantage of power of your local machine.
- It maintains the software development with the latest tools for you.
- It is always faster.
- It is free.
- To perform complex operations on data.
- Writing a web service.
- Writing a mobile application.
- A file.
- A shell pipeline cannot output.
- The windows operating system.
- 该 > operator directs the output of a command to a file. 该 | operator directs the output of a command to another command.
- 该 | operator directs the output of a command to a file. 该 > operator directs the output of a command to another command.
- Both operators do the same thing, which is direct output to a file.
- The Git server must have a copy of ~/.ssh/id_rsa from the client checking out the repository.
- You do not need to copy files to a server to use SSH-based checkout.
- The Git server must have a copy of ~/.ssh/id_pub from the client checking out the repository.
- Developing locally from a server running remotely.
- Doing unencrypted communication on a local network.
- Creating a public chat server that doesn’t require authentication.
- rsync
- MV
- rmdir
- By use of the ~/.ssh/config file.
- By use of the ~/.zshrc file.
- By use of the ~/.bashrc file.
- It is a Bash login shell that only runs at the start of a new login shell.
- It is a Bash logout shell that only runs when a shell exits.
- It is a Bash shell script that runs whenever Bash is started interactively.
- It is a ZSH login shell that only runs at the start of a new login shell.
- It is a ZSH logout shell that only runs when a shell exits.
- It is a ZSH shell script that runs whenever Bash is started interactively.
- FRUIT=”樱桃”
- echo $FRUIT
- export FRUIT=”樱桃”
- Cherries are tasty
- echo Cherries are tasty
- $FRUIT are tasty
- It will display the help menu for a command.
- You will see output like the following:
- alias egrep=’egrep –color=auto’
- alias fgrep=’fgrep –color=auto’
- alias grep=’grep –color=auto’
- alias l.=’ls -d .* –color=auto’
- alias ll=’ls -l –color=auto’
- alias ls=’ls –color=auto’
- alias which=’alias | /usr/bin/which –tty-only –read-alias –show-dot –show-tilde’
– [ ] It will print the name of the shell currently in use.
- It is always blank.
- Errors from the improper execution of a shell command.
- The content of a file.
- It will create the file since it doesn’t exist.
- It will display the following error. ls: cannot access fakefile: No such file or directory
- There is no output.
- It deletes the output of stderr
- Write stderr to error.txt
- Write stdout to error.txt
- It appends 10 random numbers to a file.
- It overwrites a file with a new random number 10 时.
- It throws away the output of standard out.
- The sort command is appending to the /etc/password file.
- The /etc/password file is reverse sorted.
- The /etc/password file is overwritten with a sorted version
- A for loop.
- Making a script.
- Creating a variable.
- An error prints to stdout.
- Nothing prints out.
- 这个单词 “你好” prints to stdout.
- An error prints to stdout.
- 这个单词 “你好” prints to stdout.
- Nothing prints out.
第四季度. Why would a data scientist need to truncate a large file before bringing it into a popular data scientist library like Pandas?
- To remove null values.
- It improves the accuracy of a prediction.
- To convert the data to a small data problem.
-
没有.
-
hello
-
hello
世界
- They are both the same command.
- The locate command uses metadata to search the filesystem.
- The find command uses metadata to search the filesystem.
- Find all directories in the search path
- Find all executable non-invisible files.
- Find all files with the word x in them.
-
苹果
桃
-
pear
-
苹果
pear
桃
- They want to truncate a file and grab the first 10000 行.
- They want to randomly sample 10000 rows of a file.
- They want to truncate a file and grab the last10000 rows.
- It sleeps for 2 seconds then quits with no output.
- It prints out “bob is your uncle” 每一个 2 秒.
- It prints out “bob is your uncle” twice then stops.
- Find only occurrences of .ZSHRC
- Find only occurrences of .zshrc
- Find occurrences of both .ZSHRC and .zshrc
- They are both the same speed to execute.
- The first command.
- The second time command using locate.
- MV
- cp
- 触摸
第四季度. The following output describes how a UNIX file permission gets set. How would you apply this to a file called foo.txt?
- 修改 754 foo.txt
- touchchown root:根
- touchchmod -R 777 *
- 没有
- It creates a zip archive of the foo directory in the location archives/foo.zip
- It unzips archives/foo.zip
- It creates an uncompressed archive.
- It creates an archive of the foo directory.
- 没有.
- less -r foo.txt
- sort -r < foo.txt
- rev < foo.txt
- sort fruit.txt
- uniq -c fruit.txt
- sort fruit.txt | uniq -c
- 415-444-5599
- 41-444-5599
- 没有.
- POSITIVE
- NEGATIVE
- MIXED
发表评论
你必须 登录 要么 寄存器 添加新评论 .