The assessment test is an excellent way to test yourself before starting to study. It gives you an idea of where you should start and why.
In an assessment test, test your current skills from beginning to advance lever for any subject or topic to check “what do you know and from where you should start learning?”
Here I have put some basic questions for Linux assessment, so you can test your Linux skill and choose right path for Linux Learning.
1. You want to reconfigure X.org-X11 after changing a computer’s video card, so you type XF86Setup as root and enter the new information in the program’s GUI. When you test the X server, though, you find that your changes had no effect. Why not?
- The XF86Setup program is designed to be run by an ordinary user, not by root.
- You selected the wrong video card in the XF86Setup program.
- You must copy the temporary configuration file created by XF86Setup to /etc/x11.
- XF86Setup is a configuration tool for XFree86 3.3.6 and earlier, not for X.org-X11.
2. How would you change the text displayed by XDM as a greeting?
- Click Configure -> Greeting from the XDM main menu and edit the text in the resulting dialog box.
- Edit the /etc/X11/xdm/xresources file and change the text in the xlogin*greeting line.
- Edit the /etc/X11/XF86Config file and change the Greeting option in the xdm area.
- Run xdmconfig and change the greeting on the Login tab.
3. When you configure an X server, you need to make changes to configuration files and then start or restart the X server. Which of the following can help streamline this process?
- Shut down X by switching to a runlevel in which X doesn’t run automatically, and then reconfigure it and use startx to test X startup.
- Shut down X by booting into single-user mode, and then reconfigure X and use telinit to start X running again.
- Reconfigure X, and then unplug the computer to avoid the lengthy shutdown process before restarting the system and X along with it.
- Use the startx utility to check the X configuration file for errors before restarting the X server.
4. Which of the following features do KDM and GDM provide that XDM does not?
- An encrypted remote x-based access ability, improving network security.
- The ability to accept logins from remote computers, once properly configured.
- The ability to select the login environment from a menu on the main login screen.
- A login screen that shows the username and password simultaneously rather than sequentially.
5. Which of the following summarizes the organization of the XF86Config and xorg.conf files?
- The file contains multiple sections, one for each screen. Each section includes subsections for individual components (keyboard, video card, and so on).
- Configuration options are entered in any order desired. Options relating to specific components (keyboard, video card, and so on) may be interspersed.
- The file begins with a summary of individual screens. Configuration options are preceded by a code word indicating the screen to which they apply.
- The file is broken into sections, one or more for each component (keyboard, video card, and so on). The file also has one or more sections that defined how to combine the main sections.
6. You want to enable remote access in GDM. Which of the following is one step you would take in doing so?
- Edit the /etc/X11/gdm/gdm-config file and set the DisplayManager.requestPort option to 177.
- Edit the /etc/ssh/sshd_config file’s X11Forwardingline to read yes.
- Edit the /etc/X11/gdm/gdm.conf file and change the enable line in the [xdmcp] section to yes.
- You can’t; this feature isn’t supported by GDM, but it is supported by KDM and XDM.
7. A monitor’s manual lists its range of acceptable synchronization values as 27-96kHz horizontal and 50-160Hz vertical. What implications does this have for the resolutions and refresh rates the monitor can handle?
- The monitor can run at up to 160Hz vertical refresh rate in all resolutions.
- The monitor can handle up to 160Hz vertical refresh rate depending on the color depth.
- The monitor can handle up to 160Hz vertical refresh rate depending on the resolution.
- The monitor can handle vertical resolutions of up to 600 lines (96,000 / 160), but no more.
8. Which of the following desktop environments is a commercial package?
9. In what section of XF86Config or xorg.conf do you specify the resolution that you want to run?
- In the screen section, subsection Display, using the modes option
- In the monitor section, using the Modeline option
- In the Device section, using the Modeline option
- In the DefaultResolution section, using the Define option
10. You want users to be able to select a new window manager you’ve installed from the GDM login screen. In what directory should you create a configuration file to add this option?
11. The following line appear in your X server’s mouse configuration area. What can you conclude?
Option “Protocol” “PS/2”
- The mouse is connected to the PS/2 hardware mouse port.
- The mouse uses the PS/2 software communication standard.
- The computer is an ancient IBM PS/2 system.
- The mouse was designed for use with IBM’s OS/2.
12. The following .xinitrc script is present in a user’s home directory, with the correct permissions. What will be the effect when the user types startx from a text-mode login?
- The xterm program will run, and once it’s started, KDE will start. The X session will terminate when the user exits from KDE, whereupon the xterm will also close.
- The xterm program will run and remain active, with no window manager, until the user terminates it. At the time, KDE will begin to start, but X will terminate before KDE can fully load.
- The xterm program will run, and once it’s started, KDE will start. The X section will terminate when the user exits from both KDE and the xterm program; quitting either alone will not terminate X.
- The xterm program will run and immediately terminate, whereupon KDE will start. KDE will remain active until the user exits from it, whereupon X will also stop.
13. Which of the following sections is present in the X configuration files for XFree86 4.x and X.org-X11 but not for XFree86 3.3.6?
14. What file should you edit to change the desktop environment or window manager launched by XDM?
15. What is an advantage of a font server?
- It provides faster font displays than is otherwise possible.
- It can simplify font maintenance on a network with many x servers
- It’s the only means of providing TrueType support for XFree86 4.x.
- It enables the computer to turn a bitmapped display into an ASCII text file.
16. The X-based program MegaProg’s menu font has changed to Times, but you prefer Helvetica in this role. The program’s in-window font was, and should remain, Times. In investigating this problem, you discover several lines in your ~/.Xresources file that seem suspicious. Which one should you edit to fix the problem?
- MegaProg*mfont: Times
- MegaProg*body: Times
- MegaProg*font: Times
- Possibly any or none of the above; consult the program’s documentation.
17. What method do Linux distributions use to start X automatically when the system boots? [Select all that apply.]
- Start an XDMCP server from the Start folder
- Start an XDMCP server from an ~/.xinitrc script
- Start an XDMCP server via a SysV startup script
- Start an XDMCP server from init
18. Which of the following commands tells the X server to accept connections from linuxconcept.example.com?
- xhost +linuxconcept.example.com
- export DISPLAY=linuxconcept.example.com:0
- telnet linuxconcept.example.com
- xaccess linuxconcept.example.com
19. You find a reference to the prefdm program in /etc/inittab. What does this program do?
- It reads /etc/sysconfig/desktop to determine which XDMCP server to run and then runs the XDMCP server.
- It’s an XDMCP server that provides preferential login treatment to important users, such as root.
- It displays a dialog box that enables you to select which XDMCP server you want to run as the default.
- It runs before the fdm program, preparing data directories to hold important login variables.
20. What is the advantage of using SSH to tunnel an X session compared to using X’s network features more directly?
- SSH supports a higher bit depth than do other network access methods
- SSH supports font smoothing, which isn’t possible with more direct connections.
- SSH provides compression features to fit larger displays on smaller monitors.
- SSH provides encryption features that improve the security of the connection.
17. c, d