Deck 1 Flashcards
How much data can be stored on S3
Unlimited
An object can be of any size ranging from 1 byte to
5 TB
The largest object that can be uploaded in a single PUT is
5 GB
What does cloudformation not support
Amazon Glacier
The AWS Storage Gateway is
a service connecting an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization’s on-premises IT environment and AWS’s storage infrastructure.
What kind of security is used on Amazon Glacier
Amazon Glacier is protected using serverside encryption. AWS generates separate unique encryption keys for each Amazon Glacier archive, and encrypts it using AES-256. The encryption key then encrypts itself using AES-256 with a master key that is stored in a secure location.
In Amazon Glacier, the volume of storage billed in a month is based on the average storage used throughout the month, measured in
Gigabyte months
Amazon Glacier prepares an inventory for each vault periodically, every _______. If there have been no archive additions or deletions to the vault since the last inventory, _______________________
24 Hours
The inventory date is not updated
There is no maximum limit to the total amount of data that can be stored in Amazon Glacier. Individual archives are limited to a maximum size of
40 Terabytes
What is the limit of Glacier - Total Number of Archivers or Total Volume of archives
Neither
Archives stored in Amazon Glacier are immutable which means
archives can be uploaded and deleted but cannot be edited or overwritten.
What happens when the user requests to restore an S3 object archived in Glacier?
AWS S3 creates temporary copy of the object in RRS.
For customers who have architected complex transactional databases using EBS, it is recommended that
backups to Amazon S3 be performed through the database management system so that distributed transactions and logs can be checkpointed
AWS Import/Export supports:
Import to Amazon S3
Export from Amazon S3
Import to Amazon EBS
Import to Amazon Glacier
AWS Import/Export does not currently support
export from Amazon EBS or Amazon Glacier.
In Amazon Glacier, which operations require programming?
In Amazon Glacier, any archive operation, such as upload, download, and delete, requires programming. There is no console support for archive operations.
Some services support resource-based permissions, which let you attach policies to the service’s resources instead of to IAM users or groups which services are these?
Resource-based permissions are supported by Amazon S3, Amazon SNS, and Amazon SQS.
AWS S3 provides multiple options to achieve the protection of data at REST. The options include
Configurable Protections Permission (Policy), Encryption (Client and Server Side), Bucket Versioning MFA based delete. Automatic Protections Replication across all availability zones
What does s3 stand for
Simple Storage Service
How do you allow anyone to access your S3 bucket
use an Amazon S3 bucket policy that specifies a wildcard (*)
Using multipart upload provides the following advantages:
Improved throughput—You can upload parts in parallel to improve throughput.
Quick recovery from any network issues—Smaller part size minimizes the impact of restarting a failed upload due to a network error.
Pause and resume object uploads—You can upload object parts over time. Once you initiate a multipart upload there is no expiry; you must explicitly complete or abort the multipart upload.
Begin an upload before you know the final object size—You can upload an object as you are creating it.
You have been given a scope to set up an AWS Media Sharing Framework for a new start up photo sharing company similar to flickr. The first thing that comes to mind about this is that it will obviously need a huge amount of persistent data storage for this framework. Which of the following storage options would be appropriate for persistent storage?
Persistent storage—If you need persistent virtual disk storage similar to a physical disk drive for files or other data that must persist longer than the lifetime of a single Amazon EC2 instance, Amazon EBS volumes or Amazon S3 are more appropriate
How are you billed for Virtual Tape Shelf usage on Glacier
You are billed for the virtual tape data you store in Amazon Glacier. You are only billed for the portion of virtual tape capacity that you use, not for the size of the virtual tape.
For Amazon Web Services, the Web identity federation allows you to create cloud-backed mobile apps that
use public identity providers, such as login with Facebook, Google or Amazon
You are designing a web application that stores static assets in an Amazon Simple Storage Service (S3) bucket.
You expect this bucket to immediately receive over 150 PUT requests per second.
What should you do to ensure optimal performance?
Add a random prefix to the key names.
A client application requires operating system privileges on a relational database server.
What is an appropriate configuration for highly available database architecture?
Not RDS - no operating system privileges
A Solutions Architect is designing a web application. The web and application tiers need to access the Internet, but they cannot be accessed from the Internet.
Which of the following steps is required?
Launch a NAT gateway in the public subnet and add a route to it from the private subnet.
An Administrator is hosting on application on a single Amazon EC2 instance, which users can access by the public hostname. The administrator is adding a second instance, but does not want users to have to decide between many public hostnames.
Which AWS service will decouple the users from specific Amazon EC2 instances?
Auto Scaling group
You are launching an application in an Auto Scaling group. To store the user session state, you need a structured storage service with durability and low latency.
Which service meets your needs?
Amazon DynamoDB
A Solutions Architect is designing a three-tier web application that includes an Auto Scaling group of Amazon EC2 Instances running behind an ELB Classic Load Balancer. The security team requires that all web servers must be accessible only through the Load Balancer and that none of the web servers are directly accessible from the Internet.
How should the Architect meet these requirements?
Create an Amazon CloudFront distribution in front of the ELB Classic Load Balancer
A company has a workflow that sends video files from their onpremise system to AWS for Trans coding. They use EC2 worker instances that pull Trans coding jobs from SQS an appropriate service for this scenario?
SQS helps to facilitate horizontal scaling of encoding tasks
A photo sharing service stores pictures in Amazon Simple Storage Service (S3) and allows application signin using an Open ID Connect compatible identity provider. Which AWS Security Token approach to temporary access should you use for the Amazon S3 operations?
SAML-based identity Federation
A company has reproducible data that they want to store on Amazon Web Services. The company may want to retrieve the data on a frequent basis. Which Amazon web services storage option allows the customer to optimize storage costs and still achieve high availability for their data?
Amazon S3 Reduced Redundancy Storage
A Solutions Architect is designing an application in AWS. The Architect must not expose the application or database tier over the Internet for security reasons. The application must be low-cost and have a scalable front end. The databases and application tier must have only one-way Internet access to download software and patch updates Which solution helps to meet these requirements?
Use an ELB Classic Load Balancer as the front end for the application tier, and a NAT Gateway to allow Internet access for private resources
Application Load Balancers, Network Load Balancers, and Classic Load Balancers. There is a key difference between the way you configure these load balancers
With Application Load Balancers and Network Load Balancers, you register targets in target groups, and route traffic to the target groups. With Classic Load Balancers, you register instances with the load balancer.
A customer owns a MySQL database that is accessed by various clients who expect, at most 100 ms latency on requests. Once a record is stored in the database, it is rarely changed Clients only access one record at a time.
Database access has been increasing exponentially due to increased client demand. The resultant load will soon exceed the capacity of the most expensive hardware available for purchase. The customer wants to migrate to AWS, and is willing to change database systems.
Which service would alleviate the database load issue and offer virtually unlimited scalability for the future?
Amazon Redshift
What is the minimum interval for the data that Amazon CloudWatch receives and aggregates?
1 Minute
Your Amazon RDS MySQL DB instance runs on the largest available instance type. The DB instance runs at near capacity for CPU and network bandwidth. You expect traffic to increase and are looking for ways you can continue to scale your database. Which strategies allow you to continue to scale and take on more traffic?
D. Create a read replica of the master database in another Availability Zone (needs to be another AZ); configure the app to send read-only calls to the replica.
E. Create an Amazon Elasticache cluster; configure the app to retrieve frequently accessed data and queries from the cache.
After launching an instance that you intend to serve as NAT (Network Address Translation) device in a public subnet you modify your route tables to have the NAT device be the target of internet bound traffic of your private subnet. When you try and make an outbound connection to the internet from an instance in the private subnet, you are not successful. Which of the following steps could resolve the issue?
A. Disabling the Source/Destination check attribute on the NAT instance
If you choose to create a NAT gateway in your VPC, you are charged for
each “NAT Gateway-hour” that your NAT gateway is provisioned and available
Data transfer costs for transferring data in the same region and within the same availability zone are zero, with one caveat
you must be using a private IP address.
When an EC2 EBSbackend (EBS root) instance is stopped. What happens to the data on any Ephemeral store volumes?
Data will be deleted and will no longer be accessible
A customer’s security team requires the logging of all network access attempts to Amazon EC2 instances in their production VPC on AWS.Which configuration will meet the security team’s requirement?
Enable VPC Flow Logs for the production VPC.
A company collects click-stream data from amazon EC2 instances that are in an auto scaling group. The age data feeds a centralized dashboard and is critical to the company’s business. Which method will help ensure data is collected before an auto scaling policy terminates an instance from the auto scaling group?
Use Auto Scaling lifecycle hooks
You are designing a scalable web application with stateless web servers. Which service or feature is well suited to store user session information?
Amazon EC2 instance store
A company has a popular multi-player mobile game hosted in its on-premises datacenter. The current infrastructure can no longer keep up with demand end the company is considering a move to the cloud.
Which solution should a Solutions Architect recommend as me MOST scalable and cost- effective solution to meet these needs?
Amazon EC2 and an Application Load Balancer
A customer has a public-facing web application hosted on a single amazon Elastic compute Cloud (EC2) instance and serving videos directly from an amazon simple storage service bucket. Which of the following will restrict third parties from directly accessing the video assets in the bucket?
Use a bucket policy to only allow the public IP address of the Amazon EC2 instance hosting the customer website
You need a solution to distribute traffic across all the containers for a task running on Amazon ECS. Your task definitions define dynamic host port mapping for your containers.
What AWS feature provides this functionality?
Application Load Balancers support dynamic host port mapping
You are running a web application with four Amazon EC2 instances across two Availability Zones. The instances are in an Auto Scaling group behind an ELB Classic Load Balancer. A scaling event adds one instance to the group. After the event, you notice that, although all instances are serving traffic, some instances are serving more traffic than others.
Which of the following could be the problem?
Cross-zone load balancing is not configuring on the ELB Classic Load Balancer
You are working with a customers who is using chef configuration management in their data center. Which service is designed to let the customer leverage existing chef recipes in AWS?
AWS OpsWorks
A company has a workflow that uploads video files from their data center to AWS for transcoding. They use Amazon EC2 worker instances that pull transcoding jobs from SQS.
Why is SQS an appropriate service for this scenario?
SQS checks the health of the worker instances.
A Solutions Architect is designing a solution for a media company that will stream large amounts of data from an Amazon EC2 instance. The data streams are typically large and sequential, and must be able to support up to 500 MB/s.
Which storage type will meet the performance requirements of this application?
EBS Throughput Optimized HDD
A retail company has sensors placed in its physical retail stores. The sensors send messages over HTTP when customers interact with in-store product displays. A Solutions Architect needs to implement a system for processing those sensor messages; the results must be available for the Data Analysis team.
Which architecture should be used to meet these requirements?
Implement an Amazon API Gateway to server as the HTTP endpoint. Have the API Gateway trigger an AWS Lambda function to process the messages, and save the results to an Amazon DynamoDB table.
Can a placement group be deployed across multiple availability zones?
Yes
You can launch or start instances in a placement group, which determines how instances are placed on underlying hardware. When you create a placement group, you specify one of the following strategies for the group
Cluster – clusters instances into a low-latency group in a single Availability Zone
Partition – spreads instances across logical partitions, ensuring that instances in one partition do not share underlying hardware with instances in other partitions
Spread – spreads instances across underlying hardware
The Trusted Advisor service provides insight regarding which four categories of an AWS account?
Performance, cost optimization, security, and fault tolerance
A company has an application that uses Amazon CloudFront for content that is hosted on an Amazon S3 bucket. After an unexpected refresh, the users are still seeing old content. Which step should the Solutions Architect take to ensure that new content is displayed?
Change the TTL value tor removing the old objects.
You are deploying an application to track GPS coordinates of delivery trucks in the United States. Coordinates are transmitted from each delivery truck once every three seconds. You need to design an architecture that will enable real-time processing of these coordinates from multiple consumers. Which service should you use to implement data ingestion?
Amazon Kinesis
A Solutions Architect needs a storage solution for a fleet of Linux web application servers. The solution should provide file system interface and be able to support millions of files. Which AWS service should the Architect choose?
Amazon Elastic File System
A Solutions Architect needs to convert potential single points of failure to a highly-available configuration.
The current architecture contains Amazon EC2 instances with databases running in one Availability Zone.
Web-tier resources have not been given public addresses, but still require Internet access.
Which solution should the Architect use to maintain high availability?
Use ELB Classic Load Balancer with the web tier. Deploy EC2 instances in two Availability Zones and enable Multi-AZ RDS Deploy NAT gateways in both Availability Zones
Which services natively encrypts data at rest within an AWS region? Choose 2 answers
Amazon Glacier
AWS storage Gateway
A popular e-commerce application runs on AWS. The application encounters performance issues. The database is unable to handle the amount of queries and load during peak times. The database is running on the RDS Aurora engine on the largest instance size available.
What should an administrator do to improve performance?
Convert the database to use EBS Provisioned IOPS.
A Solution Architect is trying to bring a data warehouse workload to an Amazon EC2 instance.
The data will reside in Amazon EBS volumes and full table scans will be executed frequently. What type of Amazon AWS EBS volume would be most suitable in this scenario?
General Purpose SSD (BUT WHY?)
A company wants to migrate a highly transactional database to AWS Requirements state that the database has more than 6 TB of data and will grow exponentially.
Which solution should a Solutions Architect recommend?
Amazon Aurora
Your company has set up an application in eu-west1 with a disaster recovery site in eu-central-1. You want to be notified of any AWS API activity in regions other than these two.
How can you monitor AWS API activity in other regions?
Create a CloudWatch alarm for CloudTrail events
You are building a solution for a customer to extend their on-premises data centre to AWS. The customer requires a 50-Mbps dedicated and private connection to their VPC. Which AWS product or feature satisfies this requirement?
AWS Direct Connect
A Solutions Architect is building an application on AWS that will require 20,000 IOPS on a particular volume to support a media event. Once the event ends, the IOPS need is no longer required. The marketing team asks the Architect to build the platform to optimize storage without incurring downtime.
How should the Architect design the platform to meet these requirements?
Change the EBS volume type to Provisioned IOPS.
What is AWS STS?
AWS Security Token Service
Name 2 security functions that are based on AWS STS?
- Using Web federated identity to authenticate users
2. Using access keys to authenticate IAM users
If you have an s3 endpoint in your VPC does this mean that no systems outside of your VPC can access the endpoint
No - the default policy allows full access to all AWS buckets and does not change the existing access to the buckets
What is Amazon Athena?
A service that queries log files in a similar way to SQL
A company has an application that uses Amazon CloudFront for content that is hosted on an Amazon S3 bucket. After an unexpected refresh, the users are still seeing old content. Which step should the Solutions Architect take to ensure that new content is displayed?
Change the TTL value tor removing the old objects.
You’re building an API backend available at services.yourcompany.com. The API is implemented with API Gateway and Lambda. You successfully tested the API using curl. You implemented JavaScript to call the API from a webpage on your corporate website, www.yourcompany.com. When you access that page in your browser, you get the following error:
“The same origin policy disallows reading the remote resource”
How can you allow your corporate webpages to invoke the API?
Enable CORS in the API Gateway
A bank is writing new software that is heavily dependent upon database transactions for write consistency. The application will also occasionally generate reports on data in the database, and will do joins across multiple tables. The database must automatically scale as the amount of data grows.
Which AWS service should be used to run the database?
Amazon DynamoDB
S3 provides read-after-write consistency for any type of PUT or DELETE. True or False?
False
S3 provides eventual consistency for overwrite PUTS and DELETES.
A Solutions Architect is designing a mobile application that will capture receipt images to track expenses. The Architect wants to store the images on Amazon S3. However, uploading images through the web server will create too much traffic. What is the MOST efficient method to store images from a mobile application on Amazon S3?
Upload directly to S3 using a pre-signed URL
Your existing web application requires a persistent key-value store database that must service 50,000 reads/second. Your company is looking at 10% growth in traffic and data volume month over month for the next several years. Which service meets these requirements?
Amazon DynamoDB