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
Objective: Find 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
Objective: Identify most used applicationsCreate a list of the top 3 most used applications by the
adminiso user based on the App History tab.Exercise 4: Process Details
Exercise 4: Process Details
Objective: Document process informationFill in the table with executable names and descriptions:
Use the Details tab in Task Manager.
| Application | Executable Name | Description |
|---|---|---|
| Notepad | ||
| Edge | ||
| File Explorer | ||
| Paint 3D | ||
| Solitaire | ||
| Microsoft Store | ||
| Photos |
Exercise 5: Startup Programs
Exercise 5: Startup Programs
Objective: Audit 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
Write a PowerShell script to:
- 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
Create a script that:
- Finds processes using more than 100MB of RAM
- Displays Name, Id, and WorkingSet
- Runs continuously (refreshing every 5 seconds)
Use
while ($true) loop and Start-SleepTask 4: Linux Process Management
Modify and complete these scripts:Exercise 1: Kill Process
Exercise 1: Kill Process
Modify the script to send SIGKILL (signal 9):Task: Change
-10 to -9 to send SIGKILL.Exercise 2: Process Tree with PIDs
Exercise 2: Process Tree with PIDs
Modify to show PIDs in the process tree:Task: Add the
-p parameter to pstree to show PIDs.Exercise 3: Launch with Priority
Exercise 3: Launch with Priority
Modify to launch process with priority 10:Task: Add the
-n 10 parameter to the nice command.Exercise 4: Process Monitor and Launcher
Exercise 4: Process Monitor and Launcher
Scenario: The company “Creando, Creando, vamos mejorando” has problems with nightly print processes.Two processes run each night:
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
Create a script that generates a 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
Write a script that:
- 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
Create a BASH script that:
- 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
Complete the table with equivalent commands:
| 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
For both Windows and Linux systems, document:
- 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
Create an advanced monitoring script that:
- 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
Create a system monitor that:
- 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
Create a script that:
- Exports all network adapter configurations
- Saves to timestamped backup file
- Can restore from backup file
- Validates configuration before applying
Linux
Linux
Create a script that:
- 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
What to Submit:
- 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% |