Friday 14 December 2018

CompTIA LX0-104 Questions Answers

What is the purpose of the xhost program?

A. Grant or revoke access to a X11 session.
B. Install all packages and video drivers required to run X11 on a host.
C. Start the X11 server and announce its availability within the local network.
D. Send informational messages to all users logged into a host using X11.
E. Display the MOTD and other important information when a user logs in via X11.

Answer: A


What of the following statements is true regarding a display manager?

A. A display manager handles remote X11 logins only and has no purpose on a system that is not attached to a network.
B. The display manager is configured in the X11 configuration file xorg.conf.
C. There is only one display manager X11DM that must be started on all systems running X11.
D. After system startup, the display manager handles the login of a user.
E. Without a display manager, no graphical programs can be run.

Answer: D

Sunday 22 July 2018

CompTIA LX0-104 Question Answer

What is the purpose of the sticky keys feature in X?

A. To assist users who have difficulty holding down multiple keys at once.
B. To prevent repeated input of a single character if the key is held down.
C. To ignore brief keystrokes according to a specified time limit.
D. To repeat the input of a single character.

Answer: A


On a machine running several X servers, how are the different instances of the X11 server identified?

A. By a fixed UUID that is defined in the X11 configuration file.
B. By a unique IPv6 address from the fe80::/64 subnet.
C. By the name of the user that runs the X server like x11:bob.
D. By a device name like /dev/X11/xservers/1.
E. By a display name like:1.

Answer: E

Wednesday 28 February 2018

CompTIA LX0-104 Question Answer

After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?


A. A B
B. A B C
C. A C
D. B C
E. C B A

Answer: A

Which of the following commands puts the output of the command date into the shell variable mydate?


A. mydate="$(date)"
B. mydate="exec date"
C. mydate="$((date))"
D. mydate="date"
E. mydate="${date}"

Answer: A