The AWS Certified Solutions Architect – Professional (SAP-C02) exam validates advanced skills in designing distributed systems on AWS. It is ideal for experienced architects looking to demonstrate their expertise.
A company needs to enforce IAM password policies. What should you do?
ASet minimum password length
BEnable MFA
CCreate access keys
DUse roles for applications
Explanation
Setting a minimum password length is a core aspect of IAM password policies; the others do not enforce password requirements.
Q222
You are configuring an EC2 Auto Scaling Group. What happens if the desired capacity is set to zero?
AInstances will be terminated immediately
BInstances will remain running
CNo new instances will launch
DOnly health checks will stop
Explanation
Setting desired capacity to zero results in the termination of all instances for that group, while others do not reflect this action accurately.
Q223
Which service provides a set of tools to deploy, manage, and monitor Amazon EC2 instances?
AAWS Systems Manager
BAWS Lambda
CAmazon S3
DAWS CloudFormation
Explanation
AWS Systems Manager enables management of EC2 instances while others do not fulfill this role.
Q224
You are configuring an AWS Lambda function for performance. What resource setting can optimize spin-up time?
AIncrease memory allocation
BAssign more timeout duration
CDeploy using an alias
DUse provisioned concurrency
Explanation
Provisioned concurrency keeps function instances warm, reducing spin-up time, while others do not affect this.
Q225
A company needs to ensure that S3 buckets are private and accessible only by specific IAM roles. What should they implement?
AUse bucket versioning
BEnable public access block
CUse bucket policies
DApply lifecycle rules
Explanation
Bucket policies provide detailed access control, while others do not restrict access appropriately.
Q226
A company needs to ensure high availability for their SQL database on AWS. Which service should they choose?
AAmazon RDS with Multi-AZ deployment
BAmazon S3 for database backups
CAWS Lambda for database queries
DAmazon EC2 with single-instance setup
Explanation
Amazon RDS with Multi-AZ deployment provides automatic failover for high availability, while the others do not meet high availability requirements.
Q227
What happens when an S3 bucket policy grants public read access to all objects?
AAll users can upload files.
BThe bucket becomes public.
CAll objects are encrypted.
DBucket versioning is enabled.
Explanation
Granting public read access makes the S3 bucket public, allowing anyone to view objects.
Q228
You are configuring an AWS VPC with subnets. What is the impact of having two subnets in different Availability Zones?
AEnhanced security configuration only.
BImproved latency between resources.
CIncreased fault tolerance for resources.
DNo impact on resource availability.
Explanation
Having subnets in different AZs provides redundancy and fault tolerance in case of an AZ failure.
Q229
Which service would you use to create a secure connection to a VPC?
AAWS VPN
BAWS Lambda
CAWS CloudFormation
DAWS S3
Explanation
AWS VPN establishes secure site-to-site connections, while the others serve different purposes.
Q230
A company needs to deploy a multi-region architecture for their application. Which AWS service helps in managing global resources?
AAmazon CloudFront
BAWS Global Accelerator
CAWS CloudTrail
DAWS Config
Explanation
AWS Global Accelerator optimizes traffic globally; others are not designed for global resource management.