Practical Tasks - UD04
These tasks cover the practical application of process management and network configuration concepts.Process Management Tasks
Task 1: Windows Task Manager
Practice using the Windows Task Manager for process management.Exercise 1: Terminating Processes
Exercise 1: Terminating Processes
Exercise 2: System Uptime
Exercise 2: System Uptime
- Open Task Manager
- Navigate to Performance tab
- Find and document the system uptime
- Take a screenshot
Exercise 3: Application History
Exercise 3: Application History
adminiso user based on the App History tab.Exercise 4: Process Details
Exercise 4: Process Details
| Application | Executable Name | Description |
|---|---|---|
| Notepad | ||
| Edge | ||
| File Explorer | ||
| Paint 3D | ||
| Solitaire | ||
| Microsoft Store | ||
| Photos |
Exercise 5: Startup Programs
Exercise 5: Startup Programs
- Check your home computer (or VM)
- Count how many applications start at login
- Take a screenshot of the Startup tab
- Identify programs that could be disabled to improve boot time
Task 2: Process Explorer
Exercise 1: Install Process Explorer
Exercise 1: Install Process Explorer
- Download Process Explorer from Microsoft Sysinternals
- Extract and run the executable
- Explore the process tree view
- Compare with Task Manager
Exercise 2: Analyze Process
Exercise 2: Analyze Process
- Find a running application in Process Explorer
- View its properties (right-click → Properties)
- Examine the Threads, TCP/IP, and Security tabs
- Document interesting findings
Task 3: PowerShell Process Management
Exercise 1: List Processes
Exercise 1: List Processes
- List all processes sorted by CPU usage (descending)
- Show only Name, Id, and CPU columns
- Export results to CSV file
Exercise 2: Monitor Memory
Exercise 2: Monitor Memory
- Finds processes using more than 100MB of RAM
- Displays Name, Id, and WorkingSet
- Runs continuously (refreshing every 5 seconds)
while ($true) loop and Start-SleepTask 4: Linux Process Management
Modify and complete these scripts:Exercise 1: Kill Process
Exercise 1: Kill Process
-10 to -9 to send SIGKILL.Exercise 2: Process Tree with PIDs
Exercise 2: Process Tree with PIDs
-p parameter to pstree to show PIDs.Exercise 3: Launch with Priority
Exercise 3: Launch with Priority
-n 10 parameter to the nice command.Exercise 4: Process Monitor and Launcher
Exercise 4: Process Monitor and Launcher
imprime-normalimprime-3d
- Check if processes are already running
- Kill them if they’re zombies
- Launch both processes with high priority (nice -4 to -6)
Network Configuration Tasks
Task 5: PowerShell Network Configuration
Exercise 1: Network Inventory
Exercise 1: Network Inventory
- List all network adapters
- Show IP addresses for each adapter
- Display DNS servers
- Test connectivity to 8.8.8.8
- Export results to text file
Exercise 2: Network Diagnostics
Exercise 2: Network Diagnostics
- Tests connectivity to multiple servers
- Resolves DNS for each server
- Displays results in a formatted table
- Saves failed tests to error log
- www.google.com
- www.microsoft.com
- 8.8.8.8
- Your local gateway
Task 6: Linux Network Configuration
Exercise 1: netplan Configuration
Exercise 1: netplan Configuration
Exercise 2: Network Troubleshooting
Exercise 2: Network Troubleshooting
- Checks if network interface is up
- Pings local gateway
- Pings 8.8.8.8
- Tests DNS resolution
- Reports which step failed (if any)
Task 7: Cross-Platform Network Commands
Exercise 1: Command Comparison
Exercise 1: Command Comparison
| Task | Windows (PowerShell) | Linux |
|---|---|---|
| Show IP config | Get-NetIPConfiguration | |
| Test connectivity | ping -c 5 | |
| DNS lookup | Resolve-DnsName | |
| Show route table | ip route | |
| Disable adapter | sudo ip link set eth0 down |
Exercise 2: Network Documentation
Exercise 2: Network Documentation
- Network adapter name
- MAC address
- IP address
- Subnet mask
- Default gateway
- DNS servers
- Connection speed
- How to change these settings
Advanced Challenges
Challenge 1: Process Monitor Dashboard
Windows PowerShell
Windows PowerShell
- Shows top 5 CPU-intensive processes
- Shows top 5 memory-intensive processes
- Shows network usage by process
- Refreshes every 3 seconds
- Uses colored output
- Allows user to kill a process by entering PID
Linux BASH
Linux BASH
- Shows CPU usage percentage
- Shows memory usage
- Lists processes using most resources
- Tests network connectivity
- Displays everything in a formatted dashboard
- Refreshes automatically
Challenge 2: Network Configuration Backup
Windows
Windows
- Exports all network adapter configurations
- Saves to timestamped backup file
- Can restore from backup file
- Validates configuration before applying
Linux
Linux
- Backs up netplan configuration
- Backs up /etc/hosts and /etc/resolv.conf
- Creates restore script automatically
- Tests network after restore
Challenge 3: Service Monitoring
Scenario: Create a monitoring system that:- Checks if critical services/processes are running
- Automatically restarts them if stopped
- Logs all actions with timestamps
- Sends alert if restart fails
- Works on both Windows and Linux
Submission Guidelines
- All completed scripts (in a single ZIP file)
- Screenshots where requested
- Completed tables and documentation
- Brief explanation of your solutions
UD04_Task[Number]_[YourName].zip- Include README.md with instructions
Grading Criteria
| Criteria | Points |
|---|---|
| Scripts execute without errors | 30% |
| Correct functionality | 30% |
| Code quality and comments | 20% |
| Documentation and screenshots | 20% |