Linux System Administration and Web Server Basics

Covers essential Linux system administration skills including package management, configuration files, shell commands, and web server technologies like Apache Tomcat, WebDAV, and PKI security

16 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

A ______________ is comprised of encryption technologies, services and software than an organization employs to protect its data transactions and other business interactions from being comprised.

  1. Encryption
  2. Tunneling
  3. SSL
  4. Public Key Infrastructure (PKI)
Question 2 Multiple Choice (Single Answer)

The __________ Application is a method of allowing remote authoring of a web site using a compatible WebDAV client.

  1. Admin Application
  2. WebDAV Application
  3. Manager Application
  4. Examples application
Question 3 True/False

Is Apache Tomcat an Open Source System (True/False)

  1. True
  2. False
Question 4 True/False

Is it possible, with Tomcat, to allow ONLY secure connections (HTTPS) for a Context or a Directory?

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

Which of the following directory contains systems configuration files ?

  1. /tmp
  2. /etc
  3. /var
  4. /boot
Question 6 Multiple Choice (Single Answer)

You want to compile and install a GNU software package, but you want to change the default installation target. Which file would you edit?

  1. config.h
  2. targets
  3. configure
  4. Makefile
Question 7 Multiple Choice (Single Answer)

Which will be run as the user logs in

  1. .bash_login
  2. .bash_profile
  3. .profile
  4. All tha above
Question 8 Multiple Choice (Single Answer)

The proper sequence of installing a OSS from source is(are)

  1. ./configure;make;make install
  2. ./configure;make install
  3. ./configure --prefix=/usr/apps;make;make install
  4. ./configure;make all;make install
Question 9 Multiple Choice (Single Answer)

Which command would you use to get a list of all files inside the rpm-package foobar.rpm in /home/bob?

  1. rpm -ql /home/bob/foobar.rpm
  2. rpm -ql -p /home/bob/foobar.rpm
  3. rpm -l /home/bob/foobar.rpm
  4. rpm -l -p /home/bob/foobar.rpm
Question 10 Multiple Choice (Single Answer)

How can you best see how much free space you have in your Paritions?

  1. Use df -ha
  2. Use df .
  3. Use du -c
  4. Use du
Question 11 Multiple Choice (Single Answer)

How could you get the physical SCSI address of /dev/sda ?

  1. Using the command scsi-info /dev/sda
  2. Using the command scsi_info /dev/sda
  3. Using the command scsiinfo /dev/sda
  4. Using the command lsscsi
Question 12 Multiple Choice (Single Answer)

When do you need to rerun the grub-install command?

  1. After every boot
  2. After every modification of the grub configuration file.
  3. After installing a new kernel with a new name in /boot
  4. Only the first time after installing GRUB
Question 13 Multiple Choice (Single Answer)

To find out what package /usr/bin/TcsMgrToolkit belongs to, you'd use

  1. rpm –qf TcsMgrToolkit
  2. rpm –qf which TcsMgrToolkit
  3. rpm –qf /usr/bin/TcsMgrToolkit
  4. rpm –qf /usr/bin/TcsMgrToolkit
Question 14 Multiple Choice (Single Answer)

You have just installed the new program foobar manually. This program uses shared libraries, which are installed to /usr/local/foobar/lib. What is necessary to do after the installation so that the libraries can be used?

  1. restart your computer
  2. run ldconfig
  3. edit /etc/ld.so.conf to add the new library path and then run ldconfig
  4. edit /etc/ld.so.conf to add the new library path and then run ld.so
Question 15 Multiple Choice (Single Answer)

How can you describe the function of the following commands? foo < bar > foobar

  1. The command bar gets its input from file foo and writes its output to the file foobar.
  2. The command foo gets its input from the file bar and redirect its output to the command foobar.
  3. The command bar writes its output to the files foo and foobar.
  4. The command foo gets its input from the file bar and writes its output to the file foobar.
Question 16 Multiple Choice (Single Answer)

The command to configure COM1 on IRQ 4, default ioports and all other standard parameters is

  1. setserial /dev/ttyS0 irq 4 autoconfig
  2. setserial /dev/ttyS0 irq 4
  3. setserial /dev/ttyS1 irq 4 autoconfig
  4. setserial /dev/ttyS1 irq 4