Update solution templates with scenario descriptions

This commit is contained in:
Hugh Ratsch
2025-03-02 09:45:00 -06:00
parent cd36415d1d
commit e4ba16bfc7
5 changed files with 436 additions and 75 deletions
+108 -12
View File
@@ -21,12 +21,48 @@ From Practice Scenarios v1, Scenario 4:
5. Expose the container on port 8080 5. Expose the container on port 8080
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Clean system with Podman installed
- Required Outcome: [To be filled] - Required Outcome: Running nginx container with persistent storage that starts on boot
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Pull the nginx container image
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Create and configure the persistent volume
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Run the container with the volume mounted
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Configure automatic startup
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Skills Demonstrated
- Container Management
- Volume Configuration
- System Integration
- Container Security
## Scenario: [v2-S4] Container Operations ## Scenario: [v2-S4] Container Operations
@@ -40,12 +76,42 @@ From Practice Scenarios v2, Scenario 4:
6. Create a systemd service file for the pod 6. Create a systemd service file for the pod
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Clean system with Podman installed
- Required Outcome: [To be filled] - Required Outcome: Fully functional MariaDB and phpMyAdmin deployment with persistence and auto-restart
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Pull container images
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Configure persistent storage
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Create and configure pod
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Set up systemd service
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Scenario: [v3-S4] Advanced Container Deployment ## Scenario: [v3-S4] Advanced Container Deployment
@@ -60,9 +126,39 @@ From Practice Scenarios v3, Scenario 4:
7. Set up container monitoring 7. Set up container monitoring
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Clean system with Podman installed
- Required Outcome: [To be filled] - Required Outcome: Production-ready multi-container application with monitoring, resource limits, and health checks
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Design container architecture
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Configure container networking
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Implement resource limits and health checks
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Set up monitoring and logging
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
+18 -24
View File
@@ -21,9 +21,9 @@ From Practice Scenarios v1, Scenario 7:
5. Implement network access restrictions using firewalld zones 5. Implement network access restrictions using firewalld zones
### Environment ### Environment
- OS Version: RHEL/Rocky Linux - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [Initial network configuration] - Initial State: DHCP-configured network interface
- Required Outcome: [Desired network setup] - Required Outcome: Properly configured static network settings with hostname and firewall zones
### Solution Steps ### Solution Steps
1. Check Current Network Configuration 1. Check Current Network Configuration
@@ -34,36 +34,30 @@ From Practice Scenarios v1, Scenario 7:
# Check routing # Check routing
ip route show ip route show
``` ```
[Explanation of current state] [My explanation will go here after completing the exercise]
2. Configure Network Interface 2. Configure Network Interface
```bash ```bash
# Network configuration commands # Network configuration commands
nmcli connection modify ... # To be filled with my solution
``` ```
[Explanation of configuration] [My explanation will go here after completing the exercise]
3. Apply and Verify Changes 3. Apply and Verify Changes
```bash ```bash
# Apply changes # Apply changes
nmcli connection up ... # To be filled with my solution
``` ```
[Explanation of changes] [My explanation will go here after completing the exercise]
### Verification ### Verification
```bash ```bash
# Test connectivity # Test connectivity
ping -c 4 gateway_ip # To be filled with my verification steps
ping -c 4 8.8.8.8
# Check DNS resolution
nslookup example.com
``` ```
### Key Learnings ### Key Learnings
- Understanding of network configuration - [To be filled after completing the exercise]
- Troubleshooting methodology
- NetworkManager usage
## Skills Demonstrated ## Skills Demonstrated
- Network Configuration - Network Configuration
@@ -83,12 +77,12 @@ From Practice Scenarios v2, Scenario 7:
6. Set up network teaming for redundancy 6. Set up network teaming for redundancy
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: System with various network and storage issues
- Required Outcome: [To be filled] - Required Outcome: Fully functional system with resolved issues and properly configured network
### Solution Steps ### Solution Steps
[Your solution will be added here] [To be filled when I complete this exercise]
## Scenario: [v3-S7] Network Services Configuration ## Scenario: [v3-S7] Network Services Configuration
@@ -108,9 +102,9 @@ From Practice Scenarios v3, Scenario 7:
- Fail2ban configuration - Fail2ban configuration
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Basic network configuration with single interface
- Required Outcome: [To be filled] - Required Outcome: Advanced network configuration with bonding, VLANs, and security features
### Solution Steps ### Solution Steps
[Your solution will be added here] [To be filled when I complete this exercise]
+74 -15
View File
@@ -19,9 +19,9 @@ From Practice Scenarios v1, Scenario 3 (Security Part):
- Configure SSH to disable root login and only allow key-based authentication - Configure SSH to disable root login and only allow key-based authentication
### Environment ### Environment
- OS Version: RHEL/Rocky Linux - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [Initial security configuration] - Initial State: Default security configuration with SELinux in enforcing mode
- Required Outcome: [Desired security setup] - Required Outcome: Secured system with custom SELinux policy and proper firewall/SSH configuration
### Solution Steps ### Solution Steps
1. Check Current SELinux Status 1. Check Current SELinux Status
@@ -44,12 +44,17 @@ From Practice Scenarios v1, Scenario 3 (Security Part):
``` ```
[Explanation of configuration] [Explanation of configuration]
3. Apply Changes 3. Configure Firewall
```bash ```bash
# Restore contexts # To be filled with my solution
restorecon -Rv /custom/path
``` ```
[Explanation of changes] [My explanation will go here after completing the exercise]
4. Secure SSH Configuration
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification ### Verification
```bash ```bash
@@ -86,12 +91,42 @@ From Practice Scenarios v2, Scenario 5:
6. Configure SELinux boolean settings for web services 6. Configure SELinux boolean settings for web services
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Default security configuration
- Required Outcome: [To be filled] - Required Outcome: Hardened system with granular access controls and application-specific security
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Configure SELinux for custom application
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Implement firewalld rich rules
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Set up ACLs and sudo restrictions
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Configure password policies
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Scenario: [v3-S5] Comprehensive Security Setup ## Scenario: [v3-S5] Comprehensive Security Setup
@@ -114,11 +149,35 @@ From Practice Scenarios v3, Scenario 5:
- Key-based authentication only - Key-based authentication only
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Default security configuration
- Required Outcome: [To be filled] - Required Outcome: Enterprise-grade security implementation with custom policies
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Develop comprehensive SELinux strategy
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Configure advanced firewalld setup
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Implement hardened SSH configuration
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
[Additional scenarios will be documented here as completed] [Additional scenarios will be documented here as completed]
+115 -12
View File
@@ -22,12 +22,55 @@ Create a script that:
5. Logs all actions to /var/log/cleanup.log 5. Logs all actions to /var/log/cleanup.log
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: System without the necessary script
- Required Outcome: [To be filled] - Required Outcome: Fully functional cleanup script with reporting and archiving capability
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Create the script structure
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Implement file finding and reporting
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Add archiving functionality
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Implement logging
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
5. Test the script
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Skills Demonstrated
- Shell Scripting
- File Management
- Log Management
- Process Automation
- System Maintenance
## Scenario: [v2-S6] Automation Script ## Scenario: [v2-S6] Automation Script
@@ -41,12 +84,42 @@ Create a script that:
5. Uses getopts for command line options 5. Uses getopts for command line options
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: System without monitoring or maintenance automation
- Required Outcome: [To be filled] - Required Outcome: Comprehensive system monitoring and maintenance script
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Create script with command-line options
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Implement disk space monitoring
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Add cleanup functionality
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Create reporting feature
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Scenario: [v3-S6] System Automation ## Scenario: [v3-S6] System Automation
@@ -65,9 +138,39 @@ Create scripts for:
- Logs all operations - Logs all operations
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: System without inventory or backup automation
- Required Outcome: [To be filled] - Required Outcome: Complete system inventory and backup solution with proper logging and verification
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Create system inventory script
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Implement package and service reporting
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Create backup script with incremental support
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Add verification and logging
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
+121 -12
View File
@@ -21,12 +21,55 @@ From Practice Scenarios v1, Scenario 5:
5. Create a backup of /etc using tar with bzip2 compression 5. Create a backup of /etc using tar with bzip2 compression
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: System with locked root password and various issues
- Required Outcome: [To be filled] - Required Outcome: Recovered system with proper configuration and backup
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Reset root password using emergency mode
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Identify and kill high CPU process
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Configure default boot target
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Set up autofs for NFS
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
5. Create backups
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Skills Demonstrated
- System Recovery
- Process Management
- Boot Configuration
- Backup and Restore
- File System Management
## Scenario: [v2-S8] System Maintenance ## Scenario: [v2-S8] System Maintenance
@@ -40,12 +83,48 @@ From Practice Scenarios v2, Scenario 8:
6. Configure time synchronization with multiple time sources 6. Configure time synchronization with multiple time sources
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Basic system without maintenance configuration
- Required Outcome: [To be filled] - Required Outcome: Fully configured maintenance system with automated tasks
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Configure local repository
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. Set up automated updates
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Configure log rotation
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Implement backup strategy
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
5. Schedule maintenance tasks
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]
## Scenario: [v3-S3] Boot Management and Recovery ## Scenario: [v3-S3] Boot Management and Recovery
@@ -62,9 +141,39 @@ From Practice Scenarios v3, Scenario 3:
6. Configure crash dump collection 6. Configure crash dump collection
### Environment ### Environment
- OS Version: [To be filled] - OS Version: RHEL/Rocky Linux 8.x
- Initial State: [To be filled] - Initial State: Standard boot configuration
- Required Outcome: [To be filled] - Required Outcome: Advanced boot configuration with security and recovery options
### Solution Steps ### Solution Steps
[Your solution will be added here] 1. Configure boot targets
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
2. GRUB2 configuration
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
3. Recovery procedures
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
4. Configure crash dumps
```bash
# To be filled with my solution
```
[My explanation will go here after completing the exercise]
### Verification
```bash
# To be filled with my verification steps
```
### Key Learnings
- [To be filled after completing the exercise]