Past Papers, System Network & Administration, UOS Main Campus

System Network Administration Past Paper 2015 – BS IT 5th Term UOS (IT-453)

ProgramBS IT
Term5th
Year2015
Course codeIT-453
AnswersSolved ✓

University of Sargodha BS IT 5th term System Network Administration (IT-453) paper, 2015 exam (80 marks, 2:30 hours). The paper is retyped below, followed by solved answers for all 16 short questions and all six long questions: network administrator duties, Linux user and group management, directory structure, security policy, service and real-time monitoring and LVM.

Solved answers

Q1 – Short answers (16 × 2)

i. View a file’s content in Linux. cat file.txt (also less, more, head, tail).

ii. DNS. Domain Name System – a hierarchical distributed service that translates domain names (www.uos.edu.pk) into IP addresses; uses port 53.

iii. OSI layer of IP. Layer 3 – the Network layer.

iv. Bandwidth. The maximum data transfer capacity of a network link per unit time, measured in bits per second (Mbps, Gbps).

v. SMTP. Simple Mail Transfer Protocol – used to send and relay e-mail between mail servers and from clients to servers; port 25 (587 for submission, 465 with SSL).

vi. Redundancy. Providing duplicate components (servers, links, power supplies, RAID disks) so that if one fails the backup takes over, increasing availability and fault tolerance.

vii. ping command. Sends ICMP echo-request packets to a host and reports replies and round-trip time – to test reachability and latency: ping 8.8.8.8.

viii. tracert. Windows command (traceroute in Linux) that shows the path (each router hop) and delay that packets take to reach a destination, to locate where a network problem occurs.

ix. DDoS attack. Distributed Denial of Service – many compromised machines (a botnet) flood a server or network with traffic so that it becomes unavailable to legitimate users.

x. Firewall. Hardware or software that monitors and filters incoming and outgoing traffic according to security rules, blocking unauthorized access between a trusted and an untrusted network.

xi. Show hard disk usage in Linux. df -h (file-system usage); du -sh dir for directory usage.

xii. Booting scripts directory. /etc/init.d (and /etc/rc.d/rc*.d run-level links); boot loader files are in /boot. On systemd systems units are in /etc/systemd/system.

xiii. Change a user’s password. passwd username (as root); passwd for own password.

xiv. Show running processes. ps -ef or ps aux; top/htop for a live view.

xv. Physical security of network. Protecting network hardware from physical access, theft and damage – locked server rooms, access cards, CCTV, guards, locked racks, UPS and fire protection.

xvi. KVM switch, IP KVM. A KVM (Keyboard-Video-Mouse) switch lets one keyboard, monitor and mouse control several computers/servers. An IP KVM switch provides the same control remotely over a TCP/IP network through a browser or client, even at BIOS level.

Q2 – Responsibilities of a network administrator

  • Design, install and configure network hardware – routers, switches, firewalls, wireless access points, servers.
  • Manage IP addressing, subnetting, DHCP, DNS and VLANs.
  • Create and manage user accounts, groups and permissions; directory services (Active Directory/LDAP).
  • Network security – firewalls, antivirus, patches, VPNs, access control, security policy enforcement, intrusion detection.
  • Monitor network performance and availability; troubleshoot connectivity problems.
  • Backup and disaster recovery planning; test restores.
  • Upgrade and maintain hardware and software; apply updates and patches.
  • Manage e-mail, web, file and print servers.
  • Documentation of network diagrams, configurations and procedures; asset inventory.
  • Capacity planning and budgeting; vendor coordination.
  • User support and training.

Q3 – User and group management in Linux

Linux is multi-user: every user has a UID and belongs to a primary group (GID) and optional secondary groups. Information is stored in /etc/passwd (accounts), /etc/shadow (encrypted passwords and ageing) and /etc/group (groups).

# users
useradd -m -s /bin/bash -c "Ali Khan" ali   # create user with home dir
passwd ali                                   # set password
usermod -aG developers ali                   # add to secondary group
usermod -L ali / usermod -U ali              # lock / unlock account
chage -M 90 ali                              # password expires every 90 days
userdel -r ali                               # delete user and home dir

# groups
groupadd developers
groupmod -n devteam developers               # rename group
gpasswd -d ali devteam                       # remove user from group
groupdel devteam
id ali ; groups ali                          # show memberships

# ownership and permissions
chown ali:devteam project.txt
chmod 750 /srv/project

Root (UID 0) is the superuser; ordinary users can be given admin rights with sudo (members of the sudo/wheel group or entries in /etc/sudoers). Groups make it easy to give the same file permissions to many users.

Q4 – Linux directory structure

Linux follows the Filesystem Hierarchy Standard: a single tree starting at the root /.

DirectoryContents
/binEssential user commands (ls, cp, cat)
/sbinSystem administration binaries (fdisk, ifconfig, reboot)
/bootKernel, initrd and boot loader (GRUB) files
/devDevice files (/dev/sda, /dev/null)
/etcSystem configuration files (passwd, fstab, hosts)
/homeHome directories of ordinary users
/rootHome directory of the root user
/lib, /lib64Shared libraries and kernel modules
/media, /mntMount points for removable media and temporary mounts
/optOptional third-party software
/proc, /sysVirtual file systems with kernel and process information
/tmpTemporary files
/usrUser programs, libraries, documentation (/usr/bin, /usr/lib, /usr/share)
/varVariable data – logs (/var/log), mail, spool, web pages (/var/www)
/srvData for services (FTP, web)
/runRun-time data since last boot

Q5 – Security policy

A security policy is a formal document that defines how an organization protects its information and IT assets – the rules, responsibilities and procedures for users and administrators. It is approved by management and supported by standards and guidelines.

Typical components

  • Purpose and scope – what assets, people and systems are covered.
  • Acceptable use policy – permitted and prohibited use of computers, e-mail and internet.
  • Password and access control policy – password length, complexity, expiry; least privilege; account creation/removal.
  • Network security – firewalls, remote access/VPN, wireless security.
  • Data protection and backup policy – classification, encryption, backup schedule and retention.
  • Physical security – server room access, equipment protection.
  • Anti-malware and patch management.
  • Incident response – reporting and handling security incidents.
  • Disaster recovery and business continuity.
  • Roles, responsibilities, enforcement and penalties; regular review and user training.

A good policy is clear, realistic, enforceable, supported by management and reviewed regularly.

Q6 – Service monitoring and real-time monitoring

Service monitoring is continuously checking that network services (web, e-mail, DNS, DHCP, database) and the servers and devices they run on are available and performing correctly, so that problems are detected and fixed before users are affected.

  • Checks: is the service up (port responding, e.g. HTTP 200)? response time, CPU, memory, disk usage, bandwidth, error logs.
  • Methods: polling with ping/port checks, SNMP queries, agents installed on servers, log analysis.
  • Tools: Nagios, Zabbix, PRTG, Cacti, SolarWinds, Prometheus/Grafana.

Real-time monitoring means the status is collected and displayed continuously, as events happen, with immediate alerts:

  • Live dashboards show the current state (green/red) and graphs of traffic, latency and load.
  • Thresholds trigger instant alerts by e-mail/SMS when a service fails or a value crosses a limit (e.g. disk > 90%).
  • Allows immediate response, reduces downtime and helps meet SLAs.
  • Example: Nagios checks a web server every minute and alerts the administrator within seconds if Apache stops responding; top or iftop give real-time local views.

Q7 – LVM in detail

LVM (Logical Volume Manager) in Linux provides flexible disk management by placing an abstraction layer between physical disks and file systems.

  • Physical Volume (PV) – a disk or partition initialised for LVM: pvcreate /dev/sdb1.
  • Volume Group (VG) – a pool combining one or more PVs: vgcreate datavg /dev/sdb1 /dev/sdc1.
  • Logical Volume (LV) – a “virtual partition” carved from the VG on which a file system is created: lvcreate -L 20G -n lvdata datavg, then mkfs.ext4 /dev/datavg/lvdata and mount it.
  • Physical/Logical extents (PE/LE) – the fixed-size blocks (default 4 MB) in which space is allocated.

Advantages: resize volumes online (lvextend -L +10G /dev/datavg/lvdata then resize2fs); combine several disks into one large volume; add new disks to a VG without downtime; snapshots for backups (lvcreate -s); striping and mirroring. Display commands: pvs/pvdisplay, vgs/vgdisplay, lvs/lvdisplay.

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.