Robot Programming & Configuration Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Robot Programming & Configuration flashcards as text
In AWS Systems Manager Automation, what document type is used to define multi-step runbooks for automating operational tasks?
Answer: Automation
SSM Automation documents define orchestrated runbooks with steps like 'aws:runInstances' or 'aws:executeScript' for automated operational workflows.
Which Robot Framework library is MOST commonly used for testing REST APIs in an AWS DevOps pipeline?
Answer: RequestsLibrary
RequestsLibrary wraps the Python 'requests' library, providing keywords like 'GET On Session' and 'POST On Session' for REST API testing.
When configuring a buildspec.yml for Robot Framework in CodeBuild, where should you place the `pip install robotframework` command?
Answer: install phase
The install phase in buildspec.yml is designed for installing runtime dependencies like Python packages before tests or builds run.
A Robot Framework test uses `${API_KEY}` loaded from an environment variable. What AWS service is the BEST source for this secret in a CodeBuild project?
Answer: AWS Secrets Manager via environment variable injection
CodeBuild natively integrates with AWS Secrets Manager, allowing secrets to be injected as environment variables at build time without exposure in code.
In Robot Framework, what is the correct syntax to define a keyword that accepts two positional arguments?
Answer: My Keyword\n [Arguments] ${arg1} ${arg2}
Robot Framework keyword definitions use the `[Arguments]` setting with `${variable}` syntax to declare positional parameters.
Which tag in Robot Framework allows you to skip specific test cases when running in a particular environment, such as skipping destructive tests in production?
Answer: robot --exclude
The `--exclude` flag tells Robot Framework to skip all tests tagged with the specified tag, enabling environment-specific test selection.
An AWS DevOps engineer needs Robot Framework test failures to automatically create a Jira ticket. Which AWS service is BEST suited for this post-test webhook integration?
Answer: Amazon EventBridge with a CodeBuild state change rule
EventBridge can capture CodeBuild BUILD_FAILED events and trigger a Lambda function or API destination to create a Jira ticket automatically.