Practice Questions Flashcards
You work in the security industry for a large consultancy. A new customer of yours runs a production environment in AWS and they require a log of all API calls made to their Elastic Load Balancer. How can you achieve this?
Enable Cloud Trail on the ELB
True or False: Amazon will always have root level SSH access in to your EC2 instances.
False
You have a static HTML website that requires inexpensive, highly available hosting solution that scales automatically to meet traffic demands. Which AWS service would best suit this requirement?
S3 Static Website Hosting
True or False: You should expect the same latency and throughput performance as Amazon S3 Standard when using Standard - IA.
True
You have a website that allows users in third world countries to store their important documents safely and securely online. Internet connectivity in these countries is unreliable, so you implement multipart uploads to improve the success rate of uploading files. This works well, however you notice that when an object is not uploaded successfully, incomplete parts of that object are still being stored in S3 and you are still being charged for those objects. What S3 service can you implement to expire incomplete multipart uploads?
S3 Lifecycle Policies
What is the durability of S3 - IA?
99.999999999% (Eleven 9’s).
What is the minimum time interval granularity for the data that Amazon CloudWatch receives and aggregates?
1 Minute
True or False: S3 does not support website redirects.
False
You need to automatically migrate objects from one S3 storage class to another based on the age of the data. What S3 service can you use to achieve this?
Lifecycle Management
You work for an electric car company that has its front end website on EC2. Company policy dictates that you must retain a history of all EC2 API calls made on your account for security analysis and operational troubleshooting purposes. What AWS service can assist you with this?
CloudTrail
True or False: An Amazon Cluster Placement Group can be stretched across multiple availability zones?”
False - a placement group can only exist within 1 availability zone.
Your three AWS accounts (A, B and C) share data. In an attempt to maximize performance between the accounts, you place all the instances for these accounts in ‘eu-west-1b’. During testing, you find almost no transfer latency between accounts A and B, but significant latency between accounts B and C, and accounts C and A. Which of the following possibilities is the most likely source of the problem?
The names of the AZs are randomly applied, so ‘eu-west-1b’ is not the same location for all three accounts.
True or False: You can use S3 Transfer Acceleration with multipart uploads.
TRUE, You can use S3 Transfer Acceleration with multipart uploads.
You have built an online dating application that allows users to send and receive photos as they court each other. You need to secure this data and you need to implement server-side encryption to protect this data. You decide that you want server-side encryption provided by Amazon. You will also need to have an audit trail so you can see who used your key to access which object and when, as well as view failed attempts to access data from users without permission to decrypt the data. What out of the box Amazon solution would enable you to achieve this?
SSE-KMS - AWS KMS provides an audit trail so you can see who used your key to access which object and when, as well as view failed attempts to access data from users without permission to decrypt the data.
Which of the following is NOT a valid EC2 instance type? - D2, C4, M3, Z2
D2, C4, M3 are all valid EC2 instances. https://aws.amazon.com/ec2/instance-types/
You work for a large insurance company that has issued 10,000 insurance policies. These policies are stored as PDFs. You need these policies to be highly available and company policy says that the data must be able to survive the simultaneous loss of two facilities. What storage solution should you use?
Your best solution would be to use S3, which redundantly stores multiple copies of your data in multiple facilities and on multiple devices within each facility.
ou are a solutions architect working for a company that conducts surveys on specific industries. Each industry that you survey has its own EC2 fleet, separate from those of other industries. Company policy dictates that you should keep costs to a minimum, using only 1 load balancer, if possible. What type of load balancer should you use to suit this requirement?
You need an application-aware load balancer, so your best option would be to use an Application Load Balancer.
In the future, you will need to preserve, restore, and retrieve every version of every file that you have stored in AWS. Which service should you use?
ersioning allows you to preserve, retrieve, and restore every version of every object stored in an Amazon S3 bucket.
You need to restore an object from Glacier. What 2 ways can you accomplish this?
Because Amazon S3 maintains the mapping between your user-defined object name and Amazon Glacier’s system-defined identifier, Amazon S3 objects that are stored using the Amazon Glacier option are only accessible through the Amazon S3 APIs or the Amazon S3 Management Console.
What is the Uptime SLA for Amazon EC2 and EBS within a given region?
Amazon’s SLA guarantees a Monthly Uptime Percentage of at least 99.95% for Amazon EC2 and Amazon EBS within a Region.
What is the minimum object size for S3 - IA?
Standard - IA is designed for larger objects and has a minimum object size of 128KB. Objects smaller than 128KB in size will incur storage charges as if the object were 128KB.
You have designed an application that stores large videos in S3. These videos are usually larger than 100Mb in size. You need to maximize upload performance. Select two answers that will achieve this end.
Multipart Upload is recommended for files greater than 100 Mb, and is required for files 5 GB or larger. S3 Transfer Accelearation is especially useful in cases where your bucket resides in a Region other than the one in which the file transfer was originated.
You have an application that uses S3 to store objects. Company policy dictates that certain objects (such as JPGs and PDF’s) must be replicated to another region for redundancy. However, some objects (such as Word files) can stay in a single region. Company policy also dictates that you should use as few buckets as possible. How should you architect this solution?
You can use just one bucket and enable CRR on just a subset of uploaded objects (such as JPGs and PDF’s) by using specifying prefixes.
You back the files that exist on an in-house SAN to S3. You need to minimize cost, however company policy states that objects must be instantly accessible. What S3 storage class should you use?
The best solutions for instant access, but lowest cost would be S3 - Infrequently Accessed storage.
You need to implement a new web application which allows users to store family photos online in such a way that only invited guests will be able to view the images. Which type of S3 encryption should you choose to maintain full end-to-end control of the encryption/decryption of objects and assure that only encrypted objects are transmitted over the Internet to Amazon S3.
Using an encryption client library, such as the Amazon S3 Encryption Client, you retain control of the keys and complete the encryption and decryption of objects client-side using an encryption library of your choice. Some customers prefer full end-to-end control of the encryption and decryption of objects; that way, only encrypted objects are transmitted over the Internet to Amazon S3.
True or False: Classic ELB’s support IPv6 as well as IPv4.
Each Classic Load Balancer has an associated IPv4, IPv6, and dualstack (both IPv4 and IPv6) DNS name. However, IPv6 is not supported in VPC at this time.
Your company has a legacy SAN that has 75 TB’s of data. Your company has decided that they want to migrate this data to AWS S3 in the quickest way possible. You company has a single comms line with a maximum pipe line of 50Mbps Which service should you consider using?
Due to the size of the data and the small comms line, Snowball would be the fastest option available.
Which EC2 operating system is NOT supported by CloudWatch
None. All EC2 operating systems are supported by CloudWatch.
How can you securely upload or download your data to/from the S3 service?
SSL endpoints using the HTTPS protocol
(Correct)
ou can securely upload/download your data to/from Amazon S3 via SSL or HTTP endpoints using HTTPS.
Which types of server side encryption are available for S3? (Choose all that apply.)
You can choose to encrypt data using SSE-S3, SSE-C, SSE-KMS, or a client library such as the Amazon S3 Encryption Client. All four enable you to store sensitive data encrypted at rest in Amazon S3.
Your legal company is moving its production estate to AWS. They currently have a private cloud platform with VMDK files as their virtual machines. You need to move these files to AWS and create EC2 instances using the VMDK files. Which AWS service would help you achieve this goal?
VM Import/Export is designed to help you do exactly that.
You are running a Cassandra database that requires access to tens of thousands of low latency IOPS. What EC2 instance family would best suit your needs?
High I/O instances use SSD-based local instance storage to deliver very high, low latency, I/O capacity to applications, and are optimized for applications that require tens of thousands of IOPS.
You are creating an application that will leverage EC2 for its webservers. The application data will be stored on the root device volume attached to the EC2 instance. Data on this volume must persist independently of the life of this particular instance. What EC2 volume should you choose?
By using Amazon EBS, data on the root device will persist independently from the lifetime of the instance.
What is the availability of S3 - IA
S3 - IA is 99.9% available. Do not confuse availability with durability.
You run a security company which stores highly sensitive PDF’s on S3 with versioning enabled. To ensure MAXIMUM protection of your objects to protect against accidental deletion, what further security measure should you consider using?
If you enable Versioning with MFA Delete on your Amazon S3 bucket, two forms of authentication are required to permanently delete a version of an object: your AWS account credentials and a valid six-digit code and serial number from an authentication device in your physical possession.
You work for a security company that stores highly sensitive documents on S3. One of your customers has had a security breach and, as a precaution, they have asked you to remove a sensitive PDF from their S3 bucket. You log in to the AWS console using your account and attempt to delete the object. You notice that versioning is turned on, and when you dig a little deeper you discover that you cannot delete the object. What may be the cause of this?
Only the owner of an Amazon S3 bucket can permanently delete a version.
True or False: You can use your existing Microsoft Windows Server licenses with an Amazon EC2 shared tenancy instance.
FALSE. A Dedicated Host is required if you’d like to use your existing Windows Server licenses.
By default, how many Elastic IP addresses are you limited to per region?
5
(Correct)
By default, all accounts are limited to 5 Elastic IP addresses per region.
True or False: EBS Snapshots are versioned and you can read an older snapshot to do a point-in-time recovery?
The answer is TRUE. Each snapshot is given a unique identifier, and customers can create volumes based on any of their existing snapshots.
You have an extremely high performance compute application that you need to deploy to AWS. You will need extremely low-latency network performance to allow node-to-node communication between your EC2 instances. You will also need a minimum network speed of 10 Gbps in order for your application to work. How should you deploy your instances?
Amazon EC2 cluster placement group functionality allows users to group Cluster Compute Instances in clusters – allowing applications to get the low-latency network performance necessary for tightly-coupled node-to-node communication typical of many HPC applications.
By default, how many S3 buckets can you have with a new AWS account?
25
By default, customers can provision up to 100 buckets per AWS account. However, you can increase your Amazon S3 bucket limit by visiting AWS Service Limits.
Which of the following operating systems is NOT supported by EC2
OSX is not supported on EC2
You have developed a file-sharing website for a large corporate entity. They require that the site has regional redundancy. Which S3 service should you use to achieve this?
S3 with Cross-Region Replication (CRR) automatically replicates data across AWS regions. With CRR, every object uploaded to an S3 bucket is automatically replicated to a destination bucket in a different AWS region that you choose.
You have been load testing a customers new production environment. You create the environment using CloudFormation and you utilize CloudWatch to monitor the environment. After extensive load testing, you are ready to hand the cloudformation template over to your customer. You delete the environment and give your customer the CloudFormation template. However, they now want to see the results of the load test. How long does CloudWatch store the metrics for EC2 & ELB after deleting those resources?
Amazon CloudWatch stores metrics for terminated Amazon EC2 instances or deleted Elastic Load Balancers for 2 weeks.
Which of the following statements is TRUE.
You are able to attach multiple EBS volumes to an EC2 instance.
Correct
You are able to attach multiple EBS volumes to an EC2 instance is True.
What are the two different types of virtualization available on AWS?
The two different types of virtualzation available are Hardware Virtual Machine (HVM) & Paravirtual Machine (PVM)
You’ve been tasked with implementing a globally accessible storage solution that will scale from a few terabytes (now) to an unknown, but significantly greater, volume of data in three years time. Which AWS service would best meet your current and projected storage needs?
Amazon S3 is highly scalable, secure storage for “flat” files. S3 will scale to any projected volume of data. In this case, it’s your best bet.
Your large scientific organization needs to use a fleet of EC2 instances to perform high performance, CPU intensive calculations. Your boss asks you to choose an instance type that would best suit the needs of your organization. Which of the following instance types should you recommend?
C instanes are recommended for high performance front-end fleets, web-servers, batch processing, distributed analytics, high performance science and engineering applications, ad serving, MMO gaming, and video-encoding. The best answer would be to use a C4 instance.
You have an application that stores data in S3, and you need to design an integrated solution providing encryption at rest. You want Amazon to handle key management and protection using multiple layers of security. Which S3 encryption option should you use?
SSE-S3 uses managed keys and one of the strongest block ciphers available, AES-256, to secure your data at rest.
You have an application that allows people in very remote locations to store their files safely and securely. You need to leverage Amazon CloudFront’s globally distributed AWS Edge Locations so that as data arrives at an AWS Edge Location the data is routed to your Amazon S3 bucket over an optimized network path. Which service should you use?
Amazon S3 Transfer Acceleration enables fast, easy, and secure transfers of files over long distances between your client and your Amazon S3 bucket. Transfer Acceleration leverages Amazon CloudFront’s globally distributed AWS Edge Locations.
Which protocols is supported with an Elastic Load Balancer
Amazon’s ELB supports the following protocols - “HTTP, HTTPS, TCP, SSL”
CRR replicates every object-level upload that you make directly to your source bucket. Which of the following also forms a part of that replication?
CRR replicates every object-level upload that you directly make to your source bucket. The metadata and ACLs associated with the object are also part of the replication.