Главная страница
Навигация по странице:

  • 3.Question 3 Which statement(s) are correct The pthreads

  • 3.Question 3 Which command(s) will bring the network interface eth0

  • /sys/class/net/eth0/statistics doing sudo ip -s link show eth0 doing sudo ifconfig eth0 5.Question 5

  • 1.Question 1 What is the proper order of system initialization stages on most x86-based systems BIOS -> GRUB -> init (PID 1)

  • 4.Question 4 Select the order in which the following system initialization methods were introduced: SysVinit -> Upstart -> systemd 5.Question 5

  • 2.Question 2 The lsmod

  • Open Source Software


    Скачать 1.28 Mb.
    НазваниеOpen Source Software
    Дата26.05.2022
    Размер1.28 Mb.
    Формат файлаdocx
    Имя файлаFinal_OS 2.docx
    ТипДокументы
    #551026
    страница37 из 39
    1   ...   31   32   33   34   35   36   37   38   39

    Memory


    1.Question 1

    A rather complete picture of memory usage can be gotten by viewing the following pseudofile:

    • /proc/meminfo

    2.Question 2

    Select all true statements:

    • Memory used directly by the Linux kernel is never swapped out.

    • Using swap space lets the system pretend it has more memory than it physically has.

    • There is no uniform prescription for how much swap space to use.

    3.Question 3

    Which statement(s) are correct?

    • The pthreads library enables multithreaded applications to be written just once for many different operating systems.

    • A process may contain many threads.

    4.Question 4

    The OOM KIller

    Tries to keep the system running by killing processes which are using more memory than can be supplied

    5.Question 5

    Which of the following are utilities used to work with swap space?

    • swapon

    • swapoff

    • mkswap



    Networking


    1.Question 1

    Which networking configuration interface is newer and has extended capabilities?

    ip

    2.Question 2

    Using Predictable Network Interface Device Names (PNIDN) has come into use because:

    • Many computers are no longer in one location; for example, laptops are on the move, and available interfaces are subject to change

    • Hardware such as USB devices can be added and removed at runtime

    • On modern systems, the order in which network hardware is found is less predictable

    3.Question 3

    Which command(s) will bring the network interface eth0 up and assign an address to it?

    • sudo ip addr add 192.168.1.100 dev eth0

    • sudo ifconfig eth0 up 192.168.1.100

    4.Question 4

    You can see statistics for the eth0 interface by (select all answers that apply):

    • looking at /sys/class/net/eth0/statistics

    • doing sudo ip -s link show eth0

    • doing sudo ifconfig eth0

    5.Question 5

    What does MTU stand for?

    • Maximum Transfer Unit (usually 1500 bytes by default) for Ethernet packets



    System Initialization


    1.Question 1

    What is the proper order of system initialization stages on most x86-based systems?

    • BIOS -> GRUB -> init (PID 1)

    2.Question 2

    Which files need to be in the /boot directory for the system to boot up (select all that apply)?

    • initramfs

    • vmlinuz

    3.Question 3

    Using GRUB lets you (Select all correct answers):

    (All are correct)

    • Choose various options for booting up the system

    • Choose which Linux kernel to user for boot

    • Choose between operating systems or different Linux distributions

    4.Question 4

    Select the order in which the following system initialization methods were introduced:

    • SysVinit -> Upstart -> systemd

    5.Question 5

    Which runlevel is multiple user with no graphical desktop?

    • 3



    Kernel Modules and Device Management


    1.Question 1

    Which statements are true?

    • It is impossible to unload a kernel module being used by an application.

    • It is impossible to unload a kernel module being used by another module

    2.Question 2

    The lsmod utility shows for each loaded module (select all correct answers):

    • How many processes depend on it

    • Its size in bytes

    • What other modules are using it

    3.Question 3

    Udev (select all correct answers):

    • Loads and unloads device drivers and other kernel modules as needed

    • Stands for User Device

    • Is responsible for populating the /dev directory once the system is up and running.

    4.Question 4

    Which command will ensure the httpd service (Apache) starts at system boot?

    sudo systemctl enable httpd.service

    5.Question 5

    How could you ensure the httpd service (Apache) is restarted if it is already running, say to absorb a revised configuration file (select all correct answers)?

    • sudo systemctl stop httpd && sudo systemctl start httpd

    • sudo systemctl restart httpd



    1   ...   31   32   33   34   35   36   37   38   39


    написать администратору сайта