AWS Solutions Architect Associate · Domain 1 of 4 · 30% of the exam

AWS Solutions Architect Associate Domain 1: Design Secure Architectures

60 free practice questions for Design Secure Architectures in the AWS Certified Solutions Architect – Associate (SAA-C03) exam. Try each question first, then open "Show answer" for the correct option and explanation.

Design Secure Architectures practice questions

  1. Question 1. EC2 instances in a private subnet must access Amazon S3 without traversing the internet. What is the MOST cost-effective solution?

    1. Create a gateway VPC endpoint for S3 and update the route tables
    2. Route traffic through a NAT gateway in a public subnet
    3. Create an interface endpoint for every bucket in the account
    4. Attach an internet gateway to the private subnet
    Show answer

    Answer: A. Create a gateway VPC endpoint for S3 and update the route tables

    Gateway endpoints for S3 and DynamoDB have no hourly charge and keep traffic on the AWS network.

  2. Question 2. An application in a VPC must call AWS Secrets Manager privately without internet access. What should be used?

    1. A VPC peering connection to the Secrets Manager VPC
    2. A gateway VPC endpoint for Secrets Manager
    3. An interface VPC endpoint (AWS PrivateLink) for Secrets Manager
    4. An egress-only internet gateway
    Show answer

    Answer: C. An interface VPC endpoint (AWS PrivateLink) for Secrets Manager

    Most services use interface endpoints. Gateway endpoints exist only for S3 and DynamoDB.

  3. Question 3. A company wants only its CloudFront distribution to read objects from a private S3 bucket. What should it configure?

    1. Use S3 website hosting with public-read ACLs
    2. Enable S3 Transfer Acceleration on the bucket
    3. Make the bucket public and restrict by Referer header
    4. Origin access control (OAC) with a bucket policy allowing the distribution
    Show answer

    Answer: D. Origin access control (OAC) with a bucket policy allowing the distribution

    OAC signs requests from CloudFront, and the bucket policy denies all other access.

  4. Question 4. A third-party SaaS vendor needs access to resources in a company's AWS account. What is the MOST secure approach?

    1. Make the required resources public
    2. Create an IAM user and email the access keys to the vendor
    3. Create an IAM role the vendor can assume, with an external ID condition
    4. Share the root user credentials with MFA
    Show answer

    Answer: C. Create an IAM role the vendor can assume, with an external ID condition

    Cross-account roles with an external ID prevent the confused deputy problem and avoid long-term keys.

  5. Question 5. A company must ensure no account in its organization can disable AWS CloudTrail, even administrators. What should it use?

    1. A separate CloudTrail trail in each account
    2. An SCP denying CloudTrail stop and delete actions
    3. An S3 bucket policy on the central log bucket
    4. An IAM permissions boundary on every user
    Show answer

    Answer: B. An SCP denying CloudTrail stop and delete actions

    SCPs set maximum permissions for all principals in member accounts, including administrators.

  6. Question 6. Developers can create IAM roles for their Lambda functions, but those roles must never exceed a defined set of permissions. What should be used?

    1. Security groups
    2. Service control policies only
    3. IAM permissions boundaries
    4. Resource tags
    Show answer

    Answer: C. IAM permissions boundaries

    Permissions boundaries cap the maximum permissions an identity-based policy can grant.

  7. Question 7. A bucket policy must deny any request that doesn't use HTTPS. Which condition key should be used?

    1. aws:SecureTransport set to false in a Deny statement
    2. aws:MultiFactorAuthPresent set to true
    3. aws:SourceIp with the corporate range
    4. s3:x-amz-acl set to private
    Show answer

    Answer: A. aws:SecureTransport set to false in a Deny statement

    Denying requests where aws:SecureTransport is false enforces encryption in transit.

  8. Question 8. Objects in S3 must be encrypted with keys the company controls, with key usage logged in CloudTrail. Which encryption option fits BEST?

    1. Client-side encryption with no key management
    2. SSE-KMS with a customer managed key
    3. SSE-S3 with S3-managed keys
    4. No encryption, relying on bucket policies
    Show answer

    Answer: B. SSE-KMS with a customer managed key

    SSE-KMS with customer managed keys gives control over key policies, rotation, and auditable usage.

  9. Question 9. Compliance requires that financial records in S3 can't be deleted or overwritten for seven years, even by the root user. What should be used?

    1. S3 Lifecycle rules to Glacier
    2. S3 Object Lock in compliance mode
    3. An IAM policy denying DeleteObject
    4. S3 Versioning with MFA Delete only
    Show answer

    Answer: B. S3 Object Lock in compliance mode

    Compliance mode prevents deletion or overwrite by anyone until the retention period ends.

  10. Question 10. An existing unencrypted Amazon RDS instance must be encrypted at rest. What is the correct approach?

    1. Enable encryption on the running instance in the console
    2. Turn on encryption for the DB subnet group
    3. Enable SSL connections to the database
    4. Snapshot it, copy the snapshot with encryption, and restore a new instance
    Show answer

    Answer: D. Snapshot it, copy the snapshot with encryption, and restore a new instance

    RDS encryption must be set at creation, so you encrypt a snapshot copy and restore from it.

  11. Question 11. A company wants all new EBS volumes in a Region to be encrypted automatically. What should it enable?

    1. EBS encryption by default for the Region
    2. AWS Shield Advanced
    3. An SCP requiring the ec2:Encrypted tag
    4. S3 default encryption on all buckets
    Show answer

    Answer: A. EBS encryption by default for the Region

    The account-level setting ensures all new volumes and snapshot copies are encrypted.

  12. Question 12. Database credentials used by an application must be rotated automatically every 30 days. Which service should store them?

    1. The Lambda environment variables
    2. Amazon S3 with versioning
    3. AWS Secrets Manager
    4. AWS Systems Manager Parameter Store standard tier
    Show answer

    Answer: C. AWS Secrets Manager

    Secrets Manager provides built-in rotation integrations for RDS and other databases.

  13. Question 13. A web application behind an Application Load Balancer is receiving SQL injection attempts. What should be added?

    1. A network ACL denying port 443
    2. Amazon Inspector on the ALB
    3. AWS WAF with managed rule groups on the ALB
    4. AWS Shield Standard
    Show answer

    Answer: C. AWS WAF with managed rule groups on the ALB

    AWS WAF inspects HTTP requests and blocks common attacks such as SQL injection.

  14. Question 14. A company needs to block traffic from specific countries to its CloudFront distribution. What is the SIMPLEST option?

    1. Route 53 geolocation routing to a blank page
    2. NACLs on the VPC subnets
    3. CloudFront geographic restrictions or a WAF geo-match rule
    4. Security groups on the origin servers
    Show answer

    Answer: C. CloudFront geographic restrictions or a WAF geo-match rule

    CloudFront geo restriction and WAF geo-match rules filter by viewer country.

  15. Question 15. Mobile app users must get temporary AWS credentials to upload photos directly to S3. Which service should be used?

    1. Amazon Cognito identity pools
    2. Long-term access keys embedded in the app
    3. IAM users created per mobile user
    4. AWS IAM Identity Center
    Show answer

    Answer: A. Amazon Cognito identity pools

    Identity pools exchange user identities for temporary, scoped AWS credentials.

  16. Question 16. A company wants users to sign in to a web app with social identities and receive JWTs. Which feature should it use?

    1. Amazon Cognito user pools
    2. IAM roles for EC2
    3. Amazon Cognito identity pools only
    4. AWS Directory Service
    Show answer

    Answer: A. Amazon Cognito user pools

    User pools provide user directories, sign-in, and tokens; identity pools grant AWS credentials.

  17. Question 17. Administrators must connect to private EC2 instances without opening SSH ports or managing bastion hosts. What should be used?

    1. A bastion host in a public subnet
    2. An internet gateway on the private subnet
    3. EC2 Instance Connect over the public internet
    4. AWS Systems Manager Session Manager
    Show answer

    Answer: D. AWS Systems Manager Session Manager

    Session Manager provides audited shell access through the SSM agent with no inbound ports.

  18. Question 18. Web servers should accept traffic only from the load balancer, even as load balancer IPs change. How should the security group be configured?

    1. Allow inbound from the load balancer's security group
    2. Allow inbound from 0.0.0.0/0 on port 80
    3. Use a NACL listing the load balancer IP addresses
    4. Allow inbound from the VPC CIDR only
    Show answer

    Answer: A. Allow inbound from the load balancer's security group

    Referencing a security group ID automatically covers all resources in that group.

  19. Question 19. A company must block a specific malicious IP address from reaching instances in a subnet. Which control supports explicit deny rules?

    1. Route table
    2. Network ACL
    3. Security group
    4. IAM policy
    Show answer

    Answer: B. Network ACL

    Security groups only support allow rules. NACLs support both allow and deny.

  20. Question 20. A company needs a TLS certificate for a CloudFront distribution using a custom domain. Where must the ACM certificate be created?

    1. In every Region where users are located
    2. In the us-east-1 Region
    3. In the same Region as the origin
    4. In the Region closest to the company's headquarters
    Show answer

    Answer: B. In the us-east-1 Region

    CloudFront requires ACM certificates from US East (N. Virginia).

  21. Question 21. A Lambda function needs to write items to one DynamoDB table. How should permissions be granted?

    1. An execution role allowing PutItem on that table's ARN
    2. Administrator access on the function's role
    3. A resource policy on the function allowing DynamoDB
    4. Access keys stored in environment variables
    Show answer

    Answer: A. An execution role allowing PutItem on that table's ARN

    Execution roles provide temporary credentials scoped with least privilege.

  22. Question 22. Traffic over an AWS Direct Connect connection must be encrypted. What is a common solution?

    1. Direct Connect encrypts all traffic by default
    2. Use a gateway VPC endpoint
    3. Run an IPsec Site-to-Site VPN over Direct Connect
    4. Enable S3 default encryption
    Show answer

    Answer: C. Run an IPsec Site-to-Site VPN over Direct Connect

    Direct Connect is private but not encrypted by default. IPsec VPN over it (or MACsec where supported) adds encryption.

  23. Question 23. A company wants to detect compromised EC2 instances communicating with known malicious IP addresses. Which service fits?

    1. AWS Config
    2. Amazon GuardDuty
    3. Amazon Macie
    4. Amazon Inspector
    Show answer

    Answer: B. Amazon GuardDuty

    GuardDuty analyzes VPC Flow Logs, DNS logs, and CloudTrail with threat intelligence.

  24. Question 24. A security team needs to find S3 buckets containing credit card numbers across many accounts. Which service should it use?

    1. Amazon GuardDuty
    2. Amazon Detective
    3. AWS Trusted Advisor
    4. Amazon Macie
    Show answer

    Answer: D. Amazon Macie

    Macie discovers sensitive data such as financial and personal information in S3.

  25. Question 25. A company wants one CloudTrail trail that logs all accounts in its organization to a central bucket. What should it create?

    1. An organization trail in the management account
    2. An AWS Config aggregator
    3. A VPC Flow Log in each VPC
    4. A separate trail in each member account
    Show answer

    Answer: A. An organization trail in the management account

    Organization trails log all member accounts automatically, and members can't modify them.

  26. Question 26. A presigned URL is useful when an application needs to:

    1. Move an object to S3 Glacier Deep Archive on a schedule
    2. Encrypt an S3 object with a customer-provided key
    3. Replicate an object to a bucket in another Region
    4. Grant temporary access to one S3 object without making it public
    Show answer

    Answer: D. Grant temporary access to one S3 object without making it public

    Presigned URLs embed time-limited authorization for a specific object operation.

  27. Question 27. An application must enforce that S3 objects are encrypted with a specific KMS key when uploaded. What should be used?

    1. An IAM group containing all users who upload objects
    2. An S3 Lifecycle policy that transitions new objects
    3. A bucket policy denying PutObject without the SSE-KMS key header
    4. S3 Transfer Acceleration enabled on the bucket
    Show answer

    Answer: C. A bucket policy denying PutObject without the SSE-KMS key header

    Bucket policy conditions on x-amz-server-side-encryption and the KMS key ID enforce encryption requirements.

  28. Question 28. A company needs centralized, stateful traffic inspection with intrusion prevention for all VPC egress traffic. Which service fits?

    1. AWS WAF
    2. Amazon GuardDuty
    3. Security groups
    4. AWS Network Firewall
    Show answer

    Answer: D. AWS Network Firewall

    Network Firewall provides stateful inspection and IPS rules at the VPC level.

  29. Question 29. A company must restrict all AWS usage to two approved Regions across its organization. What should it use?

    1. IAM groups in each member account
    2. An AWS Budgets alert per Region
    3. A Route 53 geolocation routing policy
    4. An SCP that denies actions outside the approved Regions
    Show answer

    Answer: D. An SCP that denies actions outside the approved Regions

    SCPs with the aws:RequestedRegion condition enforce Region restrictions organization-wide.

  30. Question 30. A company wants to encrypt data in a DynamoDB table at rest. What is required?

    1. A CloudHSM cluster for each table
    2. Client-side encryption in every application
    3. Enabling encryption on the table after creation is impossible
    4. Nothing extra; DynamoDB encrypts all tables at rest by default
    Show answer

    Answer: D. Nothing extra; DynamoDB encrypts all tables at rest by default

    DynamoDB encrypts all data at rest, with AWS owned, AWS managed, or customer managed keys.

  31. Question 31. A company wants to allow users from its corporate identity provider to access multiple AWS accounts with permission sets. Which service fits BEST?

    1. AWS Directory Service Simple AD
    2. AWS IAM Identity Center
    3. Amazon Cognito user pools
    4. IAM users in each account
    Show answer

    Answer: B. AWS IAM Identity Center

    IAM Identity Center federates workforce identities and assigns permission sets across accounts.

  32. Question 32. A KMS key must be usable by an IAM role in another AWS account. What must be configured?

    1. Create a VPC peering connection between accounts
    2. Add an S3 bucket policy in the other account
    3. Allow it in the key policy and in the role's IAM policy
    4. Nothing, since KMS keys work across all accounts
    Show answer

    Answer: C. Allow it in the key policy and in the role's IAM policy

    Cross-account KMS use requires permission in both the key policy and the caller's IAM policy.

  33. Question 33. Encrypted data must be decryptable in two Regions using the same key material for a DR design. What KMS feature helps?

    1. Multi-Region keys
    2. Imported key material in one Region only
    3. KMS grants
    4. Automatic key rotation
    Show answer

    Answer: A. Multi-Region keys

    Multi-Region keys share key material across Regions, so ciphertext can be decrypted in either.

  34. Question 34. A company must use FIPS 140-2 Level 3 validated HSMs under its exclusive control for key storage. Which service fits?

    1. AWS CloudHSM
    2. AWS Certificate Manager
    3. AWS KMS with AWS managed keys
    4. AWS Secrets Manager
    Show answer

    Answer: A. AWS CloudHSM

    CloudHSM provides single-tenant HSMs where the customer manages keys and users.

  35. Question 35. An API built with Amazon API Gateway must allow only users authenticated by a Cognito user pool. What should be configured?

    1. A NACL on the API's subnet
    2. A security group on API Gateway
    3. An S3 bucket policy on the API
    4. A Cognito user pool authorizer on the API methods
    Show answer

    Answer: D. A Cognito user pool authorizer on the API methods

    API Gateway validates Cognito-issued tokens with a user pool authorizer.

  36. Question 36. Which statement about security groups is correct?

    1. They're stateless and need rules for both directions
    2. They apply at the subnet level
    3. They're stateful: return traffic is automatically allowed
    4. They support explicit deny rules
    Show answer

    Answer: C. They're stateful: return traffic is automatically allowed

    Security groups are stateful allow-lists attached to network interfaces.

  37. Question 37. A company wants to block public access to all S3 buckets in an account, including future buckets. What should it enable?

    1. S3 Versioning at the account level
    2. S3 Block Public Access at the account level
    3. Default encryption on each bucket
    4. A lifecycle rule for each bucket
    Show answer

    Answer: B. S3 Block Public Access at the account level

    Account-level Block Public Access overrides bucket policies and ACLs that would grant public access.

  38. Question 38. An application's security group must allow MySQL traffic only from the app tier. What is the BEST rule?

    1. Allow TCP 3306 from 0.0.0.0/0
    2. Allow TCP 22 from the app tier's security group
    3. Allow all traffic from the VPC CIDR
    4. Allow TCP 3306 from the app tier's security group
    Show answer

    Answer: D. Allow TCP 3306 from the app tier's security group

    Security group references limit access to exactly the intended tier.

  39. Question 39. A company wants to protect an internet-facing ALB against large DDoS attacks and get help from AWS experts during an attack. What should it use?

    1. AWS WAF managed rules only
    2. AWS Shield Standard only
    3. AWS Shield Advanced
    4. Amazon GuardDuty
    Show answer

    Answer: C. AWS Shield Advanced

    Shield Advanced adds enhanced detection, the Shield Response Team, and cost protection.

  40. Question 40. A company must ensure an S3 bucket's objects can only be accessed from within its VPC. What should the bucket policy use?

    1. A condition on s3:x-amz-acl set to private
    2. A condition on aws:SourceVpce for the VPC endpoint
    3. A condition on aws:CurrentTime for business hours
    4. A condition on aws:SecureTransport being true
    Show answer

    Answer: B. A condition on aws:SourceVpce for the VPC endpoint

    Restricting to a VPC endpoint ID ensures requests originate through that endpoint.

  41. Question 41. A security team wants to automatically check whether resources comply with rules such as 'EBS volumes must be encrypted'. Which service fits?

    1. AWS CloudTrail
    2. AWS Artifact
    3. AWS Config rules
    4. Amazon Macie
    Show answer

    Answer: C. AWS Config rules

    Config evaluates resource configurations against managed or custom rules and can remediate.

  42. Question 42. Which is the MOST secure way to give an on-premises application access to AWS APIs without long-term credentials?

    1. IAM user access keys stored in a config file
    2. The root user's access keys
    3. A public S3 bucket for data exchange
    4. IAM Roles Anywhere using X.509 certificates
    Show answer

    Answer: D. IAM Roles Anywhere using X.509 certificates

    IAM Roles Anywhere issues temporary credentials to workloads outside AWS based on trusted certificates.

  43. Question 43. A company needs to share an AMI with another account securely. What should it do?

    1. Export the AMI file and email it to the other account
    2. Copy the AMI into a public S3 bucket for download
    3. Make the AMI public so the other account can find it
    4. Share it with the account ID, plus the KMS key if encrypted
    Show answer

    Answer: D. Share it with the account ID, plus the KMS key if encrypted

    AMIs can be shared with specific accounts. Encrypted AMIs also need KMS key permissions.

  44. Question 44. A company wants to centrally manage security groups and WAF rules across all accounts in its organization. Which service fits?

    1. AWS Control Tower only
    2. AWS Firewall Manager
    3. AWS Config
    4. Amazon Inspector
    Show answer

    Answer: B. AWS Firewall Manager

    Firewall Manager enforces protection policies across accounts in AWS Organizations.

  45. Question 45. Which approach protects an S3 bucket against accidental deletion of objects while still allowing updates?

    1. Disable bucket logging
    2. Enable Transfer Acceleration
    3. Enable versioning and require MFA Delete
    4. Use S3 One Zone-IA
    Show answer

    Answer: C. Enable versioning and require MFA Delete

    Versioning keeps prior versions, and MFA Delete adds protection for permanent deletions.

  46. Question 46. Which service provides a single dashboard of security findings with automated checks against the CIS AWS Foundations Benchmark?

    1. AWS Artifact
    2. AWS Security Hub
    3. Amazon Detective
    4. AWS Trusted Advisor
    Show answer

    Answer: B. AWS Security Hub

    Security Hub aggregates findings and runs standards-based checks.

  47. Question 47. An EC2 instance needs to retrieve configuration values and encrypted secrets without rotation needs, at low cost. Which service fits?

    1. AWS Secrets Manager with rotation
    2. Amazon S3 objects with public read
    3. EC2 user data stored in plaintext
    4. AWS Systems Manager Parameter Store with SecureString
    Show answer

    Answer: D. AWS Systems Manager Parameter Store with SecureString

    Parameter Store stores configuration and KMS-encrypted SecureString values; standard parameters are free.

  48. Question 48. A company requires that IAM users use MFA before they can terminate EC2 instances. How can this be enforced?

    1. A network ACL rule on the instances' subnet
    2. A CloudFront signed cookie for the console
    3. An IAM condition requiring aws:MultiFactorAuthPresent
    4. A security group rule on the instances
    Show answer

    Answer: C. An IAM condition requiring aws:MultiFactorAuthPresent

    Policy conditions can require MFA for sensitive API actions.

  49. Question 49. A solutions architect must isolate development and production workloads for security and billing. What is the recommended approach?

    1. Use separate AWS accounts managed with AWS Organizations
    2. Use separate Availability Zones
    3. Use separate IAM users in one account
    4. Use separate security groups only
    Show answer

    Answer: A. Use separate AWS accounts managed with AWS Organizations

    Accounts are the strongest isolation boundary, with Organizations for governance.

  50. Question 50. Traffic between two VPCs in different accounts must stay private. Which option is simplest for two VPCs?

    1. VPC peering
    2. An internet gateway in each VPC
    3. S3 cross-Region replication
    4. A public Network Load Balancer
    Show answer

    Answer: A. VPC peering

    VPC peering routes traffic privately between two VPCs, including across accounts and Regions.

  51. Question 51. A company exposes a service in its VPC to hundreds of customer VPCs without exposing the entire network. What should it use?

    1. A public ALB with IP allow lists
    2. A Transit Gateway shared with all customers
    3. AWS PrivateLink with a Network Load Balancer-backed endpoint service
    4. VPC peering with every customer
    Show answer

    Answer: C. AWS PrivateLink with a Network Load Balancer-backed endpoint service

    PrivateLink exposes a single service privately, without routing between whole networks.

  52. Question 52. Which option encrypts data in transit between clients and an Application Load Balancer?

    1. An HTTPS listener with a certificate from ACM
    2. A security group allowing port 80
    3. A gateway VPC endpoint
    4. An S3 bucket policy
    Show answer

    Answer: A. An HTTPS listener with a certificate from ACM

    TLS termination at the ALB uses ACM-managed certificates.

  53. Question 53. Logs in a central S3 bucket must be protected from tampering by account administrators. What helps MOST?

    1. Use S3 One Zone-IA storage
    2. Give every administrator write access
    3. Store logs in a separate log-archive account with Object Lock
    4. Enable Transfer Acceleration on the bucket
    Show answer

    Answer: C. Store logs in a separate log-archive account with Object Lock

    Separating logs into a restricted account and using Object Lock prevents deletion or alteration.

  54. Question 54. Which Amazon RDS feature lets applications authenticate using IAM instead of database passwords?

    1. Multi-AZ deployment
    2. RDS Proxy connection pooling only
    3. Read replicas
    4. IAM database authentication
    Show answer

    Answer: D. IAM database authentication

    IAM authentication issues short-lived tokens for MySQL and PostgreSQL.

  55. Question 55. A company must inspect traffic between VPCs attached to a Transit Gateway through a central inspection VPC. What does this design achieve?

    1. Lower data transfer costs between VPCs
    2. Automatic encryption at rest
    3. Elimination of all security groups
    4. Centralized security inspection of east-west traffic
    Show answer

    Answer: D. Centralized security inspection of east-west traffic

    Routing through an inspection VPC applies consistent controls, such as Network Firewall, to inter-VPC traffic.

  56. Question 56. What is the purpose of the 'aws:PrincipalOrgID' condition in resource policies?

    1. Restrict requests to a single AWS Region
    2. Enforce HTTPS connections for all requests
    3. Require MFA for every request to the resource
    4. Limit access to principals in a specific AWS organization
    Show answer

    Answer: D. Limit access to principals in a specific AWS organization

    It's a simple way to limit access to identities in your own organization.

  57. Question 57. An application stores sensitive data in DynamoDB and must ensure only specific roles can decrypt it. What should be used?

    1. A customer managed KMS key with a restrictive key policy
    2. DynamoDB point-in-time recovery
    3. DynamoDB Accelerator (DAX) caching
    4. DynamoDB global tables in two Regions
    Show answer

    Answer: A. A customer managed KMS key with a restrictive key policy

    Customer managed keys allow fine-grained control over who can use them to decrypt.

  58. Question 58. Which service can automatically remediate noncompliant resources, such as re-enabling encryption on a bucket?

    1. AWS Budgets actions on cost overruns
    2. Amazon CloudFront field-level encryption
    3. AWS Artifact compliance reports
    4. AWS Config rules with SSM Automation remediation
    Show answer

    Answer: D. AWS Config rules with SSM Automation remediation

    Config rules can trigger Systems Manager Automation documents to remediate issues.

  59. Question 59. A company wants to scan container images in Amazon ECR for vulnerabilities on push. What should it enable?

    1. Amazon Inspector enhanced scanning for ECR
    2. Amazon Macie sensitive data discovery
    3. AWS Shield Advanced for registries
    4. AWS WAF managed rules on ECR
    Show answer

    Answer: A. Amazon Inspector enhanced scanning for ECR

    Inspector scans container images for OS and language package vulnerabilities.

  60. Question 60. An S3 bucket must accept uploads from a partner account without granting the partner access to other objects. What is the BEST approach?

    1. A bucket policy allowing the partner's principal PutObject on a specific prefix
    2. Giving the partner an IAM user with full S3 access
    3. Disabling encryption on the bucket
    4. Making the bucket public-write
    Show answer

    Answer: A. A bucket policy allowing the partner's principal PutObject on a specific prefix

    Resource policies can grant narrowly scoped cross-account access.

AWS, Amazon Web Services, and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. These questions are original study material, not questions from the real exam.