AWS Practice Test 1 Flashcards
Your company has asked you to investigate the use of KMS for storing and managing keys in AWS. From the options listed below, what key management features are available in KMS?
Import your own keys, disable and re-enable keys and define key management roles in IAM.
You are a consultant planning to deploy DynamoDB across three AZs. Your lead DBA is concerned about data consistency. Which of the following do you advise the lead DBA to do?
To ask the development team to code for strongly a consistent reads. As the consultant, you will advise the VTO of the increased cost.
Which of the following AWS services allow native encryption of data, while at rest? [Select 3]
Elastic File System (EFS)
Elastic Block Store (EBS)
S3
Choose the features of Consolidated Billing. [Select 3]
Multiple standalone account are combined and may reduce your overall bill.
Account changes can be tracked individually.
A single bill is issued containing the changes for all AWS Accounts.
Your company has decided to set up a new AWS account for test and dev purposes. They already use AWS for production, but would like a new account dedicated for test and dev so as to not accidentally break the production environment. You launch an exact replica of your production environment using a CloudFormation template that your company uses in production. However, CloudFormation fails. You use the exact same CloudFormation template in production, so the failure is something to do with your new AWS account. The CloudFormation template is trying to launch 60 new EC2 instances in a single availability zone. After some research, you discover that the problem is ________.
For all new AWS accounts, there is a soft limit of 20 EC2 instances per region. You should submit the limit increase form and retry the template after your limit has been increased.
What is the maximum response time for a Business Level ‘production down’ Support Case?
1 hour
Which of the following database technologies are supported by RDS. [Select 3]
MariaDB
Oracle
Aurora
You are a solutions architect working for a biotech company who is pioneering research in immunotherapy. They have developed a new cancer treatment that may be able to cure up to 94% of cancers. They store their research data on S3. However, an intern recently deleted some critical files accidentally. You’ve been asked to prevent this from happening in the future. Which of the following solutions can be used to prevent accidental data loss?
Enable S3 versioning on the bucket & enable MFA Delete on the bucket.
When it comes to Security Groups within a custom VPC, which of the following statements are correct? [Select 2]
Security Groups are stateful.
Updates to security groups are applied immediately.
You are a developer at a fast-growing startup. Until now, you have used the root account to log in to the AWS console. However, as you have taken on more staff, you will need to stop sharing the root account to prevent accidental damage to your AWS infrastructure. What should you do so that everyone can access the AWS resources they need to do their jobs? [Select 2]
- Create individual user accounts with minimum necessary rights and tell the staff to log in to the console using the credentials.
- Create a customized sign-in link such as “yourcompany.signin.aws.amazon.com/console” for your new users to use to sign in with.
You have developed a new web application in us-west-2 that requires six Amazon Elastic Compute Cloud (EC2) instances running at all times. You have three availability zones available in that region (us-west-2a, us-west-2b, and us-west-2c). You need 100 percent fault tolerance if any single Availability Zone in us-west-2 becomes unavailable. Which of the following answers offers two correct solutions to this scenario?
Solution 1: US-West-2a with 6 EC2 instances, US-West-2b with 6 instances and US-West-2c with no EC2 instances.
Solution 2: US-West-2a with 3 instances, US-West-2b with 3 instances and US-West-2c with 3 instances.
Why?
You need to work through each case to find which will provide you with the required number of running instances even if one AZ is lost. Hint: always assume that the AZ you lose is the one with the most instances. Remember that the client has stipulated that they must have 100% fault tolerance.
Your company has a policy of encrypting all data at rest. You host your production environment on EC2 in a bespoke VPC. Attached to your EC2 instances are multiple EBS volumes, and you must ensure this data is encrypted. Which of the following options will allow you to do this? [Select 3]
- Use 3rd party volume encryption tools.
- Encrypt your data inside your application, before storing it on EBS.
- Install SSL certs on the services so as to encrypt your data.
Which of the following data formats does Amazon Athena support? [Select 3]
JSON
Apache ORC
XML
You have been engaged as a consultant by a company that generates utility bills and publishes them online. PDF images are generated, then stored on a high-performance RDS instance. Customarily, invoices are viewed by customers once per month. Recently, the number of customers has increased threefold, and the wait-time necessary to view invoices has increased unacceptably. The CTO is unwilling to alter the codebase more than necessary this quarter, but needs to return performance to an acceptable level before the end-of-the-month print run. Which of the following solutions would you feel comfortable proposing to the CTO and GM? [Select 2]
- Create RDS Read-Replicas and additional Web/App instances across all the available AZs.
- Evaluate the risks and benefits associated with an RDS instance upgrade.
Which of the following are not valid CloudFormation template sections?
Options
Which of the following DynamoDB features are chargeable, when using a single region? [Select 2]
- Storage of Data
2. Read and Write Capacity
Which of the following are valid Route 53 routing policies? [Select 3]
Simple
Latency
Weighted
You work for a large software company in Seattle. They have their production environment provisioned on AWS inside a custom VPC. The VPC contains both a public and private subnet. The company tests their applications on custom EC2 instances inside a private subnet. There are approximately 500 instances, and they communicate to the outside world via a proxy server. At 3am every night, the EC2 instances pull down OS updates, which are usually 150MB or so. They then apply these updates and reboot: if the software has not downloaded within half an hour, then the update will attempt to download the following day. You notice that a number of EC2 instances are continually failing to download the updates in the allotted time. Which of the following answers might explain this failure? [Select 2]
- The proxy server is in a private subnet and uses a NAT instance to connect to the internet. However, this instance is too small to handle the required network traffic. You should re-provision the NAT solution so that it’s able to handle the throughput.
- The proxy server is on an inadequately sized EC2 instance and does not have sufficient network throughput to handle all updates simultaneously. You should increase the instance size or type of EC2 instance for the proxy server.
Your company likes the idea of storing files on AWS. However, low-latency service of the majority of files is important to customer service. Which Storage Gateway configuration would you use to achieve both of these ends? [Select 2]
- File Gateways
2. Gateway-Stored
When using EC2 instances with Dedicated Hosting, which of the following modes are you able to transition between by stopping the instance and starting it again?
Dedicated and Host
How is the Public IP address managed in an instance session via the instance GUI/RDP or Terminal/SSH session?
The Public IP address is not managed on the instance: It is, instead, an alias applied as a network address translation of the Private IP address.
What is the underlying Hypervisor for EC2 ? [Select 2]
Xen
Nitro
Which of the below are storage services in AWS? [Select 2]
EFS
S3
You are a solutions architect at a large digital media company. The company has decided that they want to operate within the Japanese region, and they need a bucket called “testbucket” set up immediately for testing purposes. You log in to the AWS console and try to create this bucket in the Japanese region. However, you are told that the bucket name is already taken. What should you do to resolve this?
Bucket names are global, not regional. You know the rest.
You have created a Direct Connect Link from your on premise data center to your Amazon VPC. The link is now active and routes are being advertised from the on-premise data center. You can connect to EC2 instances from your data center; however, you cannot connect to your on premise servers from your EC2 instances. Which of the following solutions would remedy this issue? [Select 2]
- Edit the VPC subnet route table, adding a route back to the on-premise data center.
- Enable route propagation on your Virtual Private Gateway.
You are working in the media industry, and you have created a web application where users will be able to upload photos they create to your website. This web application must be able to call the S3 API in order to be able to function. Where should you store your API credentials whilst maintaining the maximum level of security.
Don’t save your API credentials. Instead, create a role in IAM and assign this tole to an EC2 instance when you first create it.
Which of the following strategies does AWS use to deliver the promised levels of DynamoDB performance? [Select 2]
Data is stored on Solid State Disks
The DB is partitioned across a number of nodes.
A user of your web-site makes an HTTP request to access a static resource on your server. The request is automatically redirected to the nearest CloudFront server. For some reason, the requested resource does not exist on the CloudFront server. Which of the following is true?
CloudFront will query the origin server and then cache the resource on the edge location.
With SAML-enabled single sign-on, ________. [Select 2]
- After the client browser posts the SAML assertion, AWS sends the sign-in URL as a redirect, and the client browser is redirected to the Console.
- The portal first verifies the user’s identity in your organization, then generates a SAML authentication response.
Which of the following options allows users to have secure access to private files located in S3? [Select 3]
CloudFront Signed URLs
CloudFront Signed Cookies
CloudFront Origin Access Identity