AWS Certification Solutions Architect Associate 2023 past questions and answers
This 2023 AWS Certification Solutions Architect Associate set has 20 practice questions. Try these 5 free sample questions, tap a question to reveal the answer and explanation. Then practise the whole 2023 set with instant marking.
Practise the full 2023 setTimed exam mode
Sample AWS Certification Solutions Architect Associate 2023 questions
1. A company serves public product images through Amazon CloudFront. The images are stored in an Amazon S3 bucket, and the company wants to prevent users from bypassing CloudFront to access the bucket directly. Which solution meets this requirement with the least operational overhead?
- Enable S3 website hosting and allow public reads from the bucket.
- Keep the bucket private, configure CloudFront Origin Access Control (OAC), and allow the OAC to read objects in the bucket policy.
- Create an IAM user for CloudFront and store its access keys in the distribution configuration.
- Allow public reads from the bucket and restrict access with an S3 lifecycle rule.
Answer: B. Keep the bucket private, configure CloudFront Origin Access Control (OAC), and allow the OAC to read objects in the bucket policy.
Origin Access Control lets CloudFront make authenticated requests to a private S3 origin, while the bucket policy grants access only to that distribution. Public access and embedded long-lived keys either leave the origin exposed or add unnecessary credential risk.
2. A systems administrator must manage Linux EC2 instances in a private subnet. The subnet has no NAT gateway or internet route, and security policy prohibits inbound SSH. Which approach provides secure interactive access with the least operational overhead?
- Use AWS Systems Manager Session Manager, attach an instance role with the required Systems Manager permissions, and create the required Systems Manager interface VPC endpoints.
- Assign each instance a public IP address and allow SSH only from the administrator's current address.
- Deploy a bastion host in a public subnet and open SSH from all corporate networks.
- Store a shared SSH private key in an S3 bucket and download it to each instance at startup.
Answer: A. Use AWS Systems Manager Session Manager, attach an instance role with the required Systems Manager permissions, and create the required Systems Manager interface VPC endpoints.
Session Manager provides interactive access without inbound ports or SSH keys; an instance role and interface endpoints let the agent communicate privately with Systems Manager. Public IPs, broadly reachable bastions, and shared keys increase exposure and operational burden.
3. A company runs Linux workloads on several EC2 instances that need shared POSIX files. Different applications must be confined to their own directory roots, and the file system must be encrypted at rest. Which design best meets the requirements?
- Store files on an unencrypted EBS volume and attach it to every instance.
- Use an S3 bucket with public access disabled and mount it as a POSIX file system using an EC2 instance role.
- Use an encrypted Amazon EFS file system and configure EFS access points with application-specific root directories and POSIX identities.
- Use an Amazon EBS Multi-Attach volume as the shared POSIX file system for all instances.
Answer: C. Use an encrypted Amazon EFS file system and configure EFS access points with application-specific root directories and POSIX identities.
EFS provides shared NFS access for Linux instances, supports encryption at rest, and access points can enforce a root directory and POSIX identity for each application. S3 is object storage, and EBS Multi-Attach is not a general shared POSIX file-system solution.
4. An application in Account A needs temporary read access to a specific S3 bucket owned by Account B. The company does not allow long-lived access keys. What should the administrators configure?
- Create an IAM user in Account B and email its access keys to the application team.
- Make the bucket public and rely on the application to request only approved objects.
- Copy the bucket into Account A on a schedule and share the replication credentials with the application.
- Create a role in Account B whose trust policy permits the approved principal in Account A to assume it, and grant the role read access to the bucket.
Answer: D. Create a role in Account B whose trust policy permits the approved principal in Account A to assume it, and grant the role read access to the bucket.
A cross-account IAM role provides temporary credentials through AssumeRole and lets Account B scope permissions to the required bucket. Long-lived keys and public access weaken security, while scheduled copies add unnecessary delay and operations.
5. A production relational database must continue operating after an Availability Zone failure. The application requires automatic failover and does not need read-scaling replicas. Which design is the best fit?
- Configure the Amazon RDS database for Multi-AZ deployment.
- Take a manual database snapshot each night and restore it after an outage.
- Create a read replica in the same Availability Zone and direct all writes to it.
- Run the database on a single EC2 instance with an attached EBS volume.
Answer: A. Configure the Amazon RDS database for Multi-AZ deployment.
RDS Multi-AZ maintains a standby in another Availability Zone and performs automatic failover for supported deployments. A snapshot requires a restore operation, and a read replica is intended primarily for read scaling rather than this automatic standby design.
More AWS Certification Solutions Architect Associate years
All AWS Certification Solutions Architect Associate years · AWS Certification subjects
PassSpark questions are original practice questions written to each exam's syllabus and format, in the style of past questions. They are not official past papers and are not affiliated with JAMB, WAEC, NECO, any university or any exam body.