Skip to content

DOP-C02 Practice Exam 5: SaaS multi-tenant DevOps

AWS Certified DevOps Engineer – Professional. 75 questions, 12 with more than one correct answer. Real exam: 75 questions (65 scored, 10 unscored), multiple choice and multiple response, 180 minutes, pass at a scaled 750 / 1,000.

Independent practice questions by Core Concept Learning, written from the public exam guide; not official AWS content. Study the free DOP-C02 course

Study mode: check any answer as you go. Or practise under exam conditions: 180 minutes, answers hidden until you submit.

x
0/75
  1. Question 1

    Domain 1: SDLC Automation · Task 1.1

    A SaaS provider runs its product in 12 cells, each a separate account. The team wants each release deployed to one cell first, then to the rest in waves, stopping if alarms fire in an earlier wave. Which pipeline design fits BEST?

  2. Question 2

    Domain 1: SDLC Automation · Task 1.1

    A multi-tenant API's pipeline must run database schema migrations before deploying new code, and stop if a migration fails. Where should the migration run?

  3. Question 3

    Domain 1: SDLC Automation · Task 1.1

    A SaaS company's pipeline must deploy CloudFormation stacks into tenant-dedicated accounts that are created weekly. The team doesn't want to edit the pipeline for each new tenant. Which approach fits BEST?

  4. Question 4

    Domain 1: SDLC Automation · Task 1.1

    Two teams push to the same pipeline. A release in progress must finish its deployment stages before the next one starts, and no commit may be skipped. Which execution mode fits?

  5. Question 5

    Domain 1: SDLC Automation · Task 1.1

    A pipeline's build needs credentials for a private package registry and a code signing certificate's password. Which TWO practices fit? Select TWO.

    Choose 2.

  6. Question 6

    Domain 1: SDLC Automation · Task 1.2

    A SaaS team wants every pull request to run contract tests between the API and its 5 consumer services, failing the PR if any contract breaks. Which approach fits BEST?

  7. Question 7

    Domain 1: SDLC Automation · Task 1.2

    A noisy-neighbor fix must be verified by testing the API with traffic from one heavy tenant and 100 light tenants at once before release. Which TWO steps fit? Select TWO.

    Choose 2.

  8. Question 8

    Domain 1: SDLC Automation · Task 1.2

    Tests for a SaaS app need a seeded database for each test run. Seeding takes 20 minutes. What can the engineer do to speed up test environments?

  9. Question 9

    Domain 1: SDLC Automation · Task 1.2

    A team wants the pipeline to stop if a deployed API's error rate rises in the 15 minutes after deployment to the first cell. What should the engineer add?

  10. Question 10

    Domain 1: SDLC Automation · Task 1.3

    A SaaS company publishes tenant SDKs to npm and PyPI from CI, and internal services must consume only signed, approved versions. Which TWO practices fit? Select TWO.

    Choose 2.

  11. Question 11

    Domain 1: SDLC Automation · Task 1.3

    Container images for 30 microservices are built in a tools account and deployed to 12 cell accounts. Pulls fail with access denied in the cells. What should the engineer configure?

  12. Question 12

    Domain 1: SDLC Automation · Task 1.3

    A SaaS team wants to reduce Lambda package sizes by sharing a common library across 40 functions, versioned and updated through the pipeline. What should the engineer use?

  13. Question 13

    Domain 1: SDLC Automation · Task 1.4

    A SaaS API on Lambda must roll out new versions to internal tenants first, then all tenants. Routing is based on tenant ID, not a random percentage. Which approach fits BEST?

  14. Question 14

    Domain 1: SDLC Automation · Task 1.4

    A SaaS app on ECS uses blue/green deployments. Some tenants report errors for a minute after each cutover because connections to old tasks are cut. What should the engineer adjust?

  15. Question 15

    Domain 1: SDLC Automation · Task 1.4

    A SaaS company deploys an agent to customers' on-premises servers with CodeDeploy. Some servers are behind proxies and never pick up deployments. What should the engineer check?

  16. Question 16

    Domain 1: SDLC Automation · Task 1.4

    A team deploys tenant-specific configuration with each release and wants deployments to be identical across cells, with any difference treated as a bug. Which practice fits BEST?

  17. Question 17

    Domain 1: SDLC Automation · Task 1.4

    A CodeDeploy blue/green deployment for EC2 fails because the replacement instances can't be created. The deployment group copies the original Auto Scaling group. What should the engineer check FIRST?

  18. Question 18

    Domain 2: Configuration Management and IaC · Task 2.1

    A SaaS provider uses one CloudFormation template for all tenant stacks. A change to a shared resource type must reach 400 tenant stacks safely. Which approach fits BEST?

  19. Question 19

    Domain 2: Configuration Management and IaC · Task 2.1

    A platform team wants application teams to define tenant infrastructure in TypeScript but always get approved defaults, such as encryption and log retention, without reading docs. What should the engineer provide?

  20. Question 20

    Domain 2: Configuration Management and IaC · Task 2.1

    A SaaS company's tenants get a feature flag per plan tier, evaluated at runtime with low latency, and changes must take effect without redeploys. What should the engineer use?

  21. Question 21

    Domain 2: Configuration Management and IaC · Task 2.1

    A team needs to know whether 400 tenant stacks still match their templates after an incident where engineers made console changes. What should the engineer run?

  22. Question 22

    Domain 2: Configuration Management and IaC · Task 2.1

    A SaaS company's onboarding creates resources per tenant with CloudFormation. Some tenants need an optional analytics module. How should the template handle it?

  23. Question 23

    Domain 2: Configuration Management and IaC · Task 2.2

    A SaaS provider creates a new AWS account per enterprise tenant. Each account needs a baseline network, logging, security services and a deployment role within an hour, defined as Terraform. Which approach fits BEST?

  24. Question 24

    Domain 2: Configuration Management and IaC · Task 2.2

    Tenant accounts must never be able to disable the provider's monitoring agent role, delete CloudTrail, or leave the organization. Tenants have admin access in their accounts. What should the engineer configure?

  25. Question 25

    Domain 2: Configuration Management and IaC · Task 2.2

    The provider's operations team needs read-only access to every tenant account and break-glass admin access with approval. Which approach fits BEST?

  26. Question 26

    Domain 2: Configuration Management and IaC · Task 2.2

    A SaaS provider must block noncompliant resources, such as unencrypted RDS instances, before CloudFormation creates them in any tenant account. Which control fits?

  27. Question 27

    Domain 2: Configuration Management and IaC · Task 2.3

    A SaaS operations team runs a weekly job that rotates logs, resizes volumes nearing capacity, and restarts tenant workers in order across 2,000 instances, with rate limits. Which approach fits BEST?

  28. Question 28

    Domain 2: Configuration Management and IaC · Task 2.3

    When a tenant cancels, the provider must export their data to S3, wait for confirmation, delete their resources across services, and record each step, with retries. Which service fits BEST?

  29. Question 29

    Domain 2: Configuration Management and IaC · Task 2.3

    A SaaS provider must show auditors which tenant workers run unpatched OS versions, across 30 accounts, refreshed daily. Which TWO features fit? Select TWO.

    Choose 2.

  30. Question 30

    Domain 2: Configuration Management and IaC · Task 2.3

    A provider's Lambda function updates tenant resources in many accounts using the AWS SDK. It sometimes hits API throttling and fails. What should the engineer implement?

  31. Question 31

    Domain 3: Resilient Cloud Solutions · Task 3.1

    A SaaS provider wants a failure in one group of tenants never to affect others. Which architecture fits BEST?

  32. Question 32

    Domain 3: Resilient Cloud Solutions · Task 3.1

    A multi-tenant API runs on ECS in two AZs. A review finds that the service's single NAT gateway and single-AZ Redis node are single points of failure. Which TWO changes fix them? Select TWO.

    Choose 2.

  33. Question 33

    Domain 3: Resilient Cloud Solutions · Task 3.1

    An enterprise tenant requires an RPO under 1 second and fast Regional failover for its dedicated Aurora PostgreSQL database. What should the provider configure?

  34. Question 34

    Domain 3: Resilient Cloud Solutions · Task 3.1

    A SaaS app's tenants are served from us-east-1 and eu-west-1 for data residency. Each tenant must always be routed to its home Region. What should the engineer use?

  35. Question 35

    Domain 3: Resilient Cloud Solutions · Task 3.2

    One tenant's batch imports flood a shared SQS queue, delaying other tenants' messages. What should the engineer do to keep processing fair with minimal redesign?

  36. Question 36

    Domain 3: Resilient Cloud Solutions · Task 3.2

    A multi-tenant API on API Gateway must stop any tenant exceeding 100 requests per second from affecting others. What should the engineer configure?

  37. Question 37

    Domain 3: Resilient Cloud Solutions · Task 3.2

    A SaaS provider runs tenant workloads on EKS. Pods for large tenants scale up quickly, but node capacity lags and some tenants experience delays. Which approach fits BEST?

  38. Question 38

    Domain 3: Resilient Cloud Solutions · Task 3.2

    A tenant analytics service on DynamoDB has unpredictable spikes from different tenants. The team wants no capacity planning and no throttling from sudden spikes. What should the engineer choose?

  39. Question 39

    Domain 3: Resilient Cloud Solutions · Task 3.3

    Enterprise tenants' contracts require a 1-hour RTO and 15-minute RPO for their dedicated environments if a Region fails, at the lowest cost that meets this. Which strategy fits BEST?

  40. Question 40

    Domain 3: Resilient Cloud Solutions · Task 3.3

    A SaaS provider wants to prove each cell's recovery works by failing it over every quarter, with traffic moved by a rehearsed, orchestrated plan. Which service fits BEST?

  41. Question 41

    Domain 3: Resilient Cloud Solutions · Task 3.3

    A tenant accidentally deleted records in the provider's shared DynamoDB table 3 hours ago. Only that tenant's data must be restored, without affecting others. What should the engineer do?

  42. Question 42

    Domain 4: Monitoring and Logging · Task 4.1

    A SaaS provider needs per-tenant latency and error metrics without defining a metric for each of 5,000 tenants by hand. Logs include a tenantId field. Which TWO options fit? Select TWO.

    Choose 2.

  43. Question 43

    Domain 4: Monitoring and Logging · Task 4.1

    Tenant workloads in 50 accounts must send logs to the provider's central observability account, with every new account included automatically. What should the engineer configure?

  44. Question 44

    Domain 4: Monitoring and Logging · Task 4.1

    The provider must keep tenant audit logs for 3 years, protect them from deletion, and query them occasionally. Which TWO steps fit? Select TWO.

    Choose 2.

  45. Question 45

    Domain 4: Monitoring and Logging · Task 4.1

    Tenants' logs contain email addresses. The provider must mask them in CloudWatch Logs for support engineers but allow the privacy team to see them. What should the engineer configure?

  46. Question 46

    Domain 4: Monitoring and Logging · Task 4.2

    A SaaS provider wants to know which tenants generate the most 5xx errors right now, ranked continuously, from API logs. Which feature fits BEST?

  47. Question 47

    Domain 4: Monitoring and Logging · Task 4.2

    Each cell must meet a 99.9% availability SLO, and the provider wants an error budget burn-rate alarm per cell. Which feature fits BEST?

  48. Question 48

    Domain 4: Monitoring and Logging · Task 4.2

    A multi-tenant API's latency spikes for some tenants only. The team wants to trace those tenants' requests across 8 services and filter traces by tenant. What should the engineer do?

  49. Question 49

    Domain 4: Monitoring and Logging · Task 4.2

    The provider's monthly business review needs dashboards of active tenants, usage by plan and churn, from data in S3, for non-technical executives. What should the engineer use?

  50. Question 50

    Domain 4: Monitoring and Logging · Task 4.3

    When a tenant's queue backlog exceeds 10,000 messages, the provider wants that tenant's workers scaled and a notification sent. Which design fits BEST?

  51. Question 51

    Domain 4: Monitoring and Logging · Task 4.3

    Every new tenant account must have the CloudWatch agent and SSM Agent configured on all instances, including instances launched later. What should the engineer use?

  52. Question 52

    Domain 4: Monitoring and Logging · Task 4.3

    A tenant's API keeps returning 5xx after a release, and the provider wants the cell's ALB to stop sending traffic to unhealthy targets and Auto Scaling to replace them. Which TWO settings fit? Select TWO.

    Choose 2.

  53. Question 53

    Domain 5: Incident and Event Response · Task 5.1

    When a tenant signs up, billing, provisioning and email services must each react independently, and new services will subscribe later. Which TWO designs fit? Select TWO.

    Choose 2.

  54. Question 54

    Domain 5: Incident and Event Response · Task 5.1

    The provider wants all EC2 instance state changes across tenant accounts routed to one central account for automated handling. What should the engineer configure?

  55. Question 55

    Domain 5: Incident and Event Response · Task 5.1

    A tenant event consumer was broken for 6 hours. After fixing it, the provider wants to reprocess the missed events from the bus. What should have been configured?

  56. Question 56

    Domain 5: Incident and Event Response · Task 5.2

    When a tenant upgrades to the enterprise plan, their resources must be resized and dedicated capacity added automatically through IaC. Which design fits BEST?

  57. Question 57

    Domain 5: Incident and Event Response · Task 5.2

    AWS Config detects tenant S3 buckets without versioning in several accounts. The provider wants them fixed automatically and the tenant notified. Which TWO components fit? Select TWO.

    Choose 2.

  58. Question 58

    Domain 5: Incident and Event Response · Task 5.2

    When AWS Health reports an EBS volume degradation for a tenant's instance, the provider wants the instance's data protected and the instance replaced automatically. Which design fits BEST?

  59. Question 59

    Domain 5: Incident and Event Response · Task 5.3

    A tenant onboarding pipeline intermittently fails at the CloudFormation stage with 'Rate exceeded' when many tenants sign up at once. What should the engineer do?

  60. Question 60

    Domain 5: Incident and Event Response · Task 5.3

    After a release, one cell's ECS service shows tasks repeatedly failing ELB health checks and being replaced. Other cells are fine. Which TWO checks help find the cause? Select TWO.

    Choose 2.

  61. Question 61

    Domain 5: Incident and Event Response · Task 5.3

    A Lambda function processing tenant webhooks is throttled during peaks, and some webhooks are lost. The function is invoked asynchronously. What should the engineer configure?

  62. Question 62

    Domain 5: Incident and Event Response · Task 5.3

    During a tenant-impacting incident, the on-call engineer wants help correlating telemetry and recent deployments across the affected cell to suggest a root cause. Which service fits BEST?

  63. Question 63

    Domain 6: Security and Compliance · Task 6.1

    A pooled multi-tenant service uses one IAM role for all tenants. Each request must only access that tenant's S3 prefix and DynamoDB items. Which approach fits BEST?

  64. Question 64

    Domain 6: Security and Compliance · Task 6.1

    Tenant admins sign in to the SaaS product through their own identity providers. The product needs temporary AWS credentials scoped to each tenant for direct S3 uploads. What should the engineer use?

  65. Question 65

    Domain 6: Security and Compliance · Task 6.1

    A provider must rotate each tenant's database credentials every 30 days, for 2,000 tenant databases, without outages. What should the engineer use?

  66. Question 66

    Domain 6: Security and Compliance · Task 6.1

    A tenant's own AWS account must allow the provider's automation to read CloudWatch metrics there. The provider must prevent confused deputy issues across tenants. What should the tenant's role include?

  67. Question 67

    Domain 6: Security and Compliance · Task 6.1

    Developers of the SaaS platform must be able to create IAM roles for tenant services but never grant permissions outside tenant resources. What should the engineer configure?

  68. Question 68

    Domain 6: Security and Compliance · Task 6.2

    Each enterprise tenant requires its data encrypted with a key that can be revoked to cryptographically erase the tenant's data at offboarding. What should the provider configure?

  69. Question 69

    Domain 6: Security and Compliance · Task 6.2

    Tenants upload files to the platform. The provider must find and flag files containing sensitive data, such as passport numbers, across all tenant buckets. What should the engineer use?

  70. Question 70

    Domain 6: Security and Compliance · Task 6.2

    Tenants use custom domains for the SaaS app on CloudFront. The provider must issue and renew certificates for thousands of tenant domains automatically. Which approach fits BEST?

  71. Question 71

    Domain 6: Security and Compliance · Task 6.2

    A SaaS API must accept requests only from tenants presenting client certificates issued by the provider's private CA. What should the engineer configure?

  72. Question 72

    Domain 6: Security and Compliance · Task 6.3

    The provider must detect if any tenant's S3 bucket becomes accessible from outside the organization and alert within minutes. Which TWO components fit? Select TWO.

    Choose 2.

  73. Question 73

    Domain 6: Security and Compliance · Task 6.3

    Security needs to know when anyone in any tenant account creates an IAM user with console access, which policy forbids, and to remove the login profile automatically. Which design fits BEST?

  74. Question 74

    Domain 6: Security and Compliance · Task 6.3

    The provider wants GuardDuty findings from all tenant accounts in one place, with automatic enrollment of new accounts. What should the engineer configure?

  75. Question 75

    Domain 6: Security and Compliance · Task 6.3

    Auditors want evidence that tenant data access by support engineers is logged with the individual's identity, not a shared role. Which approach fits BEST?

75 questions unanswered; they count as wrong.

Video walkthrough

Try the exam first, then watch every question worked through.