Active Directory (AD)
In short: Active Directory is Microsoft's directory service used to centrally manage users, computers, groups, authentication and access permissions. A Domain Controller runs Active Directory Domain Services and authenticates domain users and computers.
What happens when a domain user logs in?
- The computer uses DNS to locate a Domain Controller.
- The computer communicates with the DC for authentication.
- Kerberos is commonly used to authenticate the user.
- The user receives access according to permissions.
- Applicable Group Policies are processed.
Useful PowerShell
Search-ADAccount -AccountDisabled -UsersOnly
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -UsersOnly
Get-ADGroupMember "Domain Admins"
Get-NetFirewallProfile
Review command results before disabling accounts or changing permissions.
WSUS — Windows Server Update Services
In short: WSUS is a Microsoft patch-management service. It allows administrators to centrally synchronise, approve and deploy Windows updates to client computers and servers.
- Synchronises update metadata and content.
- Administrators approve or decline updates.
- Computers can be organised into deployment groups.
- Update status can be monitored.
- Test updates before broad production deployment.
DNS — Domain Name System
In short: DNS translates domain names and hostnames into IP addresses. In Active Directory, DNS is also important for locating Domain Controllers and other domain services. Example: server.company.local resolves to an IP address.
| Record | Purpose |
|---|---|
A | Hostname to IPv4 |
AAAA | Hostname to IPv6 |
CNAME | Alias to another hostname |
MX | Mail server |
PTR | Reverse lookup |
SRV | Locates services such as AD services |
TXT | Text information, often used for verification |
AD vs WSUS vs DNS vs DHCP
RAID — Redundant Array of Independent Disks
In short: RAID combines physical disks into a logical storage system to improve performance, provide redundancy, or both. Protection depends on the RAID level.
| RAID | Min disks | Method | Failure tolerance |
|---|---|---|---|
| 0 | 2 | Striping | None |
| 1 | 2 | Mirroring | Usually one disk in a mirror |
| 5 | 3 | Distributed parity | One disk |
| 6 | 4 | Dual parity | Two disks |
| 10 | 4 | Mirroring + striping | Depends on which disks fail |
Example with two 1 TB disks: RAID 0 provides about 2 TB usable with no redundancy; RAID 1 provides about 1 TB usable with a mirrored copy.
If one RAID 5 disk fails: the array becomes degraded. Data may remain accessible but redundancy is reduced. Identify the failed disk, verify backup health, replace the correct disk and monitor rebuilding according to the vendor's procedure.
Remember: RAID is not a backup. It does not protect against deletion, ransomware, corruption, theft or site disasters.
LVM — Logical Volume Manager
In short: LVM is Linux storage-management technology that provides flexible disk-space management. It combines physical storage into a volume group and creates logical volumes that can be resized as requirements change.
These lab commands modify disks. Use a disposable lab disk and verify device names.
lsblk
sudo pvcreate /dev/sdb
sudo vgcreate vg_data /dev/sdb
sudo lvcreate -L 10G -n lv_backup vg_data
sudo mkfs.ext4 /dev/vg_data/lv_backup
sudo mkdir -p /backup
sudo mount /dev/vg_data/lv_backup /backup
sudo pvs
sudo vgs
sudo lvs
Nginx — Web Server and Reverse Proxy
In short: Nginx is an open-source web server that serves static websites and can act as a reverse proxy, load balancer and HTTP cache.
Common uses: website hosting and static content · reverse proxy to backend applications · load balancing · TLS termination · HTTP caching.
# Ubuntu / Debian
sudo apt update
sudo apt install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl status nginx
sudo nginx -t
sudo systemctl reload nginx
# Logs
/var/log/nginx/access.log
/var/log/nginx/error.log
Troubleshooting an unavailable site: check service status, configuration syntax, listening ports, firewall, DNS, access/error logs and backend application health.
IIS — Internet Information Services
In short: IIS is Microsoft's web-server software used to host websites, web applications and APIs on Windows Server.
| Component | Purpose |
|---|---|
| Website | Hosts a web application |
| Application Pool | Isolates applications and manages worker processes |
| Binding | Protocol, IP, port and hostname |
| SSL certificate | Enables HTTPS |
| Default Document | Specifies default page |
| Authentication | Controls access |
Basic hosting steps
- Install the Web Server (IIS) role.
- Open IIS Manager and add a website.
- Set its physical path.
- Configure IP, port and hostname bindings.
- Set appropriate folder permissions for the application identity.
- Configure the SSL certificate and HTTPS binding.
- Test access locally and from an authorised client.
Application Pool: isolates web applications into separate worker-process environments. An issue in one pool is less likely to directly affect applications in other pools.
Troubleshooting a down site: check website and application-pool state, bindings, DNS, certificate, folder permissions, application logs, Event Viewer and firewall access.
Sophos XGS 2100 firewall
Prepare to explain firewall policies, NAT, IPS, web filtering, SSL VPN, IPsec VPN, VLANs, authentication and traffic logs.
Troubleshooting no internet access
- Check physical connectivity and client IP configuration.
- Check the default gateway.
- Test an external IP.
- Test DNS resolution.
- Review firewall policies, NAT and traffic logs.
- Check authentication, web filtering and application restrictions.
- Verify after an approved change.
Sophos Local Service ACL
Controls which firewall services can be reached from network zones — for example HTTPS administration, SSH, ping, DNS, VPN portals and SNMP.
- Restrict HTTPS and SSH administration to trusted management devices or networks.
- Avoid exposing firewall administration on WAN without a specific approved need.
- Enable only services required in each zone.
- Restrict SNMP to authorised monitoring systems; prefer SNMPv3 where supported.
- Do not disable VPN or authentication services before checking dependencies.
- Back up configuration and plan changes to avoid production disruption.
Cisco switching and VLANs
VLAN: logically separates a switched network into broadcast domains and can help enforce network boundaries.
Different VLANs cannot communicate — troubleshooting
- Check IP addresses and subnet masks.
- Verify VLAN assignment on switch ports.
- Check trunk configuration and allowed VLANs.
- Verify default gateways.
- Check inter-VLAN routing.
- Check firewall policies or ACLs.
- Test and inspect logs.
Also revise OSI/TCP-IP, subnetting, static routing, STP/RSTP, DHCP, DNS, NAT, ACLs and port security — see the Networking track.
Proxmox and VMware
Proxmox VE is a virtualisation platform for virtual machines and Linux containers.
Prepare: hypervisor concepts · VM vs container · Linux bridges and virtual networking · storage pools · snapshots and backups · VM restoration · clustering and HA · CPU, RAM and storage monitoring.
Do not claim cluster or HA experience if you have only managed standalone hosts.
Wazuh SIEM
Wazuh is an open-source security monitoring platform for endpoint monitoring, log analysis, threat detection and security investigations.
Monitor: repeated failed logins · unexpected privileged logins · new administrator accounts · critical file/configuration changes · malware and vulnerability alerts · unexpected service stops.
File Integrity Monitoring (FIM): watches selected files and directories for changes, helping identify unexpected modifications.
Investigate an alert: identify endpoint/account/time; review related logs; validate whether activity is expected; contain or escalate according to incident procedures; document findings.
Linux administration quick revision
uptime
top
free -h
df -h
lsblk
systemctl --failed
journalctl -xe
ss -tulpn
ip addr
systemctl --type=service --state=running
Failed service troubleshooting
systemctl status <service>journalctl -u <service>- Validate configuration.
- Check dependencies, permissions, ports and disk space.
- Apply a controlled fix and verify.
Backup and disaster recovery
Also separate backup credentials, restrict access, use immutable/offline copies where practical, encrypt sensitive data, monitor failures and test restores.
Infrastructure security checklist
No environment can be guaranteed 100% secure. Reduce risk, detect suspicious activity and recover safely.
Seven-day security audit plan
| Day | Activity |
|---|---|
| Day 1 | Inventory servers, endpoints, network devices and exposed services |
| Day 2 | Review Sophos firewall rules, VPN users and administration access |
| Day 3 | Review AD privileged/inactive accounts and GPOs |
| Day 4 | Review VLANs, switch ports and inter-VLAN access |
| Day 5 | Review Windows/Linux patches, services, ports and logs |
| Day 6 | Review Wazuh agent coverage and critical alerts |
| Day 7 | Verify backups and test a non-production restore |
Document current configuration, obtain approval, consider dependencies and prepare rollback steps before changing production systems.
Real-world troubleshooting scenarios
Every incident follows the same structured method:
df -h to find the filesystem · du to find large directories · check logs, temp files and app data · identify purpose/owner before deleting · expand or clean up safely · verify services.What to study next
| Priority | Topic | Focus |
|---|---|---|
| 1 | Windows Server & AD | AD DS, DNS, DHCP, GPO, FSMO, replication |
| 2 | Linux | systemd, permissions, LVM, RAID, logs, SSH |
| 3 | Networking | Subnetting, VLANs, STP, routing, NAT, VPN |
| 4 | Virtualisation | Proxmox, VM backups, storage and recovery |
| 5 | Backup & DR | 3-2-1, RPO, RTO, restoration testing |
| 6 | Monitoring | Wazuh, logs, alerts and investigation |
| 7 | Automation | Bash, Ansible and Git |
Useful frameworks: CIS Controls · NIST Cybersecurity Framework · MITRE ATT&CK
Working principles
- Understand why something works, not just the command to type.
- Practise in a homelab first; label lab work and production work clearly in your own notes.
- When you don't know something, write down how you would investigate it — then go and test it.
- Always follow a troubleshooting sequence instead of guessing.
- Think about business impact, backups and rollback before every production change.
- Document what you changed and why, so future-you can follow it.
The goal is not to memorise answers. It is to understand infrastructure well enough to explain, troubleshoot and operate it responsibly.