Linux Storage and Networking Quiz
12 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What are the differences between hard disk drives and solid state disks? (Choose two correct answers)

  • Solid state disks can store many times as much data as hard disk drives.
  • Hard disks have a motor and moving parts, solid state disks do not. (correct)
  • /dev/sda is a hard disk device while /dev/ssda is a solid state disk.
  • Hard disks can fail due to physical damage, while solid state disks cannot fail.
  • Solid state disks provide faster access to stored data than hard disks. (correct)
  • How is the name of the IP address 198.51.100.165 stored on a DNS server?

  • In the A record for 165.100.51.198.ipv4.arpa.
  • In the ARPA record for 165.100.51.198.rev.
  • In the REV record for arpa.in-addr.198.51.100.165.
  • In the RNAME record for 198-51-100-165.rev.arpa.
  • In the PTR record for 165.100.51.198.in-addr.arpa. (correct)
  • Which of the following types of bus can connect hard disk drives with the motherboard?

  • The RAM bus
  • The SATA bus (correct)
  • The NUMA bus
  • The Auto bus
  • The CPU bus
  • Which Linux distribution allows the team members to apply as much of their Red Hat Enterprise Linux knowledge as possible?

    <p>CentOS</p> Signup and view all the answers

    What information can be displayed by top?

    <p>Running processes, ordered by CPU or RAM consumption.</p> Signup and view all the answers

    Which of the following commands can be used to resolve a DNS name to an IP address?

    <p>host</p> Signup and view all the answers

    What is true about the dmesg command? (Choose two correct answers)

    <p>It displays the content of the Linux kernel's ring buffer.</p> Signup and view all the answers

    Which of the following outputs could stem from the command last?

    <p>Last login: Fri Mar 23 10:56:39 root tty2 Wed May 17 21:11 - 21:11 (00:00) 2018 from server.example.com</p> Signup and view all the answers

    What is the UID of the user root?

    <p>0</p> Signup and view all the answers

    Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?

    <p>-rw-r-xr--</p> Signup and view all the answers

    What is true about the owner of a file?

    <p>Each file is owned by exactly one user and one group.</p> Signup and view all the answers

    Which of the following permissions are set on the /tmp/ directory?

    <p>rwxrwxrwt</p> Signup and view all the answers

    Study Notes

    Disk Types

    • Hard disk drives (HDDs) have a motor and moving parts, and are prone to physical damage. Solid state drives (SSDs) do not have moving parts
    • SSDs allow quicker access to stored data compared to HDDs
    • /dev/sda is a typical hard disk device while /dev/ssda is a typical solid state disk device. Though not all devices will follow this naming convention
    • SSDs can store data at a similar scale to HDDs but not significantly more

    Reverse DNS

    • Reverse DNS determines the hostname of a given IP address
    • This is stored in the PTR record of a hostname.
    • The IP address 198.51.100.165 is stored in the PTR record for 165.100.51.198.in-addr.arpa.

    Motherboard Connections

    • SATA is a bus used to connect hard disks to the motherboard

    Linux Distributions

    • CentOS is a Linux distribution that is similar to and compatible with Red Hat Enterprise Linux (RHEL)
    • CentOS is commonly used where the RHEL license is not available

    Linux Commands

    • top command is used to display running processes, including information such as their CPU and RAM usage
    • host command resolves a DNS name to an IP address

    Kernel Ring Buffer

    • dmesg command displays the content of the Linux kernel's ring buffer
    • This ring buffer contains information about the kernel, including messages and errors
    • The ring buffer is circular so older information can be overwritten if the buffer is full

    Other Linux Commands

    • last command presents login information, such as the time of the last login and the used terminal, among other things

    UID of the User Root

    • The user root has a User ID (UID) of 0.

    Permission Modification

    • The command chmod 654 file.txt sets the permissions on the file file.txt to -rw-r-xr--. This means the owner can read and write, while others can only read and execute.

    File Ownership

    • Each file is owned by one user and one group
    • The owner can change (and often has) full permissions to the file
    • When a user is deleted, files owned by that user are not automatically removed

    Directory Permissions

    • The /tmp/ directory has the permissions rwxrwxrwt. This means everyone has read, write, and execute permissions, and anyone can create files within the directory

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge on various aspects of Linux storage devices, reverse DNS, and motherboard connections. This quiz covers topics such as HDDs, SSDs, and Linux distributions like CentOS. Challenge yourself and see how well you understand these crucial concepts in Linux.

    More Like This

    Configuración de RAID en Linux
    12 questions

    Configuración de RAID en Linux

    HighQualityRegionalism avatar
    HighQualityRegionalism
    Disk Management Basics
    40 questions
    Linux Storage Management and SSH
    21 questions

    Linux Storage Management and SSH

    AchievableCharacterization avatar
    AchievableCharacterization
    Use Quizgecko on...
    Browser
    Browser