AWS Solutions Architect Professional (SAP-C03) · 25% practice allocation

AWS SAP-C03: Security, Compliance, and Governance Practice Questions

5 free sample questions from the Security, Compliance, and Governance domain, with answers and explanations. The full SAP-C03 bank has 128 questions across 5 domains. Questions are scenario-based and written from the official AWS exam guide.

1.

A company with 300 accounts in AWS Organizations must ensure that its S3 buckets and KMS keys can never be accessed by principals outside the organization, even if a member account administrator writes an overly permissive resource policy. Which control enforces this centrally?

  • A. An IAM permissions boundary on every role in every member account of the organization
  • B. AWS Config rules that report public buckets and permissive key policies to Security Hub
  • C. A resource control policy that denies access unless aws:PrincipalOrgID matches✓ Correct
  • D. A service control policy that denies s3:* and kms:* for all principals in every account
Explanation

RCPs set the maximum permissions on resources in member accounts, so a deny for principals outside the organization applies even when a bucket or key policy grants them access. SCPs only limit principals inside the organization and cannot stop external principals. Permissions boundaries also apply only to the organization's own roles. Config rules detect but do not prevent access.

2.

Pods in an Amazon EKS cluster need different AWS permissions: one service reads from S3, another writes to DynamoDB. Currently every pod inherits the node's instance role. What should the architect implement to give each service least-privilege credentials?

  • A. Add both the S3 and DynamoDB permissions to the node instance role
  • B. EKS Pod Identity associations mapping each service account to an IAM role✓ Correct
  • C. Store an access key for each service in a Kubernetes secret in its namespace
  • D. Run each service on its own dedicated node group with its own instance role
Explanation

EKS Pod Identity associates a Kubernetes service account with an IAM role, so pods using that service account receive only that role's temporary credentials. Widening the node role grants every pod both permissions. Access keys in secrets are long-term credentials. Separate node groups per service work but waste capacity and do not scale.

3.

An organization with 50 AWS accounts needs to grant 2,000 corporate employees single sign-on access to AWS resources. Identities reside in an enterprise Okta directory. Access must be managed dynamically based on employee departmental attributes (e.g., Department, CostCenter), without creating individual IAM users in each AWS account. What solution should the architect implement?

  • A. Per-account IAM SAML identity providers for Okta, with a separate IAM role per department created manually in each of the 50 accounts.
  • B. AWS IAM Identity Center with SAML 2.0 federation to Okta, SCIM provisioning and ABAC through permission sets.✓ Correct
  • C. IAM users created in a central security account, with cross-account roles that every employee assumes using static access keys.
  • D. AWS Directory Service Simple AD in every account, joined to the Okta tenant through a nightly CSV export of employee attributes.
Explanation

AWS IAM Identity Center (successor to AWS SSO) integrates natively with external identity providers (like Okta) via SAML 2.0 and SCIM for automated user provisioning. Leveraging Attribute-Based Access Control (ABAC) with SAML session tags allows permission sets to dynamically grant access based on user attributes (like Department) across multi-account organizations without creating local IAM users. Creating SAML providers and department roles by hand in all 50 accounts does not scale or follow attribute changes. IAM users with static access keys create long-lived credentials and contradict single sign-on. Simple AD with nightly CSV exports is not an Okta federation and leaves access stale.

4.

An organization must delegate administration of a security service (e.g., GuardDuty) to a dedicated security account rather than running it from the management account. Which AWS Organizations capability supports this?

  • A. Sharing the management account's root credentials
  • B. Creating IAM users in the management account
  • C. A resource-based policy on an S3 bucket
  • D. Delegated administrator for the security service✓ Correct
Explanation

AWS Organizations lets you register a delegated administrator account for supported services (like GuardDuty, Security Hub), so a security account manages the service org-wide without using the management account. Sharing root is dangerous, management-account IAM users don't delegate org-wide service admin, and a bucket policy is unrelated.

5.

A bank is launching a customer-facing chatbot on Amazon Bedrock. It must block questions about investment advice, mask credit card numbers in both prompts and responses, and apply the same controls across several foundation models. What should the architect implement?

  • A. A system prompt in every model call that instructs the model to refuse those topics
  • B. Amazon Macie scans of the conversation logs in S3 once a day, with alerts to security
  • C. Amazon Bedrock Guardrails with a denied topic and sensitive information filters✓ Correct
  • D. A regular expression filter in the frontend JavaScript for card numbers and keywords
Explanation

Bedrock Guardrails enforce denied topics, content filters and sensitive-information masking on inputs and outputs, independent of the model, so one policy covers every model. Frontend filters are easy to bypass. Macie finds sensitive data after the fact rather than blocking it. A system prompt is not an enforceable control and models can be manipulated into ignoring it.

Test yourself across every SAP-C03 domain

The free SAP-C03 practice test mixes about 20 questions weighted like the exam. The full 128-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Security, Compliance, and Governance study guide (SAP-C03) →

Other SAP-C03 domains

← All AWS Solutions Architect Professional study resources