Docsity

AWS Cloud Architecting Ultimate Exam, Exams of Technology

Toggle sidebar
bg1
AWS Cloud Architecting Ultimate Exam
Question 1. **Which IAM entity is best suited for granting temporary cross‑account access without
sharing long‑term credentials?** A) IAM User B) IAM Group C) IAM Role D) Inline Policy
Answer: C
Explanation: An IAM Role can be assumed by trusted entities, providing short‑lived credentials via STS,
ideal for cross‑account access.
Question 2. **In a least‑privilege policy, which IAM condition key would you use to restrict actions to a
specific AWS region?** A) aws:SourceIp B) aws:RequestedRegion C) aws:PrincipalArn D)
aws:CurrentTime
Answer: B
Explanation: The aws:RequestedRegion condition key limits API calls to the specified region, helping
enforce least‑privilege.
Question 3. **Which AWS Organizations feature enforces guardrails that all accounts in an OU must
obey?** A) Service Control Policies (SCPs) B) Consolidated Billing C) Tag Policies D) IAM Access Analyzer
Answer: A
Explanation: SCPs define maximum permissions for accounts in an OU, acting as guardrails.
Question 4. **When using SAML 2.0 federation with AWS, which AWS component translates SAML
assertions into temporary credentials?** A) AWS STS B) AWS IAM Identity Center C) AWS Cognito D)
AWS Directory Service
Answer: A
Explanation: AWS STS processes SAML assertions and issues temporary security credentials.
Question 5. **Which of the following is a managed IAM policy type?** A) Inline Policy B)
Customer‑Managed Policy C) Service‑Linked Policy D) All of the above
Answer: C
Explanation: Service‑linked policies are AWS‑managed policies that grant permissions for a specific
service.
Question 6. **Which VPC component is stateful, automatically allowing return traffic?** A) Security
Group B) Network ACL C) Route Table D) VPC Peering
Answer: A
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download AWS Cloud Architecting Ultimate Exam and more Exams Technology in PDF only on Docsity!

Question 1. Which IAM entity is best suited for granting temporary cross‑account access without sharing long‑term credentials? A) IAM User B) IAM Group C) IAM Role D) Inline Policy Answer: C Explanation: An IAM Role can be assumed by trusted entities, providing short‑lived credentials via STS, ideal for cross‑account access. Question 2. In a least‑privilege policy, which IAM condition key would you use to restrict actions to a specific AWS region? A) aws:SourceIp B) aws:RequestedRegion C) aws:PrincipalArn D) aws:CurrentTime Answer: B Explanation: The aws:RequestedRegion condition key limits API calls to the specified region, helping enforce least‑privilege. Question 3. Which AWS Organizations feature enforces guardrails that all accounts in an OU must obey? A) Service Control Policies (SCPs) B) Consolidated Billing C) Tag Policies D) IAM Access Analyzer Answer: A Explanation: SCPs define maximum permissions for accounts in an OU, acting as guardrails. Question 4. When using SAML 2.0 federation with AWS, which AWS component translates SAML assertions into temporary credentials? A) AWS STS B) AWS IAM Identity Center C) AWS Cognito D) AWS Directory Service Answer: A Explanation: AWS STS processes SAML assertions and issues temporary security credentials. Question 5. Which of the following is a managed IAM policy type? A) Inline Policy B) Customer‑Managed Policy C) Service‑Linked Policy D) All of the above Answer: C Explanation: Service‑linked policies are AWS‑managed policies that grant permissions for a specific service. Question 6. Which VPC component is stateful, automatically allowing return traffic? A) Security Group B) Network ACL C) Route Table D) VPC Peering Answer: A

Explanation: Security groups track connections and allow return traffic without explicit inbound rules. Question 7. What is the primary difference between a VPC Interface Endpoint and a Gateway Endpoint? A) Interface endpoints use PrivateLink; Gateway endpoints are limited to S3 and DynamoDB B) Interface endpoints are public; Gateway endpoints are private C) Interface endpoints support IPv6 only D) Gateway endpoints require NAT gateways Answer: A Explanation: Interface endpoints use AWS PrivateLink for any service, while Gateway endpoints are native to S3 and DynamoDB. Question 8. Which AWS service provides DDoS protection at the network and application layers without additional configuration? A) AWS Shield Standard B) AWS WAF C) AWS Firewall Manager D) AWS GuardDuty Answer: A Explanation: AWS Shield Standard automatically protects against common DDoS attacks for all AWS customers. Question 9. For storing database credentials securely, which AWS service should you use? A) AWS Secrets Manager B) Amazon S3 C) AWS Systems Manager Parameter Store (SecureString) D) Both A and C Answer: D Explanation: Both Secrets Manager and Parameter Store (SecureString) provide encrypted storage for secrets. Question 10. Which KMS key type is fully managed by AWS and cannot be exported? A) Customer Managed Key B) AWS Managed Key C) CloudHSM Key D) Imported Key Material Answer: B Explanation: AWS Managed Keys are created, managed, and stored entirely by AWS and cannot be exported. Question 11. When encrypting data at rest in S3, which option provides automatic key rotation? A) SSE‑S3 B) SSE‑KMS with AWS‑managed CMK C) SSE‑KMS with Customer‑managed CMK D) Client‑side encryption Answer: B

Question 18. Which Route 53 routing policy routes traffic to the region with the lowest latency for the requester? A) Simple B) Weighted C) Latency D) Geolocation Answer: C Explanation: Latency routing directs DNS queries to the endpoint that provides the lowest network latency. Question 19. What is the primary benefit of using Amazon S3 Intelligent‑Tiering over Standard storage? A) Lower cost for infrequently accessed data without performance impact B) Unlimited versioning C) Automatic encryption D) Faster retrieval times Answer: A Explanation: Intelligent‑Tiering automatically moves objects between frequent and infrequent access tiers based on usage, reducing costs. Question 20. Which EBS volume type offers the highest IOPS and is suitable for large, transactional databases? A) gp3 B) io2 Block Express C) st1 D) sc Answer: B Explanation: io2 Block Express provides up to 256,000 IOPS per volume, ideal for demanding workloads. Question 21. Which file system provides a fully managed Windows file share with SMB protocol support? A) Amazon EFS B) Amazon FSx for Windows File Server C) Amazon FSx for Lustre D) Amazon S Answer: B Explanation: FSx for Windows File Server delivers a native Windows file system with SMB. Question 22. When using AWS Storage Gateway in Tape Gateway mode, where are the virtual tapes stored? A) Amazon S3 Glacier B) Amazon EBS C) Amazon S3 Standard D) Amazon Glacier Deep Archive Answer: A Explanation: Tape Gateway writes virtual tapes to S3 Glacier, providing durable, low‑cost archival storage. Question 23. Which EC2 instance family is optimized for high network bandwidth and packet‑processing workloads? A) C5n B) M5 C) R5 D) T

Answer: A Explanation: C5n instances provide up to 100 Gbps networking, ideal for bandwidth‑intensive tasks. Question 24. What does the AWS Compute Optimizer primarily analyze to recommend right‑sizing? A) Billing data B) CloudTrail logs C) CloudWatch metrics D) IAM policies Answer: C Explanation: Compute Optimizer uses historical CloudWatch utilization metrics to suggest instance types. Question 25. Which DynamoDB capacity mode automatically scales read/write throughput without capacity planning? A) Provisioned B) On‑Demand C) Reserved D) Spot Answer: B Explanation: On‑Demand mode adjusts capacity instantly based on traffic, eliminating the need for manual provisioning. Question 26. Which Amazon Redshift feature allows you to pause a cluster when not in use to save costs? A) Concurrency Scaling B) Elastic Resize C) Redshift Serverless D) Spectrum Answer: C Explanation: Redshift Serverless (or Redshift Serverless preview) lets you pause/resume compute resources, reducing cost. Question 27. Which Savings Plan type provides the most flexibility across instance families and regions? A) EC2 Instance Savings Plan B) Compute Savings Plan C) RDS Savings Plan D) SageMaker Savings Plan Answer: B Explanation: Compute Savings Plans apply to any EC2 instance, Fargate, and Lambda usage across regions. Question 28. When using Amazon CloudFront, which feature reduces origin load by serving cached content at edge locations? A) Origin Shield B) Lambda@Edge C) Field‑level Encryption D) Signed URLs Answer: A Explanation: Origin Shield adds an additional caching layer at the CloudFront regional edge cache, reducing origin traffic.

Answer: A Explanation: The aws:MultiFactorAuthPresent condition ensures MFA is used when the policy is evaluated. Question 35. When configuring a VPC endpoint for Amazon S3, which endpoint type is required? A) Interface Endpoint B) Gateway Endpoint C) PrivateLink Endpoint D) Transit Gateway Endpoint Answer: B Explanation: S3 uses a Gateway Endpoint, which adds a route to the VPC’s route table. Question 36. Which AWS service can automatically discover and remediate insecure security groups? A) AWS Config B) AWS Security Hub C) Amazon GuardDuty D) AWS Firewall Manager Answer: D Explanation: Firewall Manager can enforce security group policies and remediate non‑compliant groups. Question 37. Which Amazon RDS feature enables read scaling by creating read‑only replicas in the same region? A) Multi‑AZ B) Read Replica C) Aurora Serverless D) Global Database Answer: B Explanation: Read Replicas provide asynchronous read‑only copies that can serve read traffic. Question 38. Which Amazon Aurora configuration allows a single database to be replicated across multiple AWS regions? A) Aurora Multi‑Master B) Aurora Global Database C) Aurora Serverless D) Aurora Parallel Query Answer: B Explanation: Aurora Global Database replicates data with low latency to up to five secondary regions. Question 39. Which AWS service is best suited for storing large, unstructured data that requires infrequent access and archival retrieval times of minutes to hours? A) Amazon S3 Standard B) Amazon S3 Glacier Deep Archive C) Amazon EFS D) Amazon FSx for Lustre Answer: B Explanation: Glacier Deep Archive offers the lowest-cost storage with retrieval times of 12‑ 48 hours, suitable for archival data.

Question 40. Which CloudWatch metric would you monitor to detect CPU throttling on an EC instance? A) CPUUtilization B) CPUCreditBalance C) CPUCreditUsage D) CPUThrottledTime Answer: D Explanation: CPUThrottledTime indicates the amount of time the instance was throttled due to CPU credit exhaustion. Question 41. What is the primary advantage of using AWS PrivateLink over a classic VPC peering connection? A) Supports cross‑region traffic B) Provides granular, service‑level access without exposing entire CIDR blocks C) Reduces latency D) Enables public internet access Answer: B Explanation: PrivateLink exposes only specific services via interface endpoints, limiting exposure compared to full VPC peering. Question 42. Which AWS service can be used to centrally manage WAF rules across multiple accounts? A) AWS Firewall Manager B) AWS Shield Advanced C) AWS WAF Classic D) AWS Security Hub Answer: A Explanation: Firewall Manager allows organization‑wide deployment and management of WAF rules. Question 43. In a multi‑account strategy, which AWS feature lets you centrally manage permission guardrails without requiring IAM changes in member accounts? A) SCPs B) IAM Roles C) Resource Access Manager D) Control Tower Guardrails Answer: A Explanation: Service Control Policies enforce permission boundaries at the organization level, independent of individual account IAM policies. Question 44. Which of the following is NOT a valid Amazon S3 storage class? A) Standard‑IA B) One Zone‑IA C) Intelligent‑Tiering D) Cold‑Storage Answer: D Explanation: “Cold‑Storage” is not an official S3 storage class; Glacier and Glacier Deep Archive are the archival classes.

Explanation: CloudHSM stores keys in dedicated hardware security modules, providing additional isolation. Question 51. Which Amazon S3 feature enables you to enforce encryption at the bucket level without modifying individual objects? A) Bucket Policy B) Default Encryption C) Object Lock D) Versioning Answer: B Explanation: Default Encryption automatically applies SSE‑S3 or SSE‑KMS to newly uploaded objects. Question 52. Which AWS service can be used to centrally manage secrets rotation for RDS databases? A) AWS Secrets Manager B) AWS Systems Manager Parameter Store C) AWS KMS D) AWS IAM Answer: A Explanation: Secrets Manager supports automated rotation of database credentials, including for RDS. Question 53. Which of the following is a characteristic of a “stateless” microservice? A) Stores session data locally B) Relies on external data stores for state C) Requires dedicated compute per user D) Uses local file system for caching Answer: B Explanation: Stateless services keep no client‑specific state; they retrieve required data from external stores. Question 54. Which AWS service provides a fully managed event bus that can ingest events from AWS services and SaaS applications? A) Amazon EventBridge B) Amazon SNS C) Amazon SQS D) AWS Step Functions Answer: A Explanation: EventBridge is a serverless event bus that integrates with AWS services and external SaaS sources. Question 55. What is the primary purpose of AWS GuardDuty? A) Vulnerability scanning B) DDoS mitigation C) Threat detection using machine learning D) Firewall rule enforcement Answer: C Explanation: GuardDuty analyzes VPC flow logs, DNS logs, and CloudTrail events to detect suspicious activity.

Question 56. Which Amazon RDS engine supports the “Aurora Serverless v2” deployment option? A) MySQL B) PostgreSQL C) Aurora MySQL-compatible D) Oracle Answer: C Explanation: Aurora Serverless v2 is available for Aurora MySQL‑compatible and Aurora PostgreSQL‑compatible engines. Question 57. In AWS Cost Explorer, which view helps you identify daily spend trends for the past 13 months? A) Forecast B) Cost and Usage Report C) Usage Type D) Daily Granularity Answer: D Explanation: Selecting daily granularity shows spend per day, useful for spotting trends. Question 58. Which of the following is NOT a valid AWS WAF rule action? A) Allow B) Block C) Count D) Redirect Answer: D Explanation: WAF actions are Allow, Block, or Count; Redirect is not a WAF action. Question 59. Which AWS service can be used to enforce encryption for data stored in Amazon RDS without modifying the application? A) AWS KMS B) RDS Encryption at Rest C) AWS Certificate Manager D) AWS Secrets Manager Answer: B Explanation: Enabling RDS encryption at rest encrypts the underlying storage transparently. Question 60. Which AWS feature enables you to replicate an S3 bucket to another region automatically? A) Cross‑Region Replication (CRR) B) Transfer Acceleration C) S3 Batch Operations D) S3 Select Answer: A Explanation: CRR copies objects to a destination bucket in another region as they are uploaded. Question 61. When configuring a VPC subnet for a public web server, which route must be present? A) Destination 0.0.0.0/0 → NAT Gateway B) Destination 0.0.0.0/0 → Internet Gateway C) Destination 10.0.0.0/16 → Local D) Destination ::/0 → Egress Only Internet Gateway

Question 67. When using AWS Organizations, which account is designated as the “Management Account”? A) The root account that created the organization B) Any member account with admin privileges C) The account with the most resources D) The account that hosts AWS Control Tower Answer: A Explanation: The account that creates the organization becomes the Management (formerly Master) Account. Question 68. Which AWS service can enforce compliance checks on AMI baselines across accounts? A) AWS Config Rules B) Amazon Inspector C) AWS Systems Manager Patch Manager D) AWS Security Hub Answer: A Explanation: Config Rules can evaluate AMI attributes (e.g., encryption, tags) for compliance. Question 69. Which Amazon S3 feature allows you to retrieve a subset of object data using SQL‑like expressions? A) S3 Select B) S3 Inventory C) S3 Batch Operations D) S3 Event Notifications Answer: A Explanation: S3 Select enables retrieval of only needed data from an object using SQL statements. Question 70. Which networking construct enables you to connect multiple VPCs across different accounts without transitive routing? A) VPC Peering B) Transit Gateway C) VPN CloudHub D) Direct Connect Answer: B Explanation: Transit Gateway supports hub‑and‑spoke connectivity and can attach VPCs from multiple accounts. Question 71. Which AWS service can be used to centrally manage encryption keys for workloads that require compliance with FIPS 140‑2? A) AWS KMS B) AWS CloudHSM C) AWS Secrets Manager D) AWS Certificate Manager Answer: B Explanation: CloudHSM provides hardware security modules that meet FIPS 140‑2 requirements. Question 72. Which Amazon EC2 pricing model provides a commitment to a specific instance family for 1‑ or 3‑year terms? A) Spot Instances B) Savings Plans C) Reserved Instances D) On‑Demand

Answer: C Explanation: Reserved Instances lock you into a specific instance family for a term, offering discounted rates. Question 73. Which AWS service can automatically distribute traffic across multiple regions based on latency and health? A) Elastic Load Balancer (ALB) B) Amazon Route 53 Global Accelerator C) AWS Global Accelerator D) Amazon CloudFront Answer: C Explanation: AWS Global Accelerator directs traffic to optimal endpoints (including multi‑region) based on health and latency. Question 74. Which of the following is a characteristic of Amazon SQS Standard queues? A) Exactly‑once delivery B) FIFO ordering C) Unlimited throughput D) No duplicate messages Answer: C Explanation: Standard queues provide virtually unlimited throughput but may deliver duplicates and out‑of‑order messages. Question 75. Which AWS service provides a managed, serverless graph database compatible with Apache TinkerPop? A) Amazon Neptune B) Amazon DynamoDB C) Amazon Aurora D) Amazon RDS Answer: A Explanation: Neptune is a fully managed graph database supporting Gremlin and SPARQL. Question 76. What is the primary purpose of AWS CloudTrail? A) Monitoring resource health B) Recording API calls for audit C) Real‑time threat detection D) Managing IAM policies Answer: B Explanation: CloudTrail captures AWS API activity for governance, compliance, and auditing. Question 77. Which AWS feature allows you to enforce that all S3 objects are encrypted with a specific KMS CMK? A) Bucket Policy B) IAM Policy C) S3 Object Lock D) S3 Access Points Answer: A Explanation: A bucket policy can require SSE‑KMS with a particular CMK for all PUT operations.

Question 83. Which S3 storage class is designed for data that is accessed less than once a quarter but requires rapid retrieval? A) S3 Standard‑IA B) S3 One Zone‑IA C) S3 Glacier D) S3 Glacier Deep Archive Answer: B Explanation: One Zone‑IA stores data in a single AZ, offering lower cost than Standard‑IA for infrequently accessed data with quick retrieval. Question 84. Which AWS service can be used to create a private DNS namespace that is resolvable only within a VPC? A) Amazon Route 53 Private Hosted Zone B) AWS CloudMap C) Amazon VPC DNS Resolver D) AWS Global Accelerator Answer: A Explanation: Private Hosted Zones provide DNS resolution limited to the associated VPCs. Question 85. When using AWS Lambda, which parameter controls the maximum amount of time a function can run? A) Memory Size B) Timeout C) Concurrency Limit D) Reserved Concurrency Answer: B Explanation: The Timeout setting defines the maximum execution duration for a Lambda function. Question 86. Which of the following is a best practice for securing API Gateway endpoints? A) Disabling logging B) Using IAM authentication only C) Enabling WAF with rate‑based rules D) Allowing unrestricted public access Answer: C Explanation: Attaching WAF protects API endpoints from malicious traffic and rate‑based attacks. Question 87. Which AWS service can automatically encrypt EBS volumes at the instance level without user intervention? A) AWS KMS B) AWS Encryption SDK C) AWS EC2 Instance Metadata Service D) AWS Nitro Enclaves Answer: A Explanation: Enabling encryption on the instance’s root volume uses KMS automatically for all attached EBS volumes. Question 88. Which AWS feature provides a centralized view of cost and usage across multiple accounts and supports budgeting alerts? A) AWS Budgets B) AWS Cost Explorer C) AWS Trusted Advisor D) AWS Organizations

Answer: A Explanation: AWS Budgets lets you set custom cost or usage budgets and receive alerts when thresholds are exceeded. Question 89. Which AWS service offers a fully managed, serverless data warehouse that separates compute and storage? A) Amazon Redshift Serverless B) Amazon Athena C) Amazon Aurora D) Amazon EMR Answer: A Explanation: Redshift Serverless decouples compute from storage, scaling automatically based on query load. Question 90. Which AWS service can be used to create a VPN connection from an on‑premises data center to a VPC without a third‑party device? A) AWS Direct Connect B) AWS Site‑to‑Site VPN C) AWS Transit Gateway D) AWS VPN CloudHub Answer: B Explanation: Site‑to‑Site VPN establishes an IPSec tunnel between on‑premises hardware and the VPC’s virtual private gateway. Question 91. When designing a highly available architecture, which EC2 feature ensures that instances are launched in multiple AZs automatically? A) Launch Templates B) Auto Scaling Group (ASG) C) Elastic Load Balancer D) Placement Groups Answer: B Explanation: ASGs distribute instances across AZs based on the defined subnets, providing HA. Question 92. Which AWS service provides a managed, scalable, and secure DNS firewall to block malicious domains? A) Amazon Route 53 Resolver DNS Firewall B) AWS WAF C) AWS Shield D) AWS Firewall Manager Answer: A Explanation: Route 53 Resolver DNS Firewall lets you create domain blocklists to protect VPC DNS queries. Question 93. Which Amazon S3 feature helps protect objects from being deleted or overwritten for a defined retention period? A) Versioning B) Object Lock (Governance Mode) C) Lifecycle Policies D) Cross‑Region Replication

Question 99. When using Amazon DynamoDB, which feature provides automatic backup and point‑in‑time recovery? A) Global Tables B) Streams C) On‑Demand Backup D) Time‑Travel Queries Answer: C Explanation: On‑Demand Backup and Point‑In‑Time Recovery allow you to restore tables to any second within the retention period. Question 100. Which AWS service can be used to migrate large amounts of on‑premises data to AWS using a physical appliance? A) AWS Snowball B) AWS DataSync C) AWS Transfer Family D) AWS Direct Connect Answer: A Explanation: Snowball (or Snowball Edge) is a rugged device for bulk data transfer to AWS. Question 101. Which AWS service provides a managed, serverless message queue that supports dead‑letter queues and FIFO ordering? A) Amazon SQS B) Amazon SNS C) Amazon MQ D) Amazon Kinesis Data Streams Answer: A Explanation: SQS FIFO queues support message ordering, exactly‑once processing, and dead‑letter queues. Question 102. Which AWS feature enables you to enforce that an IAM role can only be assumed from a specific AWS account? A) Condition key aws:PrincipalAccount B) Condition key aws:SourceAccount C) Condition key aws:RequestedRegion D) Condition key aws:PrincipalArn Answer: B Explanation: aws:SourceAccount restricts role assumption to the specified AWS account ID. Question 103. Which storage gateway type presents iSCSI block storage to on‑premises servers? A) File Gateway B) Tape Gateway C) Volume Gateway (Cached) D) Volume Gateway (Stored) Answer: C Explanation: The Cached Volume Gateway provides iSCSI block storage backed by S3, with frequently accessed data cached locally.

Question 104. Which AWS service can be used to centrally enforce encryption at rest for all EBS volumes in an organization? A) AWS Config Rule B) AWS KMS Policy C) AWS Organizations Service Control Policy D) AWS IAM Policy Answer: A Explanation: Config Rules can evaluate whether EBS volumes have encryption enabled and flag non‑compliant resources. Question 105. Which Amazon EC2 instance type is optimized for high I/O operations on local NVMe SSDs? A) C5d B) I3en C) M5d D) R5b Answer: B Explanation: I3en instances provide high random I/O performance with locally attached NVMe SSDs. Question 106. Which AWS service can be used to create a fully managed, elastic, and durable message streaming platform? A) Amazon Kinesis Data Streams B) Amazon SQS C) Amazon SNS D) Amazon MQ Answer: A Explanation: Kinesis Data Streams offers scalable, real‑time data streaming with durability. Question 107. Which AWS service is designed to protect against credential leakage by scanning code repositories for hard‑coded secrets? A) Amazon Macie B) AWS CodeGuru C) AWS Secrets Manager D) AWS GuardDuty Answer: B Explanation: CodeGuru Reviewer can detect hard‑coded credentials and other security issues in source code. Question 108. Which AWS feature allows you to tag resources automatically at creation time using predefined rules? A) Tag Policies B) Resource Groups C) AWS CloudFormation StackSets D) Service Catalog Tag Options Answer: A Explanation: Tag Policies can enforce mandatory tags and auto‑apply them during resource provisioning.