linux set

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

systemctl restart brltty

A blind coworker who is programming on the Linux server is suddenly having odd problems with his braille display device. You determine that you need to restart the braille service. Assuming the appropriate systemd unit file is available, which command should you use?

-r The -r option displays the journal entries in reverse order, so the most recent entry will appear first. Answer C is incorrect. The -a option displays all of the data fields, but in the normal order.Answer D is incorrect. The -l option displays all printable data fields, but in the normal order.Answer A is incorrect. The -e option jumps to the end of the journal file but displays the remaining entries in normal order instead of reverse order.Answer B is incorrect. The -n option displays a specified number of entries, but in normal order.

Katie wants to display the most recent entries in the journal log on her Linux system. What journalctl option should she use?

Persistent

Mr. Fury is a programming professor at Galactic University. This next semester he has chosen to use virtual machines for his students' labs. The students will be creating a single program that they work on throughout the entire semester. What is the best choice of disk storage for Mr. Fury's student virtual machines?

Configure the three VMs to use thin provisioned storage.

Ms. Danvers is designing a set of virtual machines for her company, Miracle. Currently, her host machine uses LVM but only has enough disk space for 1TB of data. Her three VMs will need 200GB of disk space immediately but are projected to grow to 300GB each within the next year. What should she do?

NAT

Ms. Danvers wants her three virtual machines' IP address to be kept private, but she also wants them to communicate on the host machine's network using its IP address. Which virtual NIC type should she configure on them?

Host-only Bridged Dual-homed

Nick has created five virtual machines on his host system. One virtual machine is employed as a firewall for the other four machines, which are confined with host-only adapters. The firewall VM operates on the host system's network as a node. Which of the following describe his firewall adapter configuration. Each correct answer represents a complete solution. Choose all that apply.

Network location USB flash drive

Nick is setting up a bootstrapping process on an RHEL system. He needs to store the installation tree. Which of the following are locations where he could store it? Each correct answer represents a complete solution. Choose all that apply.

Issue the firewall-cmd --runtime-to-permanent command using super user privileges.

Peter Quill, a Linux system administrator, has been testing a new firewalld configuration. The test was successful. What should Mr. Quill do next?

sudo iptables -A INPUT -p icmp -j DROP

Sophia is a Linux system administrator of a system using the iptables service. She wants to add a rule to block only incoming ping packets and not send a rejection message to the source. What command should she employ?

A keyboard option that modifies how long a key must be pressed down to acknowledge the key

Which of the following best describes the slow keys accessibility setting?

With firewalld, network traffic is grouped into a zone, which is a predefined rule set, also called a trust level.

The firewalld service uses _____, which is a predefined rule set.

As per the scenario, the OBJECT_PID match option will help Tony by only displaying journal entries related to the specific application. The journalctl application allows him to filter event messages related to a specific application by the application process ID (PID) using the OBJECT_PID match option.

Tony is trying to troubleshoot errors produced by an application on his Linux system but has to dig through lots of entries in the journal log file to find them. What journalctl match option will help him by only displaying journal entries related to the specific application?

locale

What Linux command displays all of the localization environment variables and their values?

localectl

What Systemd command allows you to change the localization on your Linux system?

The rsyslogd application uses the rsyslog.conf configuration file by default.

What configuration file does the rsyslogd application use by default?

/etc/localtime

What file do Red Hat-based systems use to define the time zone for the Linux system?

The syslog protocol created by the Sendmail project has become a de facto standard for logging system event messages in Linux.

What protocol became a de facto standard in Linux for tracking system event messages?

UTF-8 UTF-16

Which of the following character sets use a transformation code to store characters? Each correct answer represents a complete solution. Choose all that apply.

hwclock

Which of the following commands sets the time as kept on the internal BIOS or UEFI clock on the workstation or server?

edquota -t Answer A is incorrect. The edquota -u command edits a designated user's quota limits.Answer B is incorrect. The edquota -g command edits a designated group's quota limits.Answer D is incorrect. The edquota -G command is an invalid option.

You need to edit quota grace periods. Which of the following commands should you use?

Your display server is Wayland.

You use the command gnome-shell --replace at the command line and receive an error message from the utility. What does this indicate?

-f -N -L You need to indicate to the openSSH server that no terminal is required because you are only establishing a tunnel. Therefore, the -N switch is needed. The -f switch sends the openSSH tunnel into the background, freeing up your command-line interface so that you can type in remote desktop commands. The local mode of the ssh command requires that you should use the -L switch to specify the local system as well as the local and remote ports.

You want to employ SSH port forwarding and use its local mode. Which ssh commands switches should you employ?Each correct answer represents a complete solution. Choose all that apply.

rsyslogd

What syslog application is known for its rocket-fast speed?

LC_MONETARY

Which LC_ environment variable determines how Linux displays dollar and cents values?

export

Which Linux command changes the value of a localization environment variable?

hwclock timedatectl

Which Linux commands allow you to retrieve the time from the physical workstation or server? Each correct answer represents a complete solution. Choose all that apply.

UTF-8

Which character set has replaced ASCII as the default character set used in U.S. Linux installations?

ASCII

Which character set uses 7 bits to store characters?

Unicode

Which character set uses a 3-byte code and can represent characters from most languages used in the world?

timedatectl

Which command displays the current date, system time, hardware time, and time zone?

date

Which command do you use to display the current time and date using a specific output format?

localectl

Which command lists all of the localizations installed on your Linux system?

timedatectl hwclock

Which commands allow you to set the Linux system time to the workstation BIOS clock time? Each correct answer represents a complete solution. Choose all that apply.

Simple Desktop Display Manager (SDDM) is the default display manager for the KDE Plasma desktop environment.

Which of the following is not used by default within GNOME Shell?

Remote Desktop Protocol

Which of the following protocols does Xrdp employ?

Storage=persistent

Barbara wants to ensure that the journal log files will be saved after the next reboot of her Linux system. What systemd-journald configuration setting should she use?

The emerg severity level has a priority of 0, the highest level in syslog.Answers E, A, C, and D are incorrect. The crit, alert, notice, and err keywords are at levels 2, 1, 5, and 3 respectively, and these are not the highest levels.

What syslog severity level has the highest priority ranking in rsyslogd?

TZ

Which environment variable can programmers use to temporarily change the time zone setting for just their environment?

/usr/share/zoneinfo

Which folder contains template files for each time zone that Linux supports?

Icons File manager Favorites bar System tray

Which of the following are GUI components? Each correct answer represents a complete solution. Choose all that apply.

The ~./ssh/config, /etc/ssh/ssh_config, and /etc/ssh/sshd_config files are all OpenSSH configuration files.

Which of the following are OpenSSH configuration files? Each correct answer represents a complete solution. Choose all that apply.

requisite, required, sufficient, and optional are all PAM control flags you may find in a PAM /etc/pam.d/ configuration file.

Which of the following are PAM control flags? Each correct answer represents a complete solution. Choose all that apply.

It determines if packets are fragmented. It operates faster for established connections.

Which of the following are benefits of a stateful firewall over a stateless firewall? Each correct answer represents a complete solution. Choose all that apply.

Spice VNC

Which of the following are remote desktops typically used with virtual machines? Each correct answer represents a complete solution. Choose all that apply.

NX Spice VNC Xrdp

Which of the following are remote desktops? Each correct answer represents a complete solution. Choose all that apply.

It is a network virtualization method. It is a method that employs encapsulation. t is a method that employs bandwidth tunneling.

Which of the following are true about an overlay network? Each correct answer represents a complete solution. Choose all that apply.

Wayland uses the $WAYLAND_DISPLAY environment variable. XWayland supports legacy X11 programs.

Which of the following are true concerning Wayland? Each correct answer represents a complete solution. Choose all that apply.

The X server is being replaced by Wayland. X.Org foundation develops an X server. X is short for X Window System.

Which of the following are true concerning X11? Each correct answer represents a complete solution. Choose all that apply.

It modifies the /etc/hosts.deny file. It is an intrusion detection system (IDS).

Which of the following are true concerning both DenyHosts and Fail2ban? Each correct answer represents a complete solution. Choose all that apply.

Bridged

Carol needs her virtual machines to all act as nodes on her host machine's LAN and gets their own IP address that they will use to send/receive network traffic. Which virtual NIC type should she configure on them?

virsh virt-install

Carol wants to automate the management of her virtual machines via a Bash shell script. Which of the following utilities can she use in this script? Each correct answer represents a complete solution. Choose all that apply.

The Linux firewall applications use access control lists (ACLs) to identify which network packets are allowed in or out of the system. They identify the network packets by inspecting their control information along with other network data. In addition, the Linux firewall applications use configuration files to maintain persistency, which allows the firewall configuration to survive system reboots and/or the firewall application being started or reloaded.

Which of the following are true concerning firewalls on Linux? Each correct answer represents a complete solution. Choose all that apply.

Its file manager is Caja. ts display manager is LightDM.

Which of the following are true concerning the MATE desktop environment?Each correct answer represents a complete solution. Choose all that apply.

It is usable by cloud-based virtualization services. It is usable by cloud-based management operating systems. It is supported by most major Linux distributions. It is a bootstrap product.

Which of the following are true concerning the cloud-init product? Each correct answer represents a complete solution. Choose all that apply.

Provides an API library for hypervisors Provides the virsh and virsh-install utilities Provides the libvirtd daemon for host systems

Which of the following are true concerning the libvirt library software collection? Each correct answer represents a complete solution. Choose all that apply.

A compositor arranges various display elements within a window to create a screen image. Mutter contains a compositor. Kwin contains a compositor.

Which of the following are true of a compositor?Each correct answer represents a complete solution. Choose all that apply.

newgrp

Which of the following commands will allow you to switch temporarily from your account's default group to another group with whom you have membership?

The sudo ufw status numbered command displays the UFW firewall's ACL rules with their associated numbers.

Which of the following commands will allow you to view the various rules in a UFW firewall with their associated numbers?

loginctl

Which of the following commands will help you to determine whether your display server is Wayland or X11?

Display server

Which of the following communicates with the Linux operating system to transmit the UI wants and needs?

Sounds are made when the Caps Lock or Num Lock key is turned on or off.

Which of the following describes the sound keys accessibility setting?

Time zone

Which of the following determines the time relative to the UTC time in a specific location?

LC_ALL LANG

Which of the following environment variables control all of the localization settings? Each correct answer represents a complete solution. Choose all that apply.

The ~/.ssh/id_rsa file is created with the file names of id_type for the private key and id_type.pub for the public key. This file is involved in authenticating with SSH keys.

Which of the following files may be involved in authenticating with SSH keys?

Dolphin Answer B is incorrect. Nautilus is the file manager on the Unity desktop environment.Answer A is incorrect. Plasmoid is another name for a KDE Plasma widget.Answer D is incorrect. Kwin is the KDE Plasma's window manager.Answer C is incorrect. Nemo is the default file manager on the Cinnamon desktop environment.

Which of the following is the KDE Plasma files manager?

Identifying network packets via their control information, and determining what to do based upon ACL rules

Which of the following statements best describes packet filtering?

A series of components that work together to provide the graphical setting for the user interface

Which of the following statements correctly describes a desktop environment?

notice

Which of the following syslog keywords represents normal but significant condition messages?

As per the scenario, you need to employ X11 forwarding. To properly and securely access the remote Linux system and run an X11-based application. Therefore, the correct command to be used is ssh -X [email protected].

You (username Samantha) are logged into a laptop (IP address 192.168.0.42) running a Linux GNOME Classic desktop environment at your company desk in Building A. A problem has occurred on a rack-mounted Linux system (IP address 192.168.0.7) in Building C. You need to securely access a GUI application on the remote system that uses X11. What command should you use?

userdel -r KSingh

Your boss has asked you to remove KSingh's account and all his home directory files from the system immediately. Which command should you use?

xwininfo xdpyinfo

Your system is running an X display server and a user's graphical user interface is not acting properly. Which of the following commands can you use first to diagnose potential problems?Each correct answer represents a complete solution. Choose all that apply.

Localization

___________ is the ability to adapt a Linux system to a specific language.


Kaugnay na mga set ng pag-aaral

Week 4: The Keynesian Model and Fiscal Policy

View Set

Psych Quiz #5 SFSU Windle 2019 Chapter 11, 17, 23, 24 Varcarolis Book

View Set

Chapter 13 - The Endocrine System

View Set

9th Edition ECONOMICS FOR TODAY Chapter 15 Gross Domestic Product

View Set

QUIZ 2: SOLVING PROBLEMS WITH RATIONAL NUMBERS

View Set

Esthetics- Chapter 8: Facial Treatments (Quiz Review)

View Set