Professional Documents
Culture Documents
Marking Scheme
Total Marks : 60
You are required to answer ALL questions in this test paper. Write your answer in the space provided on this test
paper.
1. In Internet Protocal version 4 (IPv4), how many bits are used to store the Destination Address? [1 mark]
32 bits
2. TCP and UDP are the two most important protocols in the Transport Layer of TCP/IP.
(a) What is the major difference of the two protocols? [2 marks]
(b) Both protocols deliver data between which two layers? [2 marks]
(c) Which protocol would you choose if you are writing a video streaming application? Why? [3 marks]
(a) TCP provides reliable data delivery service with end-to-end error detection and
correction. UDP provides low-overhead, connectionless datagram delivery
service.
(c) UDP. Since the overhead of UDP is low, fulfilling the requirement of fast response
in video streaming application; and video streaming application can accept
the loss of some datagrams so error correction is not needed.
3. (a) What is the Linux command to restart the httpd daemon? [2 marks]
(b) What is the Linux command to check if httpd is running? [2 marks]
(c) What is the Linux command to stop the httpd daemon? [2 marks]
4. The forward zone file for a Linux DNS server is given below, for a domain named as “mysite.edu”.
$TTL 2D
@ IN SOA vtc.mysite.edu. ns2.mysite.edu. (
2014101401 ;
10800 ;
3600 ;
360000 ;
259200 ) ;
IN NS vtc.mysite.edu.
IN MX 10 mail.mysite.edu.
dns IN A 192.168.133.1
mail IN A 192.168.133.3
ftp IN A 192.168.133.5
mtp IN CNAME ftp
(a) vtc.mysite.edu
(b) 2014101401
(c) mtp is an alias (another name) of ftp
(d) mail.mysite.edu
(e) 192.168.133.5
(f) Master Name Server, Slave Name Server and Caching-only Name Server
Master Name Server and Slave Name Server are treated as “authoritative”
Department of MIT (Lee Wai Lee) page 3/4
Higher Diploma in Cloud and Data Centre Administration (IT114115)
5. What is the full path name of the configuration file used by Apache in Fedora Linux? [2 marks]
How to enable access to User Directory (to make the index.html in /home/user1/public_html displayed when
the URL http://localhost/~user1 is entered in a Web browwer, where user1 is a user in the Linux system) in
Apache? [3 marks]
What will be displayed if the index.html in /home/user1/public_html is removed (or renamed) and the URL
http://localhost/~user1 is entered in a Web browwer? [3 marks]
What is the purpose of using Apache’s name-based virtual hosting feature? [2 marks]
/etc/httpd/conf/httpd.conf
To make a Web server host more than one site per IP address.
6. List the sequence of DHCP messages (four) that are normally exchanged between a requesting client and
the DHCP server. [4 marks]
What are the other two DHCP messages? [2 marks]
DHCPDISCOVER
DHCPOFFER
DHCPREQUEST
DHCPACK
DHCPDECLINE
DHCPRELEASE
Department of MIT (Lee Wai Lee) page 4/4
Higher Diploma in Cloud and Data Centre Administration (IT114115)
7. Xinetd makes use of TCP wrappers to de access control.
Given the contents of hosts.allow and hosts.deny as follows:
hosts.allow hosts.deny
in.telnet : hr.mycom.com in.telnet: mycom.com
in.fingerd : vol.org in.fingerd : sales.mycom.com
i. NO ii. YES
iii. NO iv. YES
v. Add the following entry into hosts.deny :
in.fingerd : ALL
vi. Add the following entry into hosts.deny :
ALL : ALL
8. In Linux, syslog checks its /etc/rsyslog.conf file to determine which messages should be logged.
Assumed the following rule is set :
*.=warn /var/log/mylog3
****END OF PAPER****