Docsity

AWS Solutions Architect Associate Ultimate Exam, Exams of Networking

Toggle sidebar
bg1
AWS Solutions Architect Associate Ultimate
Exam
**Question 1.** Which IAM entity is best suited for granting temporary access to AWS resources for an
application running on an EC2 instance?
A) IAM User
B) IAM Group
C) IAM Role
D) IAM Policy
Answer: C
Explanation: IAM Roles can be attached to EC2 instances and provide temporary security credentials via
the instance metadata service.
**Question 2.** In AWS IAM, which policy type is evaluated first when a request is made?
A) Inline policy attached to the user
B) Managed policy attached to the group
C) Resource‑based policy on the target service
D) Service Control Policy (SCP)
Answer: D
Explanation: SCPs are evaluated before any identity‑based policies, limiting the maximum permissions
an account can obtain.
**Question 3.** Which of the following best describes the principle of least privilege?
A) Granting all users full administrator access
B) Giving users only the permissions they need to perform their job functions
C) Assigning permissions at the account level only
D) Using only AWS‑managed policies
Answer: B
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36

Partial preview of the text

Download AWS Solutions Architect Associate Ultimate Exam and more Exams Networking in PDF only on Docsity!

Exam

Question 1. Which IAM entity is best suited for granting temporary access to AWS resources for an application running on an EC2 instance? A) IAM User B) IAM Group C) IAM Role D) IAM Policy Answer: C Explanation: IAM Roles can be attached to EC2 instances and provide temporary security credentials via the instance metadata service. Question 2. In AWS IAM, which policy type is evaluated first when a request is made? A) Inline policy attached to the user B) Managed policy attached to the group C) Resource‑based policy on the target service D) Service Control Policy (SCP) Answer: D Explanation: SCPs are evaluated before any identity‑based policies, limiting the maximum permissions an account can obtain. Question 3. Which of the following best describes the principle of least privilege? A) Granting all users full administrator access B) Giving users only the permissions they need to perform their job functions C) Assigning permissions at the account level only D) Using only AWS‑managed policies Answer: B

Exam

Explanation: Least privilege means each principal receives the minimum set of permissions required to accomplish its tasks. Question 4. A company wants to allow its on‑premises Active Directory users to sign in to the AWS Management Console without creating IAM users. Which service should they use? A) IAM Identity Center (formerly SSO) B) AWS Directory Service – Simple AD C) AWS Cognito D) AWS Organizations Answer: A Explanation: IAM Identity Center enables federation of on‑prem AD credentials for console access. Question 5. Which of the following is a stateless VPC security mechanism? A) Security Group B) Network ACL C) VPC Flow Logs D) AWS Firewall Manager Answer: B Explanation: Network ACLs evaluate each packet independently of prior traffic, making them stateless. Question 6. To provide secure, audited remote shell access to EC2 instances without opening inbound SSH ports, you should use: A) Bastion host with a public IP B) AWS Systems Manager Session Manager C) VPN connection to the VPC D) Direct Connect

Exam

D) S3 server‑side encryption (SSE‑S3) Answer: C Explanation: CloudHSM provides dedicated HSM appliances where you manage the keys and meet compliance requirements. Question 10. An S3 bucket must enforce that all objects are encrypted using a specific KMS key. Which feature should you configure? A) Bucket versioning B) Bucket policy with kms:EncryptionContext C) Default encryption with the desired KMS key D) S3 Access Points Answer: C Explanation: Default encryption automatically applies the specified KMS key to all newly uploaded objects. Question 11. Which S3 feature helps you discover and protect personally identifiable information (PII) stored in objects? A) S3 Access Analyzer B) S3 Object Lock C) Amazon Macie D) S3 Inventory Answer: C Explanation: Amazon Macie uses machine learning to identify and classify sensitive data in S3. Question 12. What is the primary benefit of using Amazon S3 Object Lock in Governance mode? A) Prevents deletion of objects by any user, including root

Exam

B) Allows deletion only by users with special permission after retention period C) Enables versioning of objects automatically D) Provides automatic encryption at rest Answer: B Explanation: Governance mode blocks deletion until the retention period expires, unless a user with the bypass‑governance‑retention permission overrides it. Question 13. Which of the following Amazon RDS deployment options provides automatic failover to a standby instance in another AZ? A) Single‑AZ deployment B) Multi‑AZ deployment C) Read replica in the same AZ D) Aurora Serverless v Answer: B Explanation: Multi‑AZ RDS maintains a synchronous standby in a different AZ and automatically fails over. Question 14. In Amazon Aurora Global Database, what is the primary purpose of the primary region? A) Serve read traffic for all regions B) Perform write operations and replicate changes to secondary regions C) Store backup snapshots only D) Host only analytics workloads Answer: B Explanation: The primary region handles writes and propagates data to secondary read‑only regions.

Exam

Explanation: FIFO queues enforce first‑in‑first‑out order and deduplicate messages, ensuring exactly‑once delivery. Question 18. An application uses Amazon SNS to fan‑out notifications to multiple SQS queues across accounts. Which policy must be attached to the SNS topic? A) Resource‑based policy allowing SQS:SendMessage from the topic ARN B) IAM policy granting sns:Publish to the topic for each account C) VPC endpoint policy for SNS D) KMS key policy for encryption Answer: A Explanation: SNS topics use resource‑based policies to grant SQS queues permission to receive messages. Question 19. Which AWS service provides a serverless event bus that can ingest events from AWS services and SaaS applications? A) Amazon EventBridge B) Amazon Kinesis Data Streams C) AWS Step Functions D) Amazon MQ Answer: A Explanation: EventBridge is a fully managed event bus for AWS and third‑party SaaS event sources. Question 20. When deploying a Lambda function behind an API Gateway, which integration type provides the lowest latency? A) Lambda proxy integration B) Lambda non‑proxy integration C) HTTP integration

Exam

D) Mock integration Answer: A Explanation: Proxy integration forwards the entire request to Lambda, reducing processing overhead. Question 21. Which Amazon EC2 instance type family is optimized for high memory workloads such as in‑memory databases? A) C (Compute Optimized) B) R (Memory Optimized) C) M (General Purpose) D) T (Burstable) Answer: B Explanation: R‑family instances provide the highest RAM‑to‑vCPU ratios for memory‑intensive applications. Question 22. An application requires sub‑millisecond latency for read‑after‑write operations on a NoSQL store. Which service and configuration is most appropriate? A) DynamoDB with eventual consistency B) DynamoDB with strongly consistent reads C) DynamoDB with DAX caching D) Amazon S Answer: C Explanation: DynamoDB Accelerator (DAX) provides in‑memory caching, delivering microsecond read latency. Question 23. Which Amazon EBS volume type offers the highest baseline performance and is suitable for large, transactional databases?

Exam

Question 26. When using Amazon S3 Transfer Acceleration, which AWS edge location characteristic improves upload speed? A) Proximity to the source bucket’s Region B) Use of Amazon CloudFront edge caches C) Routing traffic through the AWS global backbone network D) Automatic compression of objects Answer: C Explanation: Transfer Acceleration routes data to the nearest edge location and then over the AWS private backbone to the destination bucket. Question 27. Which Amazon EC2 networking feature enables up to 100 Gbps throughput and low latency for supported instance types? A) Elastic Network Adapter (ENA) B) Enhanced Networking with Intel 82599 VF C) ClassicLink D) VPC Peering Answer: A Explanation: ENA provides high‑performance network interfaces that support up to 100 Gbps. Question 28. An organization wants to connect its on‑premises data center to AWS with a dedicated, private link and guarantee bandwidth. Which service should they select? A) Site‑to‑Site VPN B) AWS Direct Connect C) AWS Transit Gateway D) VPC Peering

Exam

Answer: B Explanation: Direct Connect offers a dedicated physical connection with predictable bandwidth. Question 29. Which AWS service can improve global application availability by routing users to the optimal endpoint based on health, latency, and geography? A) Amazon CloudFront B) AWS Global Accelerator C) Amazon Route 53 D) AWS Transit Gateway Answer: B Explanation: Global Accelerator uses the AWS global network to direct traffic to the healthiest, nearest endpoint. Question 30. An S3 bucket is configured with a lifecycle rule that transitions objects to Glacier Deep Archive after 365 days. Which of the following is true? A) Objects become instantly inaccessible after transition B) Retrieval times are typically within minutes C) Retrieval incurs a minimum 48‑hour wait time D) Lifecycle rules cannot target Glacier Deep Archive Answer: C Explanation: Glacier Deep Archive has a minimum retrieval time of 48 hours and higher cost. Question 31. Which pricing model provides the most cost‑effective compute for a workload that can tolerate interruptions and runs continuously for a few months? A) On‑Demand Instances B) Reserved Instances (1‑year term) C) Spot Instances with a capacity‑optimized allocation strategy

Exam

A) CPUUtilization B) NetworkIn C) ALBTargetResponseTime D) DiskReadOps Answer: C Explanation: Target response time directly reflects user‑perceived latency and is a good indicator for scaling web servers. Question 35. Which AWS service can automatically remediate non‑compliant security groups by removing overly permissive inbound rules? A) AWS Config with a remediation Lambda B) AWS GuardDuty C) AWS CloudTrail D) AWS Trusted Advisor Answer: A Explanation: Config rules can detect non‑compliance and trigger a Lambda function to remediate the security group. Question 36. A VPC must allow an EC2 instance to access an S3 bucket without traversing the internet. Which architecture component should be used? A) NAT Gateway B) VPC Endpoint (Gateway) for S C) VPC Peering with a public subnet D) AWS Direct Connect Answer: B

Exam

Explanation: A Gateway VPC Endpoint provides private connectivity to S3 without using an internet gateway or NAT. Question 37. Which AWS service provides a managed, highly available, and scalable DNS service that also supports health‑checking of endpoints? A) Amazon CloudFront B) Amazon Route 53 C) AWS Global Accelerator D) AWS Elastic Load Balancing Answer: B Explanation: Route 53 offers DNS routing with health checks to route traffic away from unhealthy resources. Question 38. When using Amazon EFS, which performance mode should be selected for a latency‑sensitive, single‑client application? A) General Purpose B) Max I/O C) Bursting D) Provisioned Throughput Answer: A Explanation: General Purpose mode provides low‑latency file operations for typical workloads with a single client. Question 39. An organization needs to enforce that all EC2 instances launch with encrypted EBS volumes using a customer‑managed KMS key. Which mechanism accomplishes this? A) IAM policy denying unencrypted volumes B) Launch template with encrypted flag set C) Service Control Policy (SCP) restricting unencrypted volumes

Exam

A) General Purpose (SSD) B) Magnetic C) Provisioned IOPS (SSD) D) GP Answer: C Explanation: Provisioned IOPS SSD allows you to specify the exact IOPS required, delivering the highest performance. Question 43. An application requires real‑time analytics on streaming data with sub‑second processing. Which AWS service is most appropriate? A) Amazon Kinesis Data Streams B) Amazon SQS C) Amazon SNS D) AWS Batch Answer: A Explanation: Kinesis Data Streams provides low‑latency, real‑time data ingestion and processing. Question 44. Which Amazon Redshift node type decouples compute and storage, allowing independent scaling? A) ds2.xlarge B) ra3.4xlarge C) dc2.large D) dw2.large Answer: B Explanation: RA3 nodes separate compute from S3‑based storage, enabling independent scaling.

Exam

Question 45. When configuring an Application Load Balancer, which target type should be chosen to register an AWS Lambda function directly? A) Instance B) IP address C) Lambda function ARN D) Network Interface Answer: C Explanation: ALB supports Lambda as a target type, allowing request routing directly to a function. Question 46. Which AWS service can automatically generate a data‑flow diagram of your AWS resources and their relationships? A) AWS Config B) AWS X-Ray C) AWS CloudFormation Designer D) AWS Perspective Answer: D Explanation: AWS Perspective visualizes architecture diagrams based on existing resources. Question 47. A company wants to enforce that all objects uploaded to an S3 bucket are scanned for malware. Which AWS service can be integrated to achieve this? A) Amazon GuardDuty B) Amazon Macie C) AWS Lambda invoked by S3 Event Notification D) AWS WAF Answer: C Explanation: An S3 event can trigger a Lambda function that scans the object with a third‑party engine.

Exam

Answer: B Explanation: S3 provides durable object storage, and CloudFront caches content at edge locations for low‑latency delivery. Question 51. Which AWS feature allows you to enforce that all traffic between two VPCs traverses an inspection appliance? A) VPC Peering with security groups B) Transit Gateway with a firewall VPC as a service insertion point C) VPC Endpoint Services D) Direct Connect Answer: B Explanation: Transit Gateway can be configured with a firewall VPC acting as a service insertion point for all traffic. Question 52. Which AWS service can be used to centrally manage secrets across multiple AWS accounts and automatically rotate them? A) AWS Secrets Manager with cross‑account IAM roles B) AWS Systems Manager Parameter Store (SecureString) only C) AWS KMS multi‑region keys D) AWS CloudHSM Answer: A Explanation: Secrets Manager supports cross‑account access via IAM roles and can rotate secrets automatically. Question 53. In Amazon DynamoDB, which billing mode allows you to pay only for the read and write requests you actually perform? A) Provisioned capacity mode

Exam

B) On‑Demand capacity mode C) Reserved capacity mode D) Auto Scaling capacity mode Answer: B Explanation: On‑Demand mode charges per request, eliminating the need to provision capacity. Question 54. Which AWS feature helps you protect against accidental deletion of an S3 bucket’s objects? A) Bucket versioning with MFA Delete enabled B) S3 Access Analyzer C) S3 Block Public Access D) S3 Object Lock in Compliance mode Answer: A Explanation: Versioning preserves prior versions, and MFA Delete requires additional authentication to delete objects. Question 55. Which Amazon EC2 launch option provides the ability to automatically replace unhealthy instances within an Auto Scaling Group? A) Spot Fleet B) Capacity Rebalancing C) Health Check Grace Period D) Instance Refresh Answer: D Explanation: Instance Refresh can replace unhealthy or outdated instances while preserving capacity.