102-500 Premium Exam Engine - Download Free PDF Questions [Q52-Q77]

Share

102-500  Premium Exam Engine - Download Free PDF Questions

Instant Download 102-500 Free Updated Test Dumps


Lpi 102-500, also known as LPIC-1 Exam 102, Part 2 of 2, version 5.0, is an exam that tests the knowledge and skills of Linux system administrators. It is the second part of the LPIC-1 certification, which is a beginner-level certification for Linux professionals. 102-500 exam is designed to test the candidate's ability to perform advanced system administration tasks, such as configuring networking and security, managing file systems, and troubleshooting.


Lpi 102-500 exam is a challenging test that requires a thorough understanding of Linux administration concepts and principles. Candidates must prepare themselves adequately for the exam by studying the exam objectives, practicing with sample questions, and taking practice tests. It is also recommended that candidates have practical experience in Linux administration before taking the exam.

 

NEW QUESTION # 52
Depending on a system's configuration, which of the following files can be used to enable and disable network services running on this host?

  • A. /etc/ports
  • B. /etc/xinetd.conf
  • C. /etc/profile
  • D. /etc/host.conf
  • E. /etc/services

Answer: E


NEW QUESTION # 53
On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

  • A. When X crashes
  • B. When X is restarted
  • C. When KDM crashes
  • D. When KDM starts
  • E. When a user's X session exits

Answer: E


NEW QUESTION # 54
FILL BLANK
What command enables a network interface according to distribution-specific configuration, such as /etc/ network/interfaces or /etc/sysconfig/network-scripts/ifcfg-eth0? (Specify only the command without any path or parameters.)

Answer:

Explanation:
up


NEW QUESTION # 55
When the command echo $ outputs 1, which of the following statements is true?

  • A. It is the process ID of the echo command.
  • B. It is the exit value of the echo command.
  • C. It is the process ID of the current shell.
  • D. It is the exit value of the command executed immediately before echo.

Answer: D


NEW QUESTION # 56
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in
/usr?

  • A. find -type suid -username root -d /usr
  • B. find /usr -ls \*s\* -u root
  • C. find /usr -suid -perm +4000
  • D. find /usr -uid 0 -perm +4000
  • E. find -user root +mode +s /usr

Answer: D

Explanation:
This command will find all the files in the /usr directory that have the user ID (UID) of 0, which is the root user, and have the permission of 4000, which is the SUID bit. The SUID bit allows the file to be executed with the privileges of the file owner, regardless of who runs it. The -uid option tests for a specific UID, and the
-perm option tests for a specific permission. The + sign before the permission means that at least those bits are set; the - sign means that exactly those bits are set. The other options are either invalid or do not match the criteria. References:
* LPIC-1 Exam 102 Objectives, Topic 104: Devices, Linux Filesystems, Filesystem Hierarchy Standard,
104.4 Find system files and place files in the correct location, Key Knowledge Areas: Search for files by type, size, or time
* find manual page, -uid and -perm options description
* Find Command in Linux with Practical Examples, Example 8: Find Files with SUID and SGID Permissions


NEW QUESTION # 57
Which of the following features are provided by SPICE? (Choose two.)

  • A. Connecting local USB devices to remote applications.
  • B. Replacing Xorg as local X11 server.
  • C. Accessing graphical applications on a remote host.
  • D. Uploading and running a binary program on a remote machine.
  • E. Downloading and locally installing applications from a remote machine.

Answer: A,E

Explanation:
Explanation/Reference:


NEW QUESTION # 58
Which of the following features are provided by SPICE? (Choose two.)

  • A. Accessing graphical applications on a remote host.
  • B. Connecting local USB devices to remote applications.
  • C. Replacing Xorg as local X11 server.
  • D. Downloading and locally installing applications from a remote machine.
  • E. Uploading and running a binary program on a remote machine.

Answer: A,B

Explanation:
SPICE is a protocol that allows users to access graphical applications on a remote host, such as a virtual machine or a server, using a client program. SPICE also supports connecting local USB devices to remote applications, such as printers, scanners, or flash drives, using a feature called USB redirection. SPICE does not replace Xorg as the local X11 server, nor does it allow downloading and locally installing applications or uploading and running binary programs from a remote machine. These are features that are provided by other tools, such as SSH, SCP, or RDP. References:
* Features - spice-space.org
* SPICE - Wikipedia
* SPICE ModelWhat is SPICE?| Electronics Basics | ROHM


NEW QUESTION # 59
Which of the following tasks are handled by a display manager like XDM or KMD? (Choose two.)

  • A. Handle the login of a user.
  • B. Create an X11 configuration file for the current graphic devices and monitors.
  • C. Start and prepare the desktop environment for the user.
  • D. Lock the screen when the user was inactive for a configurable amount of time.
  • E. Configure additional devices like new monitors or projectors when they are attached.

Answer: A,C


NEW QUESTION # 60
In the output of iptables -L -n is the line ACCEPT all - - 10.69.70.5 0.0.0.0/0 listed under the INPUT chain.
What does this line mean?

  • A. TCP traffic to 10.69.70.5 with all of the TCP flags is allowed
  • B. The ACCEPT chain is responsible for all traffic from 10.69.70.1 to 0.0.0.0
  • C. All traffic from 10.69.70.5 to anywhere is allowed
  • D. That all traffic from 0.0.0.0/0 to 10.69.70.5 is explicitly allowed

Answer: C


NEW QUESTION # 61
How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: C

Explanation:
The IPv4 subnet 192.168.2.128/26 is a Class C network with a subnet mask of 255.255.255.192. This means that the network has 26 bits for the network prefix and 6 bits for the host part. To calculate the number of IP addresses that can be used for unique hosts inside the subnet, we can use the formula:
2^(number of host bits) - 2
The -2 is because the first and the last IP addresses in the subnet are reserved for the network address and the broadcast address, respectively. Therefore, the number of IP addresses for unique hosts in the subnet is:
2^6 - 2 = 64 - 2 = 62
However, this is not the correct answer, because the question asks for the number of IP addresses inside the subnet 192.168.2.128/26, not the entire network 192.168.2.0/26. A subnet is a smaller division of a network that can have its own range of IP addresses. The subnet 192.168.2.128/26 has a network address of
192.168.2.128 and a broadcastaddress of 192.168.2.191. Therefore, the IP addresses that can be used for unique hosts inside the subnet are:
192.168.2.129 - 192.168.2.190
This is a range of 62 IP addresses, but we have to subtract 2 more, because the question specifies that the IP addresses 192.168.2.130 and 192.168.2.140 are already in use by other hosts. Therefore, the final answer is:
62 - 2 = 60
References:
* LPI 102-500 Exam Objectives, Topic 105.1: Customize and use the shell environment
* LPI 102-500 Study Guide, Chapter 5: Customizing Shell Environments, Section 5.1: Working with the Shell
* IPv4 Subnet Calculator


NEW QUESTION # 62
How do shadow passwords improve the password security in comparison to standard no-shadow password?

  • A. Shadow passwords are always combined with a public key that has to match the user's private key.
  • B. Every shadow password is valid for 45 days and must be changed afterwards.
  • C. Shadow passwords are stored in plain text and can be checked for weak passwords.
  • D. The system's host key is used to encrypt all shadow passwords.
  • E. Regular users do not have access to the password hashes of shadow passwords.

Answer: E


NEW QUESTION # 63
What is the purpose of the command mailq?

  • A. It is a multi-user mailing list manager.
  • B. It queries the mail queue of the local MTA.
  • C. It fetches new emails from a remote server using POP3 or IMAP.
  • D. It is a proprietary tool contained only in the qmail MTA.
  • E. It is a command-line based tool for reading and writing emails.

Answer: B


NEW QUESTION # 64
What is the purpose of TCP wrapper?

  • A. Add SSL support to plain text TCP services.
  • B. Limit access to a network service.
  • C. Bind a network service to a TCP port.
  • D. Encapsulate TCP messages in IP packets.
  • E. Manage and adjust bandwidth used by TCP services.

Answer: B

Explanation:
TCP wrapper is a security tool that allows you to restrict the access to a network service based on the source IP address or hostname of the client. TCP wrapper works by intercepting the incoming connection requests to a service and checking them against a set of rules defined in the /etc/hosts.allow and /etc/hosts.deny files. If the client is allowed, the connection is passed to the service. If the client is denied, the connection is rejected and an error message is logged. References:
* LPI Linux Essentials: 1.5 Security and File Permissions: 1.5.3 Network Security
* LPIC-1: System Administrator: 102.5 Implement basic network security: 102.5.1 TCP Wrappers


NEW QUESTION # 65
Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
hostname


NEW QUESTION # 66
Which of the following protocols is related to the term open relay?

  • A. POP3
  • B. IMAP
  • C. SMTP
  • D. NTP
  • E. LDAP

Answer: C

Explanation:
SMTP stands for Simple Mail Transfer Protocol, which is a standard for sending and receiving email messages over the Internet. An open relay is a SMTP server that is configured to allow anyone on the Internet to send email through it, without verifying the identity or the origin of the sender. This can be exploited by spammers and hackers to send large volumes of unwanted or malicious email, while hiding their true identity and location. Open relays are considered a security risk and a source of spam, and are often blocked or blacklisted by other email servers. To prevent open relays, SMTP servers should be configured to only accept email from authorized users or domains, and to reject or filter email from unknown or suspicious sources. References:
* Open mail relay - Wikipedia
* What is Open Relay? - Definition from Techopedia
* What is an open relay and how do I close one? - Validity Help Center
* LPI Linux Essentials: 1.5 Security and File Permissions: 1.5.3 Network Security
* LPIC-1: System Administrator: 102.5 Implement basic network security: 102.5.1 TCP Wrappers


NEW QUESTION # 67
The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

  • A. It is placed in curly brackets as in Section SectionName { ... }.
  • B. It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.
  • C. It is placed between a line containing Section "SectionName" and a line containing EndSection.
  • D. It is placed after the row [SectionName].
  • E. It is placed between the tags <Section name="SectionName"> and </Section>

Answer: C


NEW QUESTION # 68
Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

  • A. files
  • B. dns
  • C. hosts
  • D. remote
  • E. resolv

Answer: A,B


NEW QUESTION # 69
Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Answer:

Explanation:
/etc/xinetd.d/, /etc/xinetd.d
Explanation:
The /etc/xinetd.d/ directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file. Each file in this directory corresponds to a specific service that is managed by xinetd, such as telnet, ftp, ssh, etc. The name of the file matches the name of the service. The files in this directory contain service-specific options that override or supplement the global options defined in the /etc/xinetd.conf file. The files are read only when the xinetd service is started, so any changes require a restart of the service. The /etc/xinetd.d/ directory allows for a modular and flexible configuration of the xinetd service, as well as easier management and maintenance of the individual service files. References:
* How to configure xinetd ? - Red Hat Customer Portal
* Understanding /etc/xinetd.d directory under Linux
* xinetd - Wikipedia


NEW QUESTION # 70
FILL BLANK
Which command, available with all sendmail-compatible MTAs, is used to list the contents of the MTA's mail queue? (Specify only the command without any path or parameters.)

Answer:

Explanation:
mailq


NEW QUESTION # 71
What is the conventional purpose of Linux UIDs that are lower than 100?

  • A. They are reserved for the system admin accounts.
  • B. They are reserved for super user accounts.
  • C. They are unused, aside from 0, because they are targets of exploits.
  • D. They are reserved for system accounts.
  • E. They are used to match with GIDs in grouping users.

Answer: D


NEW QUESTION # 72
What is true regarding the file ~/.forward?

  • A. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
  • B. As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
  • C. By default, only ~/.forward files of users in the group mailq are processed while all other user's ~/
    .forward files are ignored.
  • D. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
  • E. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.

Answer: D


NEW QUESTION # 73
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Answer:

Explanation:
1024
Explanation:
The lowest numbered unprivileged TCP port is 1024. A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. The port numbers in the range from 0 to 1023 are the well-known ports or system ports. They are used by system processes that provide widely used types of network services. On Unix-like operating systems, a process must execute with superuser privileges to be able to bind a network socket to an IP address using one of the well-known ports. Therefore, the lowest numbered port that can be used by a normal user without root access is 1024, which is the first unprivileged port123 References:
* 1: How to bind to port number less than 1024 with non root access?
* 2: lowest numbered unprivileged TCP port - Bing
* 3: List of TCP and UDP port numbers - Wikipedia
* 4: Privileged Ports - World Wide Web Consortium (W3C)
* 5: What is the lowest TCP port number? - TeachersCollegesj


NEW QUESTION # 74
Where are user specific crontabs stored?

  • A. As individual per-user files within /var/spool/cron.
  • B. As individual per-user files in /etc/cron.user.d.
  • C. In the file /var/cron/user-crontab which is shared by all users.
  • D. In the .crontab file in the user's home directory.
  • E. In the database file /etc/crontab.db which is shared by all users.

Answer: A


NEW QUESTION # 75
Which of the following SQL statements will select the fields name and address from the contacts table?

  • A. SELECT name address FROM contacts;
  • B. SELECT name, address FROM contacts;
  • C. SELECT (name, address) FROM contacts;
  • D. SELECT (name address) FROM contacts;

Answer: B


NEW QUESTION # 76
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Answer:

Explanation:
xdm
Explanation:
The name of the simple graphical login manager that comes with a vanilla X11 installation is xdm. XDM is the traditional graphical login manager for the X Window System, independent of any window manager or environment the user might choose. When it is run at system startup, it displays a graphical login prompt rather than the text-based login prompt at the console1. XDM is part of the xorg-x11-apps package, which provides the basic applications for the X Window System2. XDM is also one of the topics covered by the LPI Linux Professional - Exam 102 Objectives - Topic 111: Graphical Desktops3. References:
* xorg-x11-apps - Linux Man Pages (1) - SysTutorials
* LPI Linux Professional - Exam 102 Objectives - Topic 111: Graphical Desktops
* GitHub - iwamatsu/slim: SLiM (Simple Login Manager) is a graphical login manager for X11
* slim-fork download | SourceForge.net
* Using the XDM Graphical Login Manager | FreeBSD 6 Unleashed - Flylib
* Xorg - ArchWiki
* How to remotely log in with full graphical desktop over X11 - Unix & Linux Stack Exchange


NEW QUESTION # 77
......

Free 102-500 Exam Braindumps Lpi Pratice Exam: https://www.testkingfree.com/Lpi/102-500-practice-exam-dumps.html

Valid 102-500 FREE EXAM DUMPS QUESTIONS & ANSWERS: https://drive.google.com/open?id=1ceRS0FMW6esAlMpuYjiX1i6jvVpogdtp