You are on page 1of 4

Department of MIT (Lee Wai Lee) page 1/4

Higher Diploma in Cloud and Data Centre Administration (IT114115)


ITP4107 Technical Support Fundamentals Test 1

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.

(b) Application Layer and Internet Layer.

(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]

(a) service httpd restart


(b) service httpd status
(c) service httpd stop
Department of MIT (Lee Wai Lee) page 2/4
Higher Diploma in Cloud and Data Centre Administration (IT114115)

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) What is the master server ? [1 mark]


(b) What is the serial number? [1 mark]
(c) What is mtp? [1 mark]
(d) List one mail exchange server for the domain “mysite.edu”.. [1 mark]
(e) If a client on the domain “mysite.edu” request a dns lookup for ftp.mysite.edu, what
will be the response? [1 mark]
(f) What are the THREE types of DNS server? Which of them is/are treated as “authoritative” [5 marks]

(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

Change setting in the Apache Configuration File (/etc/httpd/conf/httpd.conf)


from UserDir disabled to UserDir public_html.
Uncomment the whole <Directory /home/*/public_html> section.
service httpd restart

Directory listing: Index of /~user1

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. Can a machine on the sales.mycom.com network to telnet? [1 mark]


ii. Can a machine on the local machine do ssh? [1 mark]
iii. Can a machine on the br.sales.mycom.com network do finger? [1 mark]
iv. Can a machine on the vtc.org network do finger? [1 mark]
v. What should be changed to allow ONLY machines on the vol.org to do finger
and not allow ALL other machines to do finger? [3 marks]
vi. What should be changed to make ONLY accesses specified in the hosts.allow
are allowed and ALL other accesses are not allowed? [3 marks]

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

(a) Will messages with severity level warnings be logged? [1 mark]


(b) Will messages with severity level alerts be logged? [1 mark]
(c) Will messages with severity level information be logged? [1 mark]
(d) Where will be the messages logged? [1 mark]
(e) Add ONE rule to make all ftp messages with severity level information or above to be logged to
remote host myhost. [4 marks]
(f) After this change, what command should be run to make them effective (get the logging started?
[2 marks]

(a) Yes (b) No (c) No


(d) In the file /var/log/mylog3
(e) Add the following RULE:
ftp.info @myhost
(f) service rsyslog restart

****END OF PAPER****

You might also like