Ch1 - Design Resilient Architectures Flashcards
- A small business specializing in video processing wants to prototype cloud storage in order to lower its costs. However, management is wary of storing its client files in the cloud rather than on premises. They are focused on cost savings and experimenting with the cloud at this time. What is the best solution for their prototype?
Install a VPN, set up an S3 bucket for their files created within the last month, and set up an additional S3-IA bucket for older files. Create a lifecycle policy in S3 to move files older than 30 days into the S3-IA bucket nightly.
Install an AWS storage gateway using stored volumes.
Set up a Direct Connect and back all local hard drives up to S3 over the Direct Connect nightly.
Install an AWS storage gateway using cached volumes.
B. Anytime the primary consideration is storage with a local data presence—where data must be stored or seen to be stored locally—a storage gateway gives you the best option. This reduces the choices to B and D. B will store the files in S3 and provide local cached copies, while D will store the files locally and push them to S3 as a backup. Since management is concerned about storage in the cloud of primary files, B is the best choice; local files are the primary source of data, while still allowing the company to experiment with cloud storage without “risking” its data being stored primarily in the cloud.
- For which of the following HTTP methods does S3 have eventual consistency? (Choose two.)
PUTs of new objects
UPDATEs
DELETEs
PUTs that overwrite existing objects
CD
- What is the smallest file size that can be stored on standard class S3?
1 byte
1 MB
0 bytes
1 KB
C
- You’ve just created a new S3 bucket named ytmProfilePictures in the US East 2 region and created a folder at the root level of the bucket called images/. You’ve turned on website hosting and asked your content team to upload images into the images/ folder. At what URL will these images be available through a web browser?
https: //s3-us-east-2.amazonaws.com/ytmProfilePictures/images
https: //s3-website-us-east-2.amazonaws.com/ytmProfilePictures/images
https: //ytmProfilePictures.s3-website-us-east-2.amazonaws.com/images
https: //ytmProfilePictures.s3-website.us-east-2.amazonaws.com/images
C
- You have an S3 bucket and are working on cost estimates for your customer. She has asked you about pricing of objects stored in S3. There are currently objects in the buckets ranging from 0 bytes to over 1 GB. In this situation, what is the smallest file size that S3-IA will charge you for?
1 byte
1 MB
0 bytes
128 KB
D
- Which of the following items are included in an Auto Scaling Launch Configuration? (Choose two.)
The AMI to use for creating new instances
The EBS storage volume for the instances to create
The polling time for monitoring network latency
The IAM role to associate with created instances
AD
- How does AWS allow you to add metadata to your EC2 instances? (Choose two.)
Certificates
Tags
Policies
Labels
AB
22 Where are individual EC2 instances provisioned?
In a specific region
In a specific availability zone
In a random availability zone within a specified region
It depends upon the region.
B
23 Which of the following can be deployed across availability zones?
Cluster placement groups
Placement groups
Spread placement groups
Cross-region placement groups
C
- In what manner are EBS snapshots backed up to S3?
Via full backup according to the backup policy set on the volume
Incrementally
Synchronously
EBS volumes are not stored on S3.
B
- Which of the following services is used at an on-premises site to build a site-to-site VPN connection?
Storage gateway
Virtual private gateway
Customer gateway
Virtual private network
C
- What is the anchor on the AWS side of a site-to-site VPN connection between an on-premises site and AWS?
IPSec tunnel
Virtual private gateway
Customer gateway
VPC
B
- How many tunnels for network traffic are involved when a customer gateway connects to an AWS VPC via an AWS-managed VPN connection?
One
Two
Three
It depends on the settings in the AWS VPC.
B
- You are setting up a site-to-site VPN from an on-premises network into an AWS VPC. Which of the following are steps you may need to perform? (Choose two.)
Set up a public IP address for the customer gateway.
Set up a public IP address for the AWS VPC.
Set up a public IP address for the virtual private gateway.
Set up a public IP address for the VPN tunnels.
AC
- Which of the following are valid options for storage gateways? (Choose two.)
File gateway
Volume gateway
Cached gateway
Virtual private gateway
AB
- You are helping a medium-sized business migrate its large datasets to the cloud. However, the business has limited resources and has long used a tape backup system. It does not want to lose the investment in the software and systems that already have been configured to use this backup system. Which storage gateway would you recommend?
File gateway
Cached volume gateway
Stored volume gateway
Tape gateway
D
- You are tasked with prototyping a cloud-based storage solution for a small business. The business’s chief concern is low network latency, as its systems need near-instant access to all of its datasets. Which storage gateway would you recommend?
File gateway
Cached volume gateway
Stored volume gateway
Tape gateway
C
- You are the solutions architect for a mapping division that has inherited a massive geospatial dataset from a recent acquisition. The data is all on local disk drives, and you want to transition the data to AWS. With datasets of over 10 TB, what is the best approach to getting this data into AWS?
S3 with Transfer Acceleration
Cached volume gateway
Snowball
Shipping the drives to AWS
C
- Which of the following are not reasons to use a cached volumes storage gateway? (Choose two.)
You want low-latency access to your entire dataset.
You want to reduce the cost of on-site storage.
You want to support iSCSI storage volumes.
You want low-latency access to your most commonly accessed data.
AC
- Which of the following storage gateway options is best for traditional backup applications?
File gateway
Cached volume gateway
Stored volume gateway
Tape gateway
A
- Which of the following storage gateway options is best for applications where latency of your entire dataset is the priority?
File gateway
Cached volume gateway
Stored volume gateway
Tape gateway
C
- Which of the following storage gateway options is best for reducing the costs associated with an off-site disaster recovery solution?
File gateway
Cached volume gateway
Stored volume gateway
Tape gateway
D
- What is the availability of S3 One Zone-IA?
- 5%
- 9%
- 99%
- 999999999%
A
- For which of the following storage classes do you need to specify an availability zone?
S3
S3-IA
S3 One Zone-IA
None of the above
D
- Which of the following are true about S3 data access when traffic spikes (increases)? (Choose two.)
S3 will scale to handle the load if you have Auto Scaling set up.
S3 will scale automatically to ensure your service is not interrupted.
Scale spreads evenly across AWS network to minimize the effect of a spike.
A few instances are scaled up dramatically to minimize the effect of the spike.
BC
- You have been tasked with helping a company migrate its expensive off-premises storage to AWS. It will still primarily back up files from its on-premises location to a local NAS. These files then need to be stored off-site (in AWS rather than the original off-site location). The company is concerned with durability and cost and wants to retain quick access to its files. What should you recommend?
Copying files from the NAS to an S3 standard class bucket
Copying files from the NAS to an S3 One Zone-IA class bucket
Copying the files from the NAS to EBS volumes with provisioned IOPS
Copying the files from the NAS to Amazon Glacier
B
- How many S3 buckets can you create per AWS account, by default?
25
50
100
There is not a default limit.
C
- How are objects uploaded to S3 by default?
In parts
In a single operation
You must configure this option for each S3 bucket explicitly.
Via the REST API
B
- When does AWS suggest you start uploading objects via the Multipart Upload API?
When you’re uploading a lot of files at once
When you’re uploading files of 10 GB or more
When you have multiple applications uploading files to the same S3 bucket
When you need the greatest network throughput for uploads
B
- Which of the following are the ways you should consider using Multipart Upload?
For uploading large objects over a stable high-bandwidth network to maximize bandwidth
For uploading large objects to reduce the cost of ingress related to those objects
For uploading any size files over a spotty network to increase resiliency
For uploading files that must be appended to existing files
AC
- How is a presigned URL different from a normal URL? (Choose two.)
A presigned URL has permissions associated with certain objects provided by the creator of the URL.
A presigned URL has permissions associated with certain objects provided by the user of the URL.
A presigned URL allows access to private S3 buckets without requiring AWS credentials.
A presigned URL includes encrypted credentials as part of the URL.
AC
- Which of the following can be put behind a presigned URL?
An S3 object store
An EC2 instance with a web interface
An AWS CloudFront distribution
All of the above
D
- How long is a presigned URL valid?
60 seconds
60 minutes
24 hours
As long as it is configured to last
D
- What is the consistency model in S3 for PUTs of new objects?
Write after read consistency
Read after write consistency
Eventual consistency
Synchronous consistency
B
- How many PUTs per second does S3 support?
100
1500
3500
5000
C
- What are the two styles of URLs that AWS supports for S3 bucket access? (Choose two.)
Virtual-hosted-style URLs
Domain-hosted-style URLs
Apex zone record URLs
Path-style URLs
AD
- What is an AWS storage gateway?
A device to reside at a customer site that is part of a VPN connection between an on-premises site and AWS
A device that enables an on-premises site to upload files to S3 faster than over the public Internet
A device to facilitate large data migrations into S3
A device that can be used to cache S3-stored objects at an on-premises site
D. AWS storage gateway is a virtual appliance that allows on-premises sites to interact with S3 while still caching (in certain configurations) data locally.
- Which of the following statements is not true about an AWS storage gateway?
It is a virtual appliance.
It is available as both a physical and virtual appliance.
It caches data locally at a customer site.
It interacts with S3 buckets.
B
- Which of the following are not true about S3? (Choose two.)
Buckets are created in specific regions.
Bucket names exist in a per-region namespace.
Buckets are object-based.
Each S3 bucket stores up to 5 TB of object data.
BD
- Which of the following consistency models are supported by S3? (Choose two.)
Read after write consistency
Synchronous consistency
Write after read consistency
Eventual consistency
AC
- Which of the following is the best approach to ensuring that objects in your S3 buckets are not accidentally deleted?
Restrictive bucket permissions
Enabling versioning on buckets
Enabling MFA Delete on buckets
All of these options are equally useful.
C
- What HTTP request header is used by MFA Delete requests?
x-delete
x-amz-mfa
x-aws-mfa
x-amz-delete
B
- Which of the following operations will take advantage of MFA Delete, if it is enabled? (Choose two.)
Deleting an S3 bucket
Changing the versioning state of a bucket
Permanently deleting an object version
Deleting an object’s metadata
B, C. MFA Delete applies to deleting objects, not buckets (so option A is incorrect). It affects changing the versioning state of a bucket or permanently deleting any object (or a version of that object); this makes B and C correct. Deleting an object’s metadata while leaving the object intact does not require MFA Delete.
- Who can enable MFA Delete on an S3 bucket?
All authorized IAM users of the bucket
All authorized IAM users that can update the bucket
The bucket owner
The root account that owns the bucket
D
- Which of the following exist and are attached to an object stored in S3? (Choose two.)
Metadata
Data
Authentication ID
Version history
AB
- Which of the following is the AWS mechanism for adding object metadata using the AWS console?
Labels
Tags
Metadata
Object name
C
- Which of the following is the exception to S3 storing all versions of an object?
When an object is deleted via MFA Delete
When all of the versions of an object are deleted
When an object’s current version is deleted
There are no exceptions.
D
- CloudFront is a web service for distributing what type of content? (Choose two.)
Object-based storage
Static files
Script-generated or programmatically generated dynamic content
All of the above
BC
- Which of the following are not origin servers for a CloudFront distribution? (Choose two.)
Docker containers running on ECS
MySQL ResultSet
S3 buckets
Redshift workloads
BD
- Which of the following are not origin servers for a CloudFront distribution? (Choose two.)
Elastic load balancer
Route 53 recordsets
SQS subscription endpoint
SNS topic retrieval endpoint
CD
CloudFront is able to distribute content from an ELB, rather than directly interfacing with S3, and can do the same with a Route 53 recordset. These allow the content to come from multiple instances. This means that options C and D are invalid origin servers and therefore the correct answers.
- What is a collection of edge locations called?
Region
Availability zone
CloudFront
Distribution
D
- Which of the following are true about edge locations? (Choose two.)
Edge locations are readable.
Edge locations are read-only.
Edge locations are write-only.
Edge locations are writable.
AD
- To which of the following can objects be written? (Choose two.)
Edge locations
EC2 instances
S3 buckets
Availability zones
AC
- What does TTL stand for?
Time to Live
Total Time to Live
Total traffic life
Traffic total life
A
- You support a web application that uses a CloudFront distribution. A banner ad that was posted the previous night at midnight has an error in it, and you’ve been tasked with removing the ad so that users don’t see the error. What steps should you take? (Choose two.)
Delete the banner image from S3.
Remove the ad from the website.
Wait for 24 hours and the edge locations will automatically expire the ad from their caches.
Clear the cached object manually.
BD
106. By default, how long do edge locations cache objects? 12 hours 24 hours 48 hours 360 minutes
B
- How are datasets utilized by stored volumes backed up to S3?
Asynchronously
Synchronously
The backup method is specified by the user at configuration time.
Synchronously unless the backup takes more than 2 seconds; then the backup switches to asynchronous
A
- Which of the following is equivalent to a tape volume?
VTL
VPC
NetBackup
VPN
A