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.
You are configuring a CI/CD pipeline in AWS CodePipeline. What occurs if one stage fails?
AAll stages succeed silently
BThe pipeline stops executing further stages
CThe pipeline retries the failed stage indefinitely
DA notification is sent only for successes
Explanation
When a stage fails, CodePipeline stops execution of subsequent stages to secure overall integrity.
Q262
Which service provides a managed Kubernetes environment?
AAmazon EKS
BAmazon EC2
CAmazon ECS
DAWS Lambda
Explanation
Amazon EKS is specifically designed for Kubernetes.
Q263
A company needs to ensure its data in S3 is encrypted. What should they enable?
AObject Lock
BS3 Versioning
CS3 Default Encryption
DS3 Transfer Acceleration
Explanation
S3 Default Encryption automatically encrypts all objects.
Q264
You are configuring an Auto Scaling group. What happens when the minimum size is reached?
AMore instances will be launched.
BScaling is paused until lowered.
CNo further scaling actions occur.
DInstances are terminated randomly.
Explanation
Once the minimum size is reached, scaling actions cease.
Q265
Which service allows for automatic scaling of resources based on load?
AAWS Auto Scaling
BAWS Lambda
CAmazon RDS
DAmazon VPC
Explanation
AWS Auto Scaling automatically adjusts resources based on demand, while others do not provide this feature.
Q266
A company needs to ensure data is securely encrypted at rest. Which AWS service provides this functionality?
AAmazon SQS
BAmazon Glue
CAmazon S3
DAmazon CloudFront
Explanation
Amazon S3 offers encryption options for data at rest, unlike the other options listed.
Q267
You are configuring a CloudFormation stack with AWS Lambda. What happens when the Lambda function is deployed using a template that references an IAM role?
AFunction runs without permissions.
BRole permissions are ignored.
CFunction assumes specified role.
DFunction fails to deploy.
Explanation
The Lambda function will assume the specified IAM role to execute properly, ensuring it has the needed permissions.
Q268
Which service automates code deployments across multiple environments?
AAWS CodeDeploy
BAWS Lambda
CAWS CloudFormation
DAWS CodePipeline
Explanation
AWS CodeDeploy automates application deployments, while others serve different purposes.
Q269
A company needs to store user-generated content with high durability and availability. Which option is best?
AAmazon S3
BAmazon EFS
CAmazon EBS
DAWS Snowball
Explanation
Amazon S3 provides high durability and availability for storage needs.
Q270
You are configuring a VPC with a public and private subnet. What happens to an EC2 instance in the private subnet if it requires internet access?
AAccess via public IP
BAccess via NAT Gateway
CDirect internet access allows
DNo internet access possible
Explanation
A NAT Gateway allows private subnets to access the internet without direct public IPs.