saa-c02-part-06 Flashcards
A company has an Amazon EC2 instance running on a private subnet that needs to access a public website to download patches and updates. The company does not want external websites to see the EC2 instance IP address or initiate connections to it.
How can a solutions architect achieve this objective?
- Create a site-to-site VPN connection between the private subnet and the network in which the public site is deployed.
- Create a NAT gateway in a public subnet. Route outbound traffic from the private subnet through the NAT gateway.
- Create a network ACL for the private subnet where the EC2 instance deployed only allows access from the IP address range of the public website.
- Create a security group that only allows connections from the IP address range of the public website. Attach the security group to the EC2 instance.
- Create a NAT gateway in a public subnet. Route outbound traffic from the private subnet through the NAT gateway.
private subnet that needs to access a public website = NAT
A company must migrate 20 TB of data from a data center to the AWS Cloud within 30 days. The company’s network bandwidth is limited to 15 Mbps and cannot exceed 70% utilization. What should a solutions architect do to meet these requirements?
- Use AWS Snowball.
- Use AWS DataSync.
- Use a secure VPN connection.
- Use Amazon S3 Transfer Acceleration.
- Use AWS Snowball.
migrate 20 TB = snowball
A company has a website running on Amazon EC2 instances across two Availability Zones. The company is expecting spikes in traffic on specific holidays, and wants to provide a consistent user experience. How can a solutions architect meet this requirement?
- Use step scaling.
- Use simple scaling.
- Use lifecycle hooks.
- Use scheduled scaling.
- Use scheduled scaling.
specific holidays = scheduled
An ecommerce company is running a multi-tier application on AWS. The front-end and backend tiers both run on Amazon EC2, and the database runs on Amazon RDS for MySQL. The backend tier communicates with the RDS instance. There are frequent calls to return identical datasets from the database that are causing performance slowdowns.
Which action should be taken to improve the performance of the backend?
- Implement Amazon SNS to store the database calls.
- Implement Amazon ElastiCache to cache the large datasets.
- Implement an RDS for MySQL read replica to cache database calls.
- Implement Amazon Kinesis Data Firehose to stream the calls to the database.
- Implement Amazon ElastiCache to cache the large datasets.
return identical datasets + performance = cache (read replica is not caching)
A company has an on-premises data center that is running out of storage capacity. The company wants to migrate its storage infrastructure to AWS while minimizing bandwidth costs. The solution must allow for immediate retrieval of data at no additional cost.
How can these requirements be met?
- Deploy Amazon S3 Glacier Vault and enable expedited retrieval. Enable provisioned retrieval capacity for the workload.
- Deploy AWS Storage Gateway using cached volumes. Use Storage Gateway to store data in Amazon S3 while retaining copies of frequently accessed data subsets locally.
- Deploy AWS Storage Gateway using stored volumes to store data locally. Use Storage Gateway to asynchronously back up point-in-time snapshots of the data to Amazon S3.
- Deploy AWS Direct Connect to connect with the on-premises data center. Configure AWS Storage Gateway to store data locally. Use Storage Gateway to asynchronously back up point-in-time snapshots of the data to Amazon S3.
- Deploy AWS Storage Gateway using cached volumes. Use Storage Gateway to store data in Amazon S3 while retaining copies of frequently accessed data subsets locally.
Glacier = not immediate = not 1
store data locally = out of space locally = not 3,4
A company is processing data on a daily basis. The results of the operations are stored in an Amazon S3 bucket, analyzed daily for one week, and then must remain immediately accessible for occasional analysis.
What is the MOST cost-effective storage solution alternative to the current configuration?
- Configure a lifecycle policy to delete the objects after 30 days.
- Configure a lifecycle policy to transition the objects to Amazon S3 Glacier after 30 days.
- Configure a lifecycle policy to transition the objects to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days.
- Configure a lifecycle policy to transition the objects to Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA) after 30 days.
- Configure a lifecycle policy to transition the objects to Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA) after 30 days.
MOST cost-effective = S3 One Zone-Infrequent Access
A company delivers files in Amazon S3 to certain users who do not have AWS credentials. These users must be given access for a limited time. What should a solutions architect do to securely meet these requirements?
- Enable public access on an Amazon S3 bucket.
- Generate a presigned URL to share with the users.
- Encrypt files using AWS KMS and provide keys to the users.
- Create and assign IAM roles that will grant GetObject permissions to the users.
- Generate a presigned URL to share with the users.
users who do not have AWS credentials + limited time = presignedurls
A company wants to run a hybrid workload for data processing. The data needs to be accessed by on-premises applications for local data processing using an NFS protocol, and must also be accessible from the AWS Cloud for further analytics and batch processing.
Which solution will meet these requirements?
- Use an AWS Storage Gateway file gateway to provide file storage to AWS, then perform analytics on this data in the AWS Cloud.
- Use an AWS Storage Gateway tape gateway to copy the backup of the local data to AWS, then perform analytics on this data in the AWS cloud.
- Use an AWS Storage Gateway volume gateway in a stored volume configuration to regularly take snapshots of the local data, then copy the data to AWS.
- Use an AWS Storage Gateway volume gateway in a cached volume configuration to back up all the local storage in the AWS cloud, then perform analytics on this data in the cloud.
- Use an AWS Storage Gateway file gateway to provide file storage to AWS, then perform analytics on this data in the AWS Cloud.
NFS = Network File Share
A company plans to store sensitive user data on Amazon S3. Internal security compliance requirements mandate encryption of data before sending it to Amazon S3.
What should a solutions architect recommend to satisfy these requirements?
- Server-side encryption with customer-provided encryption keys
- Client-side encryption with Amazon S3 managed encryption keys
- Server-side encryption with keys stored in AWS key Management Service (AWS KMS)
- Client-side encryption with a master key stored in AWS Key Management Service (AWS KMS)
- Client-side encryption with a master key stored in AWS Key Management Service (AWS KMS)
encryption of data before = Client-side 2,4
S3 managed encryption keys = ?? doesnt exist so 4 also
A solutions architect is moving the static content from a public website hosted on Amazon EC2 instances to an Amazon S3 bucket. An Amazon CloudFront distribution will be used to deliver the static assets. The security group used by the EC2 instances restricts access to a limited set of IP ranges. Access to the static content should be similarly restricted.
Which combination of steps will meet these requirements? (Choose two.)
- Create an origin access identity (OAI) and associate it with the distribution. Change the permissions in the bucket policy so that only the OAI can read the objects.
- Create an AWS WAF web ACL that includes the same IP restrictions that exist in the EC2 security group. Associate this new web ACL with the CloudFront distribution.
- Create a new security group that includes the same IP restrictions that exist in the current EC2 security group. Associate this new security group with the CloudFront distribution.
- Create a new security group that includes the same IP restrictions that exist in the current EC2 security group. Associate this new security group with the S3 bucket hosting the static content.
- Create a new IAM role and associate the role with the distribution. Change the permissions either on the S3 bucket or on the files within the S3 bucket so that only the newly created IAM role has read and download permissions.
- Create an origin access identity (OAI) and associate it with the distribution. Change the permissions in the bucket policy so that only the OAI can read the objects.
- Create an AWS WAF web ACL that includes the same IP restrictions that exist in the EC2 security group. Associate this new web ACL with the CloudFront distribution.
Restrict access to content in S3 buckets = origin access identity
limited set of IP ranges = WAF / CloudFront
A company is investigating potential solutions that would collect, process, and store users’ service usage data. The business objective is to create an analytics capability that will enable the company to gather operational insights quickly using standard SQL queries. The solution should be highly available and ensure Atomicity, Consistency, Isolation, and Durability (ACID) compliance in the data tier.
Which solution should a solutions architect recommend?
- Use an Amazon Timestream database.
- Use an Amazon Neptune database in a Multi-AZ design.
- Use a fully managed Amazon RDS for MySQL database in a Multi-AZ design.
- Deploy PostgreSQL on an Amazon EC2 instance that uses Amazon Elastic Block Store (Amazon EBS) Throughput Optimized HDD (st1) storage.
- Use a fully managed Amazon RDS for MySQL database in a Multi-AZ design.
standard SQL queries = RDS
4 is overkill
A company recently launched its website to serve content to its global user base. The company wants to store and accelerate the delivery of static content to its users by leveraging Amazon CloudFront with an Amazon EC2 instance attached as its origin.
How should a solutions architect optimize high availability for the application?
- Use Lambda@Edge for CloudFront.
- Use Amazon S3 Transfer Acceleration for CloudFront.
- Configure another EC2 instance in a different Availability Zone as part of the origin group.
- Configure another EC2 instance as part of the origin server cluster in the same Availability Zone.
- Configure another EC2 instance in a different Availability Zone as part of the origin group.
high availability = multi AZ
An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both are in separate. AWS accounts. The network administrator needs to design a solution to enable secure access to EC2 instance in VPC-B from VPC-A. The connectivity should not have a single point of failure or bandwidth concerns.
Which solution will meet these requirements?
- Set up a VPC peering connection between VPC-A and VPC-B.
- Set up VPC gateway endpoints for the EC2 instance running in VPC-B.
- Attach a virtual private gateway to VPC-B and enable routing from VPC-A.
- Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-B.
- Set up a VPC peering connection between VPC-A and VPC-B.
VPC-A and VPC-B = peering
A company currently stores symmetric encryption keys in a hardware security module (HSM). A solutions architect must design a solution to migrate key management to AWS. The solution should allow for key rotation and support the use of customer provided keys.
Where should the key material be stored to meet these requirements?
- Amazon S3
- AWS Secrets Manager
- AWS Systems Manager Parameter store
- AWS Key Management Service (AWS KMS)
- AWS Key Management Service (AWS KMS)
key rotation = KMS
A recent analysis of a company’s IT expenses highlights the need to reduce backup costs. The company’s chief information officer wants to simplify the on-premises backup infrastructure and reduce costs by eliminating the use of physical backup tapes. The company must preserve the existing investment in the on-premises backup applications and workflows.
What should a solutions architect recommend?
- Set up AWS Storage Gateway to connect with the backup applications using the NFS interface.
- Set up an Amazon Elastic File System (Amazon EFS) file system that connects with the backup applications using the NFS interface.
- Set up an Amazon Elastic File System (Amazon EFS) file system that connects with the backup applications using the iSCSI interface.
- Set up AWS Storage Gateway to connect with the backup applications using the iSCSI-virtual tape library (VTL) interface.
- Set up AWS Storage Gateway to connect with the backup applications using the iSCSI-virtual tape library (VTL) interface.
tapes = VTL