Y3-P02 · Phase 2 of 8

PowerShell/Python Automation

Build IAM automation with PowerShell and Python following engineering standards.

PowerShellPythonAutomationIdempotencyLoggingDry-runError handling

Objectives

  • 1.Write idempotent automation scripts
  • 2.Implement structured logging without secrets
  • 3.Support dry-run mode where practical
  • 4.Handle errors safely and explicitly
  • 5.Validate inputs

Student Outcomes

  • Write idempotent, testable automation
  • Implement safe logging and error handling
  • Use dry-run modes for safety
  • Validate script inputs

Evidence Requirements

  • Automation scripts with documentation
  • Logging output examples
  • Dry-run evidence
  • Error handling demonstrations

Acceptance Criteria

  • Student writes idempotent automation
  • Student implements safe logging
  • Student uses dry-run and error handling

Evidence & Scoring

Passing: 80%

Tutor — Y3-P02

Tutor Offline. Ollama is not running. Install from ollama.com, then run ollama serve and ollama pull llama3.1.

Ask the tutor a question about your current lab.

The tutor uses progressive hints — it won't give you the answer immediately.