Flashcardsfor IT Certifications

D4: IAM Policy Language Deep Dive

AWS Certified Security – Specialty exam practice questions · 10 flashcards

Question
NotAction?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 IAM Policy Language Deep Dive practice questions and answers
  1. NotAction?
    Applies to all actions except listed; often with Deny for guardrails.
  2. NotPrincipal?
    Applies to all principals except listed (use carefully).
  3. Condition operators?
    StringEquals/Like, ArnLike, IpAddress, Bool, NumericLessThan, DateGreaterThan, Null.
  4. ForAllValues vs ForAnyValue?
    Set operators for multi-valued keys (all values must match vs any).
  5. aws:SourceIp gotcha?
    Doesn't apply to calls via VPC endpoints or AWS services on your behalf.
  6. aws:RequestedRegion?
    Restrict Regions for API calls.
  7. aws:CalledVia / aws:ViaAWSService?
    Identify requests made by AWS services on behalf of principal.
  8. iam:PassRole?
    Required to pass a role to a service; restrict to specific role ARNs.
  9. Policy size limits?
    Managed policy 6,144 chars; inline per user 2,048 / role 10,240.
  10. Scenario: allow S3 access only from corporate IPs except via VPC endpoint. Conditions?
    Deny unless aws:SourceIp in corporate range OR aws:SourceVpce matches.