What to study for each PCEA-30-01 domain
Fundamentals of Automation
Covers identifying tasks that are suitable for automation, the benefits and limitations of automating them, and how automation ROI is judged. It also distinguishes scripting from process automation and orchestration, and introduces Python as an automation tool through modules such as subprocess, os, shutil, logging, and requests.
Key skills
Identifying automatable tasks, estimating automation ROI, distinguishing scripting, process automation and orchestration, and naming the Python modules used for common automation work.
Basic Command-Line Automation with Python
Covers running Python scripts from the command line, reading arguments with sys.argv, and working with environment variables through os.environ. It also addresses virtual environments, the shebang line and chmod on Unix-like systems, stdout and stderr redirection, running external programs with subprocess, and OS scheduling tools.
Key skills
Running scripts with command-line arguments and environment variables, creating and activating virtual environments, using shebang and executable permissions, capturing subprocess output, and redirecting standard streams.
Logging and Monitoring Essentials
Covers the purpose of logging in automation and configuring it with logging.basicConfig, including log levels, formats, and writing logs to files. It also addresses basic monitoring strategies for automated jobs and using log output to debug failures in scripts that run unattended.
Key skills
Configuring logging with basicConfig, choosing appropriate log levels and formats, writing and rotating log files, and using logs to monitor and debug automated jobs.
Basic File and Data Automation
Covers automating file and folder operations with the os module and copying, moving, and backing up files with shutil, together with handling file errors safely. It also covers reading and writing structured data with the csv and json modules, and safe file-handling and privacy practices for automated processing.
Key skills
Performing os and shutil file operations and backups, handling file errors, reading and writing CSV data with the csv module and JSON data with the json module, and applying safe, privacy-aware file handling.
Basic Web and API Automation
Covers the difference between web scraping and using APIs, scraping ethics and the role of robots.txt, and fetching pages and JSON responses with requests.get(). It also covers parsing HTML with BeautifulSoup and REST API basics, including GET and POST requests, API keys, and rate limits.
Key skills
Fetching web content and JSON with requests, parsing HTML with BeautifulSoup, respecting robots.txt and scraping ethics, and calling REST APIs with API keys while handling rate limits.
Scheduling, Notifications, and Reporting
Covers scheduling automated jobs with the schedule module and with operating-system tools such as cron on Unix-like systems and Windows Task Scheduler. It also covers sending email notifications with smtplib, showing desktop notifications with plyer, and generating text and HTML reports from automation results.
Key skills
Scheduling jobs with schedule, cron, and Task Scheduler, sending email notifications with smtplib, creating desktop notifications, and generating readable text and HTML reports.