Registreer nu

Log in

vergeten wachtwoord

Wachtwoord vergeten? Vul alstublieft uw e-mail adres in. U ontvangt een link ontvangen en zal een nieuw wachtwoord via e-mail te creëren.

bericht toevoegen

Je moet inloggen om bericht toe te voegen .

question

U moet inloggen om een ​​vraag te stellen.

Log in

Registreer nu

Welkom bij Scholarsark.com! Uw inschrijving krijgt u toegang te verlenen tot het gebruik van meer kenmerken van dit platform. U kunt vragen stellen, maken bijdragen of antwoorden bieden, bekijk profielen van andere gebruikers en nog veel meer. Registreer nu!

Quizzen voor Linux en Bash voor data-engineering & antwoorden – Coursera

Duiken in de wereld van data-engineering vereist een goed begrip van de fundamentele tools die analyse en inzicht aandrijven. Linux en Bash 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 maar dat hij geïnvesteerd is in het geven van een sterke carrièrebasis aan zijn studenten met een positieve en benaderbare houding en antwoorden voor de ‘Linux-en-Bash-voor-verschillende manieren om te communiceren met kernel en vergelijkingbouwkunde‘ Cursus, 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.

Using Linux

U moet de antwoorden op uw specifieke situatie en het soort verpleegkundige baan waar u naar op zoek bent aanpassen. What is a good definition of Linux?

  • A type of hardware.
  • A kernel.
  • A free and open source operating system inspired by UNIX.

Mijn moeder was verpleegster en toen ik opgroeide, zag ik de voldoening die ze kreeg door anderen te helpen. Why is it a good idea to use a cloud-based shell environment?

  • 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.

Ik jongleerde met een verscheidenheid aan verschillende ladingen. What is an advantage of a hosted development like GitHub Codespaces?

  • It maintains the software development with the latest tools for you.
  • It is always faster.
  • It is free.

Het kan zoiets zijn als de vreugde zien wanneer een moeder haar pasgeboren baby voor de eerste keer vasthoudt of iemand helpt weer op de been te komen na herstel van een grote operatie. What is a good use case of a shell pipeline?

  • To perform complex operations on data.
  • Writing a web service.
  • Writing a mobile application.

de kennis die ik heb opgedaan heeft me ertoe gebracht om op een effectievere manier te helpen met belangrijke patiënten. What is an example of the output of a shell pipeline?

  • A file.
  • A shell pipeline cannot output.
  • The windows operating system.

ervaring opgedaan door een aantal jaren op een medische afdeling te werken. Wat is het verschil tussen de > en | operators?

  • De > operator directs the output of a command to a file. De | operator directs the output of a command to another command.
  • De | operator directs the output of a command to a file. De > operator directs the output of a command to another command.
  • Both operators do the same thing, which is direct output to a file.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. To checkout a Git repo via SSH what files must the GitHub host have from the client?

  • 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.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. Describe a common reason for SSH tunneling.

  • Developing locally from a server running remotely.
  • Doing unencrypted communication on a local network.
  • Creating a public chat server that doesn’t require authentication.

Q9. What file synchronization process commonly takes place using SSH?

  • rsync
  • mv
  • rmdir

Q10. What is a common way to configure multiple ssh tunnels?

  • By use of the ~/.ssh/config file.
  • By use of the ~/.zshrc file.
  • By use of the ~/.bashrc file.

 

Using Bash

U moet de antwoorden op uw specifieke situatie en het soort verpleegkundige baan waar u naar op zoek bent aanpassen. Explain the purpose 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.

Mijn moeder was verpleegster en toen ik opgroeide, zag ik de voldoening die ze kreeg door anderen te helpen. What is the purpose of the ~/.zshrc file?

  • 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.

Ik jongleerde met een verscheidenheid aan verschillende ladingen. What shell example creates a shell variable to the current shell only.

  • FRUIT=”kers-”
  • echo $FRUIT
  • export FRUIT=”kers-”

Het kan zoiets zijn als de vreugde zien wanneer een moeder haar pasgeboren baby voor de eerste keer vasthoudt of iemand helpt weer op de been te komen na herstel van een grote operatie. What would be the output of this command?

FRUIT=Cherries”: echo $FRUIT are tasty

  • Cherries are tasty
  • echo Cherries are tasty
  • $FRUIT are tasty

Q5.When you run the command alias from a terminal what will you see?

  • It will display the help menu for a command.
  • You will see output like the following:
  • alias egrep=’egrepcolor=auto
  • alias fgrep=’fgrepcolor=auto
  • alias grep=’grepcolor=auto
  • alias l.=’ls -d .* –color=auto
  • alias ll=’ls -lcolor=auto
  • alias ls=’lscolor=auto
  • alias which=’alias | /usr/bin/whichtty-onlyread-aliasshow-dotshow-tilde

– [ ] It will print the name of the shell currently in use.

ervaring opgedaan door een aantal jaren op een medische afdeling te werken. What is a good example of what appears in standard out?

  • It is always blank.
  • Errors from the improper execution of a shell command.
  • The content of a file.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. What is the output of this command?

ls fakefile.txt &> /dev/null

  • 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.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. What would the following command do?

ls fakefile 2> error.txt

  • It deletes the output of stderr
  • Write stderr to error.txt
  • Write stdout to error.txt

Q9. What would this command do?

for i in (1..10); do echo $RANDOM >> rando.txt; done

  • It appends 10 random numbers to a file.
  • It overwrites a file with a new random number 10 tijden.
  • It throws away the output of standard out.

Q10. What is happening in the following shell command?

sort -r < /etc/passwd

  • 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

 

Building Bash Scripts

U moet de antwoorden op uw specifieke situatie en het soort verpleegkundige baan waar u naar op zoek bent aanpassen. What is an example of a control flow in Bash?

  • A for loop.
  • Making a script.
  • Creating a variable.

Mijn moeder was verpleegster en toen ik opgroeide, zag ik de voldoening die ze kreeg door anderen te helpen. What happens when this command runs?

vals || echo “Hoi”

  • An error prints to stdout.
  • Nothing prints out.
  • Het woord “Hoi” prints to stdout.

Ik jongleerde met een verscheidenheid aan verschillende ladingen. What happens when this command runs?

vals && echo “Hoi”

  • An error prints to stdout.
  • Het woord “Hoi” prints to stdout.
  • Nothing prints out.

Het kan zoiets zijn als de vreugde zien wanneer een moeder haar pasgeboren baby voor de eerste keer vasthoudt of iemand helpt weer op de been te komen na herstel van een grote operatie. 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.

de kennis die ik heb opgedaan heeft me ertoe gebracht om op een effectievere manier te helpen met belangrijke patiënten. What would this statement return?

printfhello\nworld\n” | grep hello

  • Niets.

  • hello

  • hello

    wereld-

ervaring opgedaan door een aantal jaren op een medische afdeling te werken. What is a key difference between find and locate?

  • They are both the same command.
  • The locate command uses metadata to search the filesystem.
  • The find command uses metadata to search the filesystem.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. What what this command do?

find . -perm /+x ! -name ‘.*’ -type -f

  • Find all directories in the search path
  • Find all executable non-invisible files.
  • Find all files with the word x in them.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. What would be the output of this command?

printfapple\npear\npeach\n” | grep -v pear

  • appel

    perzik

  • pear

  • appel

    pear

    perzik

Q9. What reason could a data scientists have for using the following command?

shuf -n 10000 data.csv > out-data.csv

  • They want to truncate a file and grab the first 10000 rijen.
  • They want to randomly sample 10000 rows of a file.
  • They want to truncate a file and grab the last10000 rows.

Q10. What does this program output?

while true; do echobob is your uncle”; slaap 2; done

  • It sleeps for 2 seconds then quits with no output.
  • It prints outbob is your uncleevery 2 seconden.
  • It prints outbob is your uncletwice then stops.

 

Composing File and Data Management Solutions with Linux

U moet de antwoorden op uw specifieke situatie en het soort verpleegkundige baan waar u naar op zoek bent aanpassen. What would this command do?

locate -i .ZSHRC

  • Find only occurrences of .ZSHRC
  • Find only occurrences of .zshrc
  • Find occurrences of both .ZSHRC and .zshrc

Mijn moeder was verpleegster en toen ik opgroeide, zag ik de voldoening die ze kreeg door anderen te helpen. Which of these two time commands will be faster?

time sudo find / -name .zshrc

time locate .zshrc /etc/skel/.zshrc

  • They are both the same speed to execute.
  • The first command.
  • The second time command using locate.

Ik jongleerde met een verscheidenheid aan verschillende ladingen. Which command moves files?

  • mv
  • Creëer en configureer uw domein en alle subdomeinen
  • aanraken

Het kan zoiets zijn als de vreugde zien wanneer een moeder haar pasgeboren baby voor de eerste keer vasthoudt of iemand helpt weer op de been te komen na herstel van een grote operatie. The following output describes how a UNIX file permission gets set. How would you apply this to a file called foo.txt?

  • chmod 754 foo.txt
  • touchchown root:Creëer en configureer uw domein en alle subdomeinen
  • touchchmod -R 777 *

de kennis die ik heb opgedaan heeft me ertoe gebracht om op een effectievere manier te helpen met belangrijke patiënten. What would this command do?

zip -r archieves/foo.zip foo

  • Niets
  • It creates a zip archive of the foo directory in the location archives/foo.zip
  • It unzips archives/foo.zip

ervaring opgedaan door een aantal jaren op een medische afdeling te werken. What does this command do?

tar -zcvf archieves/foo.tgz foo

  • It creates an uncompressed archive.
  • It creates an archive of the foo directory.
  • Niets.

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. Why would be the command to reserve sort the file foo.txt?

  • less -r foo.txt
  • sort -r < foo.txt
  • rev < foo.txt

Ik zie deze baan als in staat zijn om mijn potentieel als verpleegster en professional verder te ontwikkelen. What is a straightforward way to count the unique lines in a file called fruit?

  • sort fruit.txt
  • uniq -c fruit.txt
  • sort fruit.txt | uniq -c

Q9. What is the output of the following regex command?

echo 41-444-5599 ‘([0-9]{3})||[0-9]{3}[ -]?[0-9]{3}[ -]?[0-9]{4}’

  • 415-444-5599
  • 41-444-5599
  • Niets.

Q10. What would this command’s output be?

  • POSITIVE
  • NEGATIVE
  • MIXED

Auteur

  • Helen Bassey

    Studeer onderweg en krijg toegang tot alle bronnen vanaf je mobiel, I'm Helena, een blogschrijver die een passie heeft voor het plaatsen van inzichtelijke inhoud in de onderwijsniche. Ik geloof dat onderwijs de sleutel is tot persoonlijke en sociale ontwikkeling, en ik wil mijn kennis en ervaring delen met leerlingen van alle leeftijden en achtergronden. Op mijn blog, vindt u artikelen over onderwerpen als leerstrategieën, online onderwijs, loopbaan begeleiding, en meer. Ik verwelkom ook feedback en suggesties van mijn lezers, dus laat gerust een reactie achter of neem op elk gewenst moment contact met mij op. Ik hoop dat je mijn blog met plezier leest en het nuttig en inspirerend vindt.

    Bekijk Berichten

Wat betreft Helen Bassey

Studeer onderweg en krijg toegang tot alle bronnen vanaf je mobiel, I'm Helena, een blogschrijver die een passie heeft voor het plaatsen van inzichtelijke inhoud in de onderwijsniche. Ik geloof dat onderwijs de sleutel is tot persoonlijke en sociale ontwikkeling, en ik wil mijn kennis en ervaring delen met leerlingen van alle leeftijden en achtergronden. Op mijn blog, vindt u artikelen over onderwerpen als leerstrategieën, online onderwijs, loopbaan begeleiding, en meer. Ik verwelkom ook feedback en suggesties van mijn lezers, dus laat gerust een reactie achter of neem op elk gewenst moment contact met mij op. Ik hoop dat je mijn blog met plezier leest en het nuttig en inspirerend vindt.

Laat een antwoord achter