50 Free AWS DevOps Engineer Professional Practice Questions (DOP-C02)
Preparing for AWS DevOps Engineer Professional? These questions cover all domains.
SDLC Automation (Questions 1–11)
Question 1
Which CodePipeline action type runs automated tests before deploying to production?
a) Source
b) Build
c) Test
d) Deploy
Show Answer
Answer: c) Test
Explanation: CodePipeline test actions run automated tests (using CodeBuild or third-party tools). Deploy actions deploy to environments. Approval actions require manual sign-off.
Question 2
What is the purpose of a buildspec.yaml file?
a) Configuring CodePipeline
b) Defining build commands and settings for CodeBuild
c) Deploying applications
d) Managing CodeCommit
Show Answer
Answer: b) Defining build commands and settings for CodeBuild
Explanation: buildspec.yaml defines phases (install, pre_build, build, post_build), environment variables, cache settings, and artifacts for CodeBuild.
Questions 3–11
[Full CI/CD set covers cross-account pipelines, artifact stores, approval gates, rollback strategies]
Configuration Management and IaC (Questions 12–19)
Question 3
What is CloudFormation StackSets used for?
a) Creating nested stacks
b) Deploying stacks across multiple accounts and regions
c) Managing stack drift
d) Creating change sets
Show Answer
Answer: b) Deploying stacks across multiple accounts and regions
Explanation: StackSets deploy CloudFormation templates across multiple accounts and regions from a single operation, enabling consistent infrastructure across an AWS Organization.
Questions 4–19
[Full set covers CloudFormation macros, drift detection, Systems Manager Automation, Parameter Store]
Monitoring and Logging (Questions 20–27)
Question 4
Which CloudWatch Logs feature enables real-time monitoring of log patterns?
a) Log Groups
b) Log Streams
c) Contributor Insights
d) Metric Filters
Show Answer
Answer: c) Contributor Insights
Explanation: Contributor Insights analyzes CloudWatch Logs to identify top contributors (IPs, users, errors) and create time-series data for unusual activity patterns.
Questions 5–27
[Full set covers CloudWatch dashboards, Logs Insights, X-Ray sampling, CloudTrail Insights, Config]
Policies, Incident Response, and HA (Questions 28–50)
Question 5
Which EventBridge pattern enables cross-account event routing?
a) Custom event bus
b) Default event bus
c) Partner event bus
d) Cross-account event bus
Show Answer
Answer: a) Custom event bus
Explanation: Custom event buses can receive events from other accounts via resource-based policies, enabling cross-account event-driven automation.
Questions 6–50
[Full set covers SCPs, Lambda destinations, Step Functions error handling, self-healing, DR strategies, RTO/RPO]
How Did You Score?
Bereit, dein Wissen zu testen?
Probiere unsere Übungsprüfungen mit Hunderten von realistischen Fragen aus.
Üben starten →