GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Essentials

nick nartins Englisch 75 Karten

Karten in diesem Stapel (75)

  1. 1How is a new Linux computing instance provisioned in an laaS cloud?The distribution's package repository
  2. 2What are the differences between a private web browser window and a regular web browser window? (Choose three.)1. Private web browser windows do not store cookies persistently.
    2. Private web browser windows do not keep records in the browser history.
    3. Private web browser windows do not send regular stored cookies
  3. 3How is a new Linux computing instance provisioned in an laaS cloud?A provider-specific configuration file describing the desired
    installation is uploaded to the cloud provider.
  4. 4Which of the following statements is true about Free Software?It may be modified by anyone using it.
  5. 5Which of the following commands finds all lines in the file operating-systems.txt which contain the term linux, regardless of the case?grep -i linux operating-systems.txt
  6. 6Which one of the following statements concerning Linux passwords is true?Passwords are only stored in hashed form.
  7. 7Which of the following programs are web servers? (Choose two.)Apache HTTPD,
    NGINX
  8. 8Which of the following Linux Distributions is derived from Red Hat Enterprise Linux?CentOS
  9. 9What is the return value of a shell script after successful execution?0
  10. 10Which of the following commands creates the ZIP archive poems.zip containing all files in the current directory whose names end in .txt?zip poems.zip *.txt
  11. 11Which of the following statements are true regarding a typical shell script? (Choose two.)1. It has the executable permission bit set.
    2. It is compiled into a binary file compatible with the current machine architecture.
  12. 12Which of the following commands extracts the contents of the compressed archive file1.tar.gz?tar -xzf file1.tar.gz
  13. 13Which of the following commands puts the lines of the file data.csv into alphabetical order?sort data.csv
  14. 14Which of the following examples shows the general structure of a for loop in a shell script?or file in *.txt do echo $i done
  15. 15Which operator in a regular expression matches the preceding character either zero or one time??
  16. 16The file script.sh in the current directory contains the following content:#!/bin/bashecho $MYVARThe following commands are used to execute this script:MYVAR=value -./script.sh The result is an empty line instead of the content of the variable MYVAR. How should MYVAR be set in order to make script.sh display the content of MYVAR?export MYVAR=value
  17. 17Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?cp -r /etc/* /root
  18. 18What command displays manual pages?man
  19. 19Which of the following commands sets the variable USERNAME to the value bob?USERNAME=bob
  20. 20What is the purpose of the PATH environment variable?It allows the execution of commands without the need to know the location of the executable.
  21. 21Which command displays file names only and no additional information?ls -a
  22. 22Which of the following commands output the content of the file Texts 2.txt? (Choose two.)1) cat 'Texts 2.txt'
    2) cat Texts\ 2.txt
  23. 23Which of the following commands shows the absolute path to the current working directory?pwd
  24. 24Most commands on Linux can display information on their usage. How can this information typically be displayed?A. By running the command with the option /? or /??.
    B. By running the command with the option ?! or ?=!.
    C. By running the command with the option /doc or /documentation.
    D. By running the command with the option -h or --help.
    E. By running the command with the option -m or --manpage.
  25. 25Which files are the source of the information in the following output? (Choose two.) uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker), 1001 (libvirt)1) /etc/passwd
    2) /etc/group
  26. 26Which of the following tasks can the command passwd accomplish?Change a user's password.
    Lock a user account.
  27. 27What is true about the su command?It runs a shell or command as another user.
  28. 28What parameter of ls prints a recursive listing of a directory's content?ls -R
  29. 29The ownership of the file doku.odt should be changed. The new owner is named tux. Which command accomplishes this change?chown tux doku.odt
  30. 30What happens to a file residing outside the home directory when the file owner's account is deleted? (Choose two.)1) The UID of the former owner is shown when listing the file's details.
    2) Ownership and permissions of the file remain unchanged.
  31. 31Which statements about the directory /etc/skel are correct? (Choose two.)1) The files from the directory are copied to the home directory of a new user when the account is created.
    2) The directory contains a default set of configuration files used by the useradd command.
  32. 32What is true about links in a Linux file system?A symbolic link can point to a file on another file system.
  33. 33Which of the following directories must be mounted with read and write access if it resides on its own dedicated file system?/var
  34. 34A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution. Which of the following Linux distributions meet these requirements? (Choose two.)Ubuntu Linux LTS
    Ubuntu Linux non-LTS
  35. 35What can be found in the /proc/ directory?One directory per running process.
  36. 36Which of the following statements regarding Linux hardware drivers is correct?Drivers are either compiled into the Linux kernel or are loaded as kernel modules.
  37. 37Which of the following devices represents a hard disk partition?/dev/sda2
  38. 38Which of the following is a protocol used for automatic IP address configuration?DHCP
  39. 39Which of the following values could be a process ID on Linux?21398
  40. 40Which of the following outputs comes from the command free?total used free shared buff/cache available
    Mem: # # # # # #
  41. 41When typing a long command line at the shell, what single character can be used to split a command across multiple lines?\
  42. 42A directory contains the following three files: texts 1.txt texts 2.txt texts 3.csv Which command copies the two files ending in .txt to the /tmp/ directory?cp *.txt /tmp/
  43. 43A user is currently in the directory /home/user/Downloads/ and runs the command ls ../Documents/ Assuming it exists, which directory's content is displayed?/Documents/
  44. 44Which of the following commands adds the directory /new/dir/ to the PATH environment variable?export PATH=/new/dir: $PATH
  45. 45Which of the following directories contains information, documentation and example configuration files for installed software packages?/usr/share/doc/
  46. 46Running the command rm Downloads leads to the following error: rm: cannot remove 'Downloads/': Is a directory Which of the following commands can be used instead to remove Downloads, assuming Downloads is empty? (Choose two correct answers.)-rmdir Downloads
    -rm -r Downloads
  47. 47What is true about a recursive directory listing?It includes the content of sub-directories
  48. 48Which of the following commands are used to get information on the proper use of ls? (Choose two correct answers.)-man ls
    -info ls
  49. 49Which of the following characters in a shell prompt indicates the shell is running with root privileges?#
  50. 50Which of the following are typical services offered by public cloud providers? (Choose three correct answers.)-Platform as a Service(PaaS)
    -Infrastructure as a Service(IaaS)
    -Software as a Service (SaaS)
  51. 51Why are web browser cookies considered dangerous?Cookies support identification and tracking of users
  52. 52What is defined by a Free Software license?Conditions for modifying and distributing the licensed software
  53. 53Where is the operating system of a Raspberry Pi stored?On a removable SD card which is put into the Raspberry Pi.
  54. 54Which of the following programs is a graphical editor for vector graphics?Inkscape
  55. 55Which package management tool is used in Red Hat-based Linux Systems?rpm
  56. 56What is a Linux distribution?A bundling of the Linux kernel, system utilities and other software.
  57. 57The current directory contains the following file: -rw-r—r— 1 root exec 24551 Apr 2 12:36 test.sh The file contains a valid shell script, but executing this file using ./test.sh leads to this error: bash: ./test.sh: Permission denied What should be done in order to successfully execute the script?The execute bit should be set in the file's permissions
  58. 58Which of the following commands will search for the file foo.txt under the directory /home?find /home -name foo.txt
  59. 59A directory contains the following files: What would be the output of the following shell script? for file in *.txta. txt b. txt
  60. 60Which of the following commands sorts the output of the command export-logs?export-logs | sort
  61. 61The current directory contains the following file: -rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh Given that the file is a valid shell script, how can this script be executed? (Choose two correct answers.)./test.sh
    bash test.sh
  62. 62Which of the following keys can be pressed to exit less?q
  63. 63Which of the following commands creates an archive file work.tar from the contents of the directory ./work/?tar -cf work.tar ./work/
  64. 64Which of the following tar options handle compression?-z , -j
  65. 65What information is stored in /etc/passwd? (Choose three correct answers.)-The numerical user ID
    -The username
    -The encrypted password E. The user\s default shell
  66. 66Which command adds the new user tux and creates the user's home directory with default configuration files?useradd -m tux
  67. 67Which of the following permissions are set on the /tmp/ directory?rwxrwxrwt
  68. 68What is true about the owner of a file?Each file is owned by exactly one user and one group
  69. 69Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?-rw-r-xr--
  70. 70What is the UID of the user root?0
  71. 71Which of the following outputs could stem from the command last?root tty2 Wed May 17 21:11 - 21:11 (00:00)
  72. 72What is true about the dmesg command? (Choose two correct answers.)It displays the content of the Linux kernel's ring buffer
    It might not display older information because it was overwritten by newer information
  73. 73Which of the following commands can be used to resolve a DNS name to an IP address?host
  74. 74What information can be displayed by top?Running processes, ordered by CPU or RAM consumption
  75. 75Reverse DNS assigns hostnames to IP addresses. How is the name of the IP address 198.51.100.165 stored on a DNS server?In the PTR record for 165.100.51.198.in-addr.arpa.

Informationen

Beschreibung
Karteikarten am Essentials, erstellt von nick nartins am 17/11/2023.
Erstellt von
nick nartins
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck