Cost-effective Architecture Flashcards

1
Q

You have a data analysis application that uses high compute instances along with RDS to do biological analysis on large datasets. The computations are not time sensitive and can be run anytime throughout the day. However, because of the high compute resources required, the processing is quite expensive. What could you do to defray these costs? (Choose two.)

A) Purchase reserved instances and pay entirely up front for the instance usage charges.
B) Use the spot market, setting a bid price lower than the current on-demand pricing.
C) Lower the instance class to a less costly class and allow the processing to run longer at lower per-instance costs.
D) Contact AWS and ask for discounted instance pricing based on your recurring usage.

A

A, B. When instance cost is the issue, the answers are almost always to consider some form of lowered instance pricing. AWS provides reserved instances and spot instances and the spot market for this purpose. Further, paying for reserved instances all up front is the most cost-effective means of getting reserved instances. Therefore, A and B are correct. C is problematic, as running a smaller instance for longer is not necessarily any cheaper than running a large instance for shorter amounts of time. Option D has some validity, but AWS is almost certainly going to point you back to either reserved instances or the spot market (A and B).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following are valid payment options for reserved instances? (Choose two.)

A) Actual usage pricing
B) Predictive pricing
C) All up-front pricing
D) Nothing up-front pricing

A

C, D. Reserved instances can be paid for in no up-front, partial up-front, and all up-front models, where all up-front is the least expensive and no up-front is the most expensive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you move a reserved instance from one region to another?

A) Shut the instance down, change its region via the console or CLI, and restart the instance.
B) Contact your AWS billing resource to manually move the instance and its associated billing.
C) Make a snapshot of the instance, copy the snapshot to the new region, and start the instance from the snapshot.
D) You cannot move reserved instances across regions.

A

D. Reserved instances are locked to the region in which they are created, so D is correct. You would need to create a new reserved instance in the new region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following allows you the least expensive access to compute resources?

A) On-demand instances
B) Reserved instances
C) Spot instances
D) Dedicated hosts

A

C. This should be an easy correct answer: Spot instances via the spot market are the potentially least expensive option, given that your compute has flexible timing and needs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following are not reasons to select an on-demand instance? (Choose two.)

A) Applications with short-term, spiky workloads
B) Applications that have flexible start and end times
C) Applications with steady-state usage
D) Applications being developed or tested on EC2 for the first time

A

B, C. Applications with spiky workloads are reasons to use on-demand, as on-demand can scale up and down quickly. Flexible start and end times is a criterion for choosing spot instances, and steady-state usage is ideal for reserved instances. Anytime you’re testing a new application, on-demand is a good choice

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following are reasons to select a spot instance? (Choose two.)

A) Applications with short-term, spiky workloads
B) Applications that have flexible start and end times
C) Applications with steady-state usage
D) Applications that are only feasible at very low compute prices

A

B, D. Applications with spiky workloads are reasons to use on-demand, as on-demand can scale up and down quickly. Flexible start and end times is a criterion for choosing spot instances, and steady-state usage is ideal for reserved instances. Spot instances also make heavy compute affordable when it would not be on other instance types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following are not reasons to select a reserved instance? (Choose two.)

A) Applications that may require reserved capacity
B) Applications with steady-state usage
C) Users with urgent computing needs for large amounts of additional capacity
D) Users that cannot make any up-front payment or long-term commitment

A

C, D. The first option is easy, as it actually has reserved in the wording. Steady-state usage is also a use case for reserved instances, to gain cost savings. Large and immediate additional capacity needs are best facilitated by spot instances, and on-demand instances are best for users with no initial payment ability.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following are reasons to select the S3 standard storage class? (Choose two.)

A) Need for high durability
B) Need for highest available throughput
C) Infrequent access of objects
D) Objects can easily be re-created if lost.

A

A, B. S3 shares the durability of all S3 storage classes at 11 9s. It also provides the highest availability throughput of all S3 storage classes. Infrequent access is a use case for S3-IA, while the ability to re-create objects would suggest S3 One Zone-IA.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You are the architect for a web application that exists on a cluster of EC2 instances all within an Auto Scaling group. During periods of high activity, the group scales up— adding instances—and then quickly scales back down. However, this occurs multiple times within a two-hour window, incurring significant costs. How could you reduce costs while ensuring that demand is still met? (Choose two.)

A) Modify the Auto Scaling group’s cool-down timers.
B) Modify the Auto Scaling group to use scheduled scaling.
C) Lower the CloudWatch alarm threshold that causes the Auto Scaling group to scale up.
D) Modify the CloudWatch alarm period that causes the Auto Scaling group to scale down.

A

A, D. The problem here is that instances are scaling down too quickly. This results in them then being restarted, which incurs cost. The solutions here should be ones that cause instances to stay around a bit longer, which meets demand. Both A and D do this. Cool-down timers increase the time for the group to ensure that previous scaling actions were completed (A), and the CloudWatch alarm period for scaling down should also be increased (D).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Your company needs a storage solution that can support millions of customers accessing billing data. The data should be instantly accessible for users, but individual bills are not accessed that often. What is the most cost-efficient storage for this use case?

A) Glacier with expedited retrieval
B) S3 with Transfer Acceleration
C) Standard S3
D) S3-IA

A

D. This is a pretty “by the book” question, and in this case, is the exact use case for which S3-IA (Infrequent Access) was built. Instant access with less frequent requests is ideal for S3-IA.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is the S3-IA storage class less expensive than S3?

A) Yes
B) No
C) Their costs are identical.
D) It depends on how the storage class is used.

A

A. S3-IA is less expensive than S3, regardless of use case. It is certainly possible that S3-IA is not appropriate for a certain use case, but it is less expensive on a “per byte retrieved” case.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You have a website running on a fleet of EC2 instances behind an ELB. You also have an Auto Scaling group running across multiple availability zones. The instances are serving files from an EFS file system, but you are incurring lag and significant cost from serving these files from disk over and over. What would you recommend as a solution for reducing costs while still handling high traffic without degradation?

A) Move the files into S3 standard.
B) Use Elastic Transcoder to reduce the file sizes.
C) Cache the files using CloudFront.
D) Use reserved EC2 instances instead of on-demand instances.

A

C. CloudFront will allow you to cache files that are frequently accessed. In this case, that should actually reduce costs. While CloudFront does incur a new additional cost, it would likely be offset by reduced egress from the EFS as well as the compute of additional EC2 instances to handle requests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You have a large archive of documents that must be backed up. The documents will be accessed very infrequently, if at all. However, when the documents are accessed, they must be delivered within 10 minutes of a retrieval request. What is the most cost-effective option for storing these documents?

A) S3
B) S3-IA
C) Glacier
D) Glacier with expedited retrieval

A

D. All the description here suggests using Glacier. The documents are a large archive, and many will never be accessed. However, the requirement for quick retrieval points to a need for expedited retrieval. Glacier with expedited retrieval is still going to cost less than S3-IA for access that isn’t that frequent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Your application has a 200 GB database running on an EC2 instance. You cannot move the database to RDS because of a custom spatial plug-in. The application is currently peaking in the morning and the evening, but the peaks are small and usage throughout the day is minimal. You need to ensure solid performance but keep costs low. What storage type would you use?

A) EFS
B) EBS with a General Purpose SSD
C) EBS with a provisioned IOPS SSD
D) EBS with a magnetic HDD

A

B. First, EBS is a much better choice than EFS for a single-instance application. While a database would certainly benefit from IOPS, there’s no need; peaks are small, and usage overall is low. A General Purpose SSD is sufficient here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which EBS volume type is most appropriate for use with a large database workload?

A) EBS with a throughput optimized HDD
B) EBS with a General Purpose SSD
C) EBS with a provisioned IOPS SSD
D) EBS with a magnetic HDD

A

C. If you have a larger database workload, provisioned IOPS SSD is ideal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following is the least expensive EBS volume type?

A) Throughput optimized HDD
B) General Purpose SSD
C) Provisioned IOPS SSD
D) Cold HDD

A

D. A cold HDD is the least expensive EBS volume type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Your application currently stores all its data on EBS volumes. You want to ensure that these volumes are backed up durably. However, you also want to use as few different managed services as possible in order to keep backup costs low. What option would you recommend?

A) Take regular EBS snapshots manually.
B) Set up a Lambda function to take EBS snapshots and trigger the function through CloudWatch alarms.
C) Create a script to copy the EBS data to S3 and run it on an EC2 instance.
D) Mirror data across two EBS volumes.

A

A. This is a tough question. You can eliminate B and C because both involve additional services: CloudWatch, Lambda, and additional EC2 instances. Taking EBS snapshots is good, and by moving those snapshots into S3 (which is the default), you get durability automatically. Mirroring data is also a great option—providing fault tolerance—but this does not provide a durability component, something the question specifically requires. Therefore, A is the best answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

You are the architect for a highly available and highly scalable accounting application. All transaction records in the application’s data stores must be available for immediate retrieval for three months, but then they should be purged to reduce storage costs. How can you most easily address this requirement?

A) Store the transaction records on EBS and delete the volume after three months.
B) Store the transaction records in S3 and use lifecycle management to delete the records after three months.
C) Store the transaction records in Glacier and use lifecycle management to delete the records after three months.
D) Store the transaction records in EBS and use lifecycle management to delete the records after three months.

A

B. There are two components to this question: which storage medium is appropriate, and how should older records be deleted. To get both immediate retrieval and lifecycle management, you’d need S3, as in option B. (Also, EBS does not offer lifecycle management, in option D.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

You have heavy load on an RDS data instance. You want to avoid the overhead and cost of upgrading the instance to a larger instance size. What other options should you consider? (Choose two.)

A) RDS read replicas
B) RDS Multi-AZ
C) ElastiCache
D) Kinesis

A

A, C. RDS read replicas would take some of the read load off of the database instance, as would ElastiCache. The first allows reads to go to other instances, and the second caches already accessed data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

You are in charge of storage for large datasets at a predictive analytics firm. You are tasked with minimizing storage costs. You need to store data 30–59 days old in a storage class that makes the data immediately available and data older than 60 days in a class that makes the data available within 10 hours. You want to use the least expensive classes available. Which two storage classes would you choose? (Choose two.)

A) S3 standard
B) S3 Infrequent Access
C) S3 RRS
D) Glacier

A

B, D. Glacier is the easy choice, as it can handle the oldest data and still meet the 10-hour retrieval time. S3 RRS is deprecated and shouldn’t be considered. This leaves S3 and S3-IA. S3-IA is always less expensive than S3, so it’s the better option here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

You want to optimize performance and cost of your application by creating a placement group rather than hosting separate copies of your application in multiple availability zones. Across how many availability zones can a placement group span?

A) One
B) One or more
C) Two or more
D) Placement groups are not in availability zones.

A

B. Placement groups are typically in a single availability zone, but now spread placement groups can be placed across availability zones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Across how many availability zones can a spread placement group be stretched?

A) One
B) One or more
C) Two or more
D) Placement groups are not in availability zones.

A

B. It is typical to think of a spread placement group as a group spread across availability zones, but that is a misnomer. The spread in spread placement group means that the instances are spread across distinct underlying hardware, and although they can be spread across availability zones, they don’t have to be.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

How many instances can run in a single availability zone for a spread placement group?

A) One
B) Five
C) Seven
D) Nine

A

C. A spread placement group can have a maximum of seven running instances per AZ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Which of the following are advantages of a spread placement group over using non-grouped instances? (Choose two.)

A) A spread placement group can span peered VPCs in the same region.
B) A spread placement group is less expensive than the same number of on-demand instances not in a group.
C) A spread placement group allows instances to talk with negligible network lag.
D) A spread placement group reduces IO in an instance within that group.

A

A, C. Spread placement groups primarily offer reduced network lag between instances (C). They also allow for cross-VPC spanning of instances (A).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Which of the following statements about placement groups is false?

A) A spread placement group can span peered VPCs in the same region.
B) A clustered placement group has instances all in a single availability zone.
C) A spread placement group allows instances to talk across regions without network lag.
D) A clustered placement group involves fewer availability zones than a spread placement group.

A

C. The only false statement here is C: Spread placement groups cannot be set up across regions, and therefore this entire statement is untrue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Which of the following actions incur costs within AWS? (Choose two.)

A) Data ingress from the Internet
B) Data egress to the Internet
C) Transferring data across regions
D) Transferring data from one instance to another within the same availability zone

A

B, C. Egress always has a cost associated with it (B), while ingress is always free. Transferring data across regions is treated the same as transfers to the Internet. Only inter-AZ data transfer is guaranteed to be costless (D), making C the other correct answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Which of the following costs the least?

A) Retrieving a file from S3 to a local desktop client
B) An instance retrieving data from S3 in the same region
C) Uploading a file to S3 from a local desktop client
D) An instance retrieving data from S3 in a different region

A

C. The least cost is always going to be “free,” so look for anything that might be ingress. In this cost, uploading to S3 is straight ingress and is therefore free and the cheapest option.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

Which of the following costs the least?

A) Retrieving a file from S3 to a local desktop client
B) An instance retrieving data from another instance in the same availability zone
C) An instance storing data in S3 in a different region
D) An instance retrieving data from S3 in a different region

A

B. There are no ingress options here, so nothing is guaranteed to be free. In that case, you should then look for something that moves data within the same availability zone. That’s always the least expensive (and usually free, depending on IP addresses), and in this case, that’s option B: inter-AZ data transfer between instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

Which of the following might help reduce data transfer costs? (Choose two.)

A) Set up CloudFront to cache content.
B) Ensure that any instances communicating with other instances in the same region have private IP addresses.
C) Set up an RDS instance with read replicas.
D) Set up S3 buckets with versioning.

A

A, B. First, CloudFront is always a good option. It’s free to move data from EC2 to CloudFront, so that could reduce how far data must travel, and associated costs. Then, private IPs allow for communication that doesn’t route out to the Internet, and generally AWS charges less for communication from private IP to private IP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Which of the following is not a level of AWS support?

A) Developer
B) Free tier
C) Enterprise
D) Business

A

B. Although there is a free tier, it’s a billing option and not an actual support level. That makes B the non-level in this answer set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

Which of the following is reduced as part of AWS’s total cost of ownership approach?

A) Developer salaries
B) DevOps salaries
C) Capital expenditures
D) Organizational head count

A

C. AWS reduces the need for large capital expenditures and provides a pay-as-you-go model instead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

Which of the following payment models does AWS employ to reduce total cost of ownership?

A) Pay up front
B) Pay-as-you-go
C) Pay after use
D) Quarterly pay

A

B. AWS uses a pay-as-you-go model for all of its services.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Which of the following is not a key tenet of the AWS pricing philosophy?

A) Pay-as-you-go
B) Pay less when you reserve.
C) Pay less per unit by using more.
D) Pay more only when AWS grows.

A

D. D is incorrect; you actually pay even less as AWS grows, due to economies of scale.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

Which of the following is not a pricing model for instances?

A) On demand
B) Reserved
C) Migration only
D) Spot instance

A

C. “Migration only” is not a pricing model for instances. The only model not mentioned here is dedicated hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

When calculating total cost of ownership, what instance pricing model does AWS suggest using?

A) On demand
B) Reserved
C) Dedicated hardware
D) Spot instance

A

B. AWS suggests using reserved instance pricing in TCO calculations, as it is closest to on-premises servers in an apples-to-apples comparison.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

How does the cost of standard reserved instances compare with the cost of on-demand instances?

A) Standard reserved instances cost significantly less than on-demand instances.
B) Standard reserved instances cost about the same as on-demand instances.
C) Standard reserved instances cost significantly more than on-demand instances.
D) Standard reserved instances cost a little bit less than on-demand instances.

A

A. Standard reserved instances often provide up to a 75% discount as compared to on-demand instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Which of the following is not a valid payment option for reserved instances?

A) No upfront
B) Partial upfront
C) Half upfront
D) All upfront

A

C. There is no “half upfront” payment option. The valid options are no upfront, partial upfront, and all upfront.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Which of the following is the least expensive payment model for reserved instances?

A) No upfront
B) Partial upfront
C) All upfront
D) They are all the same.

A

C. Paying all upfront is the cheapest option of these three and provides the greatest savings over on-demand pricing.

39
Q

Which of the following are valid terms for reserved instances? (Choose two.)

A) Six months
B) One year
C) Two years
D) Three years

A

B, D. Reserved instances can be purchased for either one- or three-year terms.

40
Q

Which of the following are valid pricing models for EC2 instances? (Choose two.)

A) Spot instances
B) Spot market
C) Dedicated hosts
D) All upfront

A

A, C. A spot instance (A) is a valid model, but spot market (B) is not; spot market is where you purchase spot instances. Dedicated hosts (C) is another valid model. All upfront is a payment option, but not an actual pricing model for instances.

41
Q

Which instance type is ideal for an application that has a flexible start and end time?

A) Spot instances
B) On-demand instances
C) Dedicated hosts
D) Reserved instances

A

A. Spot instances are recommended for applications with flexible start and end times, that need to run with low compute prices, or that may have urgent compute needs for large amounts of additional capacity.

42
Q

Which instance type is ideal for an application that suffers numerous spikes in usage at unpredictable times?

A) Spot instances
B) On-demand instances
C) Dedicated hosts
D) Reserved instances

A

B. On-demand instances are best when usage patterns swing severely and can’t be predicted.

43
Q

Which instance type is ideal for an application that has a long-running compute job that cannot be interrupted but also suffers from significant fluctuations in usage patterns?

A) Spot instances
B) On-demand instances
C) Dedicated hosts
D) Reserved instances

A

B. On-demand instances are ideal for any usage that swings wildly in unpredictable patterns, particularly if a job cannot be halted. If usage is predictable, a long-running job might benefit from a reserved instance, and if the job can be stopped, then spot instances would be better.

44
Q

Which of the following are valid ways to purchase dedicated hosts? (Choose two.)

A) On-demand hourly
B) All upfront
C) On layaway
D) As a reservation

A

A, D. This is a little tricky, as dedicated hosts function a bit differently than the other instance types, in both purchasing and payment. In this case, it’s important to note that the question is about purchasing, and not payment (which would drive you to answer “all upfront,” “partial upfront,” or “no upfront”). Dedicated hosts can be purchased as an on-demand instance or as a reservation for significant savings.

45
Q

Which of the following are reasons to consider reserved instances? (Choose two.)

A) You are running an application that involves lots of short-running compute jobs.
B) You are running an application with steady-state usage.
C) Your business is guaranteed to need cloud compute for at least the next 18 months.
D) You are looking to minimize commitments to AWS.

A

B, C. Reserved instances are the best option for steady-state applications and require at least a one-year commitment, which would point to options B and C.

46
Q

Which of the following is not a reason to consider spot instances?

A) Your applications have flexible start and end times.
B) Your applications can only run if compute costs are low because of CPU utilization.
C) You expect to have significant compute needs and potentially a need for lots of additional capacity.
D) You expect usage to increase dramatically in the evenings and need to support that usage.

A

D. Spot instances are not ideal for spikes in usage, as those instances may be terminated at any time.

47
Q

You have been brought in to introduce an organization to the cloud. They have several applications ideal for cloud hosting but do not want to make any up-front commitments. Further, they are concerned that the cloud will be “unreliable” so you need to ensure that applications run smoothly. What instance types would you recommend?

A) Spot instances
B) On-demand instances
C) Dedicated hosts
D) Reserved instances

A

B. In this scenario, you want to ensure that instances stay up (eliminating the spot market) and that there is no long-term commitment (eliminating reserved instances). Dedicated hosts don’t make sense, so this leaves on-demand instances.

48
Q

Which of the following are benefits to spot instances? (Choose two.)

A) Applications can be paused and later resumed.
B) Costs are reduced compared to on-demand pricing.
C) The same hardware will be used for the life of an application.
D) They can handle spikes in usage without issue.

A

A, B. The spot market provides instances that can stop and start at any time. Now, applications on these instances can be stopped and restarted (A). Additionally, costs are significantly lower than on-demand pricing (B). However, the hardware can change often, and spikes in usage are not well suited for spot instances.

49
Q

Which of the following offers the lowest pricing for storage (per GB)?

A) S3 standard
B) S3-IA
C) S3 One Zone-IA
D) Amazon Glacier

A

D. On a pure “storage per GB” comparison, Amazon Glacier is the least expensive storage class.

50
Q

Which of the following is not an actual S3 storage class?

A) S3-SSE
B) S3 Standard-IA
C) S3 RRS
D) Amazon Glacier

A

A. S3-SSE is an encryption solution. Standard IA is infrequent access, RRS is reduced redundancy (and is now deprecated), and of course Glacier is a valid S3 storage class.

51
Q

Which of the following would not incur a charge?

A) Distributing data via S3 signed URLs to an Internet client in the same region
B) Distributing data via CloudFront to an Internet client in a different region
C) Uploading data to S3 via a user’s web interface
D) Transferring data from an EC2 instance to an instance in another region

A

C. Uploading data is the textbook definition of ingress, and ingress never has associated fees.

52
Q

Which of the following would not incur a charge?

A) Transferring data from S3 to CloudFront
B) Distributing data via CloudFront to an Internet client in a different region
C) Transferring data from an EC2 instance to an instance in another region
D) Importing data to S3 via Transfer Acceleration

A

A. It is always free to move data into CloudFront. There may be a cost associated with egress from CloudFront, but the transfer to CloudFront is cost-free.

53
Q

What is the AWS free tier?

A) A platform for experimenting with AWS that can never be in production
B) A tier of AWS that allows limited access to AWS services at no cost
C) A class of EC2 instances that never cost anything for unlimited compute
D) A prepackaged suite of AWS services that can be used for web hosting at no cost

A

B. The AWS free tier is just AWS but without a cost. You can use up to several limits of services (data transfer, compute, storage, etc.) at no cost within the AWS free tier.

54
Q

What is the AWS marketplace?

A) A market for products, many of which can run on the AWS free tier
B) A market for prebuilt AMIs beyond the standard AWS offerings
C) A market for plug-ins and trials of paid third-party AWS services
D) All of these

A

D. The AWS marketplace offers free and paid software products, many of which run on the AWS free tier. You can find AMIs and services as well as many trial offerings from third parties.

55
Q

What of the following services is available in AWS free tier?

A) DynamoDB
B) AWS Lambda
C) SNS and SQS
D) All of these

A

D. AWS free tier offers almost everything that paid AWS does, simply at lesser volumes.

56
Q

Which of the following is an AWS support plan?

A) Standard
B) Free
C) Small teams
D) Enterprise

A

D. The four AWS support plans are basic, developer, business, and enterprise.

57
Q

Which of the following AWS support plans offer 24/7 support? (Choose two.)

A) Basic
B) Developer
C) Business
D) Enterprise

A

C, D. This should be pretty intuitive: The higher and more business-oriented levels of support offer 24/7 support; in this case, business and enterprise.

58
Q

What is AWS Trusted Advisor?

A) An AWS security service
B) An online resource to help you reduce cost
C) A logging tool to help you detect intrusions
D) A performance tool to help you correctly size your Auto Scaling groups

A

B. AWS Trusted Advisor is an online resource that helps you reduce cost as well as increase performance and improve security. However, it does not provide logging (C) or affect Auto Scaling limits or configuration.

59
Q

How many core Trusted Advisor checks does the Trusted Advisor tool provide?

A) Three
B) Four
C) Five
D) Nine

A

C. There are five core Trusted Adviser checks: cost optimization, security, fault tolerance, performance, and service limits. Note: In some places, AWS will say that there are seven checks, but in others, five. The most current documentation indicates the five checks noted here.

60
Q

Which of the following might be a recommendation from Trusted Advisor? (Choose two.)

A) Turn on MFA for the root account.
B) Turn off global access to an S3 bucket.
C) Turn on Transfer Acceleration for S3.
D) Turn on MFA Delete for S3.

A

A, B. AWS Trusted Advisor provides advice that typically is useful in all environments, for all use cases. In this set of answers, the two that meet that criteria are turning on MFA for the root account and avoiding global Internet access to an S3 bucket. These recommendations will apply to almost all situations. The other two options—C and D—are use-case specific and therefore would not be suggested by Trusted Advisor.

61
Q

Which of the following is not an area in which Trusted Advisor makes recommendations?

A) S3 bucket permissions
B) IAM usage
C) RDS public snapshots
D) DNS usage

A

D. AWS Trusted Advisor makes recommendations about S3 bucket usage, IAM usage, and snapshots (both EBS and RDS) but does not make recommendations regarding DNS, so D is correct.

62
Q

Which of the following is not a category for which Trusted Advisor makes recommendations?

A) Security
B) Scalability
C) Service limits
D) Fault tolerance

A

B. AWS Trusted Advisor makes recommendations in five categories: cost optimization, performance, security, fault tolerance, and service limits.

63
Q

Which of the following are categories for which Trusted Advisor makes recommendations? (Choose two.)

A) Performance
B) Auto Scaling
C) Caching
D) Security

A

A, D. AWS Trusted Advisor makes recommendations in five categories: cost optimization, performance, security, fault tolerance, and service limits.

64
Q

Which of the following might be an area about which Trusted Advisor makes recommendations? (Choose two.)

A) Idle load balancers
B) Incorrect S3 storage class
C) No MFA on root account
D) Underuse of DNS records

A

A, C. First, C is an easy choice: MFA on the root account is one of the most common recommendations. Then, consider the areas in which Trusted Advisor can make absolute recommendations; underuse of DNS records doesn’t make a lot of sense (how do you “underuse DNS?”) and coming up with the “correct” S3 storage class involves understanding use cases, which Trusted Advisor can’t do. This leaves A, idle load balancers.

65
Q

Which of the following are recommendations AWS makes to help you control your AWS costs? (Choose two.)

A) Right-size your services to meet capacity at the lowest cost.
B) Save money by reserving.
C) Save money with on-demand resources.
D) Buy high capacity and serve low capacity.

A

A, B. AWS makes five standard recommendations: Right-size your services to meet capacity needs at the lowest cost, save money by reserving, use the spot market, monitor and track service usage, and use Cost Explorer to optimize savings.

66
Q

Which of the following might be a means by which you could decrease AWS costs in any standard application stack?

A) Use DynamoDB instead of RDS.
B) Use Route 53 instead of non-AWS registrars.
C) Use the spot market.
D) Use dedicated host instances.

A

C. AWS makes five standard recommendations: Right-size your services to meet capacity needs at the lowest cost, save money by reserving, use the spot market, monitor and track service usage, and use Cost Explorer to optimize savings. Using the spot market (C) falls into that last category. The other answers are all use-case driven and really don’t fit into general cost-saving recommendations.

67
Q

What is AWS Cost Explorer?

A) An analytics tool for evaluating instance usage
B) An analytics tool for evaluating RDS usage
C) An analytics tool for managing AWS costs over time
D) An analytics tool for managing application deployments

A

C. This should be pretty basic: AWS Cost Explorer provides reports via analysis for evaluating your overall AWS costs over time.

68
Q

You want to anticipate your costs over the next year. Which of the following tools would you use?

A) AWS Trusted Advisor
B) AWS Cost Explorer
C) AWS Cost Manager
D) AWS Savings Advisor

A

B. This is largely a matter of recognizing the valid AWS tools—AWS Trusted Advisor and AWS Cost Explorer—and then determining which deals with costs. In this case, that’s AWS Cost Explorer.

69
Q

You want to determine how your instance class choices are affecting your overall AWS spending. Which tool would help?

A) AWS Trusted Advisor
B) AWS Cost Explorer
C) AWS Auto Scaling groups
D) AWS CloudTrail

A

B. Cost Explorer gives you reports on EC2 monthly cost and usage that can help analyze monthly spending on instances.

70
Q

You want to set limits on how much is spent monthly on S3 storage. Which of the following tools would be helpful?

A) AWS Trusted Advisor
B) AWS Cost Explorer
C) AWS Budgets
D) AWS CloudFormation

A

C. While AWS Cost Explorer can give you information about your monthly storage costs, AWS Budgets allows you to set alerts and then add custom programming to reduce or halt those costs.

71
Q

You want to cut off all access to your S3 buckets when a certain cost threshold is reached. Which tool allows you to do this?

A) AWS Trusted Advisor
B) AWS Cost Explorer
C) AWS Budgets
D) None of these

A

D. This is an important question. None of the tools listed allow for actual “cutoffs” at cost thresholds. AWS Budgets allows you notifications when a threshold is met but does not allow you to cut off spending at a certain point on its own.

72
Q

You need to produce media files optimized for various device types to optimize costs associated with transferring and viewing media on those devices. What AWS service would you use?

A) SWF
B) Workspaces
C) Elastic Transcoder
D) Cost Explorer

A

C. Elastic Transcoder allows you to produce media files that are optimized and well suited for various device types.

73
Q

You want to reduce the maintenance costs of supporting Oracle on a fleet of EC2 instances. What service is well suited for offloading maintenance costs for Oracle database hosting?

A) RDS
B) EMR
C) SWF
D) Redshift

A

A. This question is as much about recognizing the various AWS service acronyms as anything. Here, RDS—the Relational Database Service—allows you to use Oracle on an AWS managed service.

74
Q

You want to delay the cost of hiring a large DevOps team while prototyping application hosting in the cloud. What service allows you to deploy your code with minimal oversight?

A) Elastic Beanstalk
B) CloudFormation
C) Elastic Transcoder
D) JSON

A

A. Elastic Beanstalk can deploy your code and handle capacity provisioning, load balancing, and setting up Auto Scaling and health checks, all with very little oversight. Note that you’d still need personnel to keep an application like this running, but Elastic Beanstalk can reduce initial resources needed for application deployment.

75
Q

You are tasked with reducing cost in an organization that does several new application deployments every week. The company has a common stack of resources but is spending time each deployment re-creating this stack. What would help you reduce initial setup and deployment costs?

A) Elastic Beanstalk
B) CloudFormation
C) AWS Trusted Adviso.
D) Application load balancers

A

B. CloudFormation allows you to automate provisioning and, in this case, to create standardized JSON scripts that can be lightly modified to stand up entire stacks for multiple applications that share a common structure.

76
Q

You need to transfer 50 TB of data into S3 and want to avoid lengthy network exchanges and network saturation. What option would provide you with inexpensive data transfer at a large scale?

A) Storage Gateway
B) S3 Transfer Acceleration
C) Glacier
D) Snowball

A

D. Snowball is almost always the most cost-effective approach to data transfer when you approach 50 TB, and there are good reasons to consider it even at 10 TB or more.

77
Q

You want to take advantage of a large data store on premises that is already in use. How can you use this local storage while still interfacing with an additional cloud-based storage system and cloud-hosted EC2 instances?

A) Storage Gateway
B) S3 Transfer Acceleration
C) Glacier
D) Snowball

A

A. Storage Gateway is a hybrid storage service and allows your on-premises data store to interact with S3.

78
Q

You need to transfer several petabytes of data into AWS at the lowest possible costs. What AWS services could help?

A) Large Data Transfer Service
B) S3 Transfer Acceleration
C) Snowball
D) CloudFront

A

C. Large data should always make you think, “Snowball.” Snowball gives you a reliable, scalable, petabyte-scale data transfer solution.

79
Q

You need an analytics solution to perform business intelligence on your large data store. What AWS managed service can provide you with OLAP that reduces cost at scale?

A) RDS
B) Oracle on an EC2 fleet with provisioned IOPS EBS volumes
C) Memcache
D) Redshift

A

D. Redshift is AWS’s managed service for OLAP and business intelligence.

80
Q

You are currently running a fleet of 12 EC2 instances and processing large datasets that are uploaded by users. However, the cost of maintaining these instances is increasing, and the maintenance of the processing code is also growing. What AWS managed service would allow you to reduce these costs and still process large datasets?

A) EMR
B) Memcache
C) CloudFront
D) BigData Processing Service

A

A. EMR, Elastic MapReduce, is a web service targeted at processing large amounts of data. It is optimized for this task and often provides cost savings over EC2 instances running similar processes.

81
Q

You are in charge of building a business intelligence application that can handle multiple data sources and perform analytics at a large scale. Which of the following services and tools would allow you to build a cost-effective solution? (Choose two.)

A) QuickSight
B) Provisioned IOPS EBS volumes
C) EC2 instances
D) Redshift

A

A, D. QuickSight is a business analytics service, and Redshift is ideal for business intelligence and OLAP. While you could build high-performance applications using EC2 instances and provisioned IOPS EBS volumes, managed services like QuickSight and Redshift are almost always going to be more cost effective.

82
Q

You have been tasked with combining several data sources into a single (optionally ephemeral) data store that you can then perform analysis on. You currently have data in RDS, two DynamoDB instances, and multiple S3 buckets. What is the most cost-effective approach to handling this task?

A) A fleet of EC2 instances with throughput optimized SSD EBS volumes
B) A combination of CloudWatch, Lambda, and custom code
C) Redshift
D) QuickSight

A

D. Both A and B are going to incur significant costs and custom code. C is not a bad option on the analytics side but will still likely require custom code to aggregate the data sources. QuickSight, however, is designed exactly for this task: combining data sources and then performing analytics and extracting insights.

83
Q

Which of the following is the least expensive option for long-term data archival?

A) EFS
B) EBS snapshots
C) Glacier
D) Redshift

A

C. Glacier is Amazon’s long-term data archival solution.

84
Q

Your company is paying a high cost for a consultant whose only job is the provisioning of resources for new cloud deployments. What AWS service would allow you to reduce this expenditure and move the consulting into more of a business-serving capacity?

A) Elastic Beanstalk
B) CloudTrail
C) CloudShift
D) CloudFormation

A

A. CloudFormation is ideal for automating deployment without manual intervention, but it’s actually Elastic Beanstalk that handles the provisioning of resources.

85
Q

You have been tasked with reducing the costs associated with a large fleet of EC2 instances that currently run several custom processes. These processes collect and collate data from a number of streaming data sources outside of your network. What AWS managed service could help replace these instances?

A) CloudFront
B) SDM
C) Kinesis
D) CloudFormation

A

C. Kinesis is intended to handle streaming data sources. It collects and processes data from these streaming sources in real time and would be ideal to replace custom code that handles this same process, as the question asks.

86
Q

You have been tasked with reducing the cost of a large group of EC2 instances that each serves a single process. The process is fired off when a user initiates it through a web interface. Because these processes are initiated often, a large fleet of EC2 instances is kept active to serve the requests, incurring significant monthly costs. What managed service could help you reduce the costs of these always-running instances?

A) Lambda
B) CloudFront
C) Kinesis
D) CloudFormation

A

A. Lambda allows you to “ignore” the underlying resources required for running code. You simply give Lambda the code to run, and Lambda will handle provisioning resources in a scalable and cost-effective manner.

87
Q

You are in charge of a cloud migration from an on-premises data center to AWS. There are extensive software products used to monitor the on-premises applications, and you want to reduce the recurring costs associated with this monitoring. What AWS service would be ideal for this task?

A) CloudTrail
B) CloudMonitor
C) AppMonitor
D) CloudWatch

A

D. CloudWatch provides monitoring of applications and is a low-cost solution for AWS monitoring.

88
Q

You are in charge of a cloud migration from an on-premises data center to AWS. The system currently has a number of custom scripts that process system and application logs for auditing purposes. What AWS managed service could you use to replace these scripts and reduce the need for instances to run these custom processes?

A) CloudTrail
B) CloudMonitor
C) AppMonitor
D) CloudWatch

A

A. CloudTrail is the AWS service for logging and is particularly helpful for auditing and compliance.

89
Q

You are the architect in charge of designing a database-driven application suite. As part of the project, you need to migrate a large Oracle database instance into the cloud. Further, you are migrating from Oracle to PostgreSQL. How would you most effectively accomplish this migration with the least expenditure?

A) Copy the Oracle data to Snowball, send the data to AWS, move it into S3, and then import the data into PostgreSQL in RDS.
B) Create an RDS Oracle instance in AWS, migrate the data from the existing Oracle instance to the new RDS instance, and then convert the RDS instance to PostgreSQL.
C) Use the Database Migration Service to import the Oracle data directly into a new PostgreSQL instance.
D) Create a local PostgreSQL instance, migrate the data locally from Oracle to PostgreSQL, and then move the PostgreSQL instance into AWS.

A

C. Almost all of these add unnecessary steps and involve multiple instances or either Oracle or PostgreSQL. The easiest, most cost-effective option is to migrate directly from Oracle to PostgreSQL using DMS, the Database Migration Service.

90
Q

You need to choose a scalable, cost-effective, and highly durable solution for storing flat files. What AWS service would you use?

A) S3
B) Kinesis
C) DynamoDB
D) Aurora

A

A. S3 is the AWS choice for durability and flat-file (non-relational data) storage.

91
Q

You have been tasked with replacing a legacy LDAP directory server that manages users, groups, and permissions with a cloud-based solution in order to reduce maintenance costs for the current directory server. What AWS service should you investigate?

A) IAM
B) Cognito
C) AWS Organizations
D) AWS Directory Server

A

A. IAM is the best option for handling users, groups, and permissions within AWS.

92
Q

You have been tasked with replacing a legacy LDAP directory server that manages users, groups, and permissions and provides single sign-on capabilities with a cloud-based solution in order to reduce maintenance costs for the current directory server and codebase. What AWS services should you investigate? (Choose two.)

A) IAM
B) Cognito
C) AWS Organizations
D) AWS Directory Server

A

A, B. IAM is the best option for handling users, groups, and permissions within AWS. You can then add Cognito to offer single sign-on capabilities to your applications.

93
Q

You are new on a project that makes heavy use of AWS. Your first priority is to reduce costs and identify security risks. What tool could you use to scan the existing environment and set initial priorities for change?

A) CloudTrail
B) Trusted Advisor
C) AWS Organizations
D) AWS Directory Server

A

B. Trusted Advisor is a great start to find glaring holes or deficiencies in an AWS environment.

94
Q

You are migrating a large on-premises application suite to AWS. Your company has made a significant investment in Chef for configuration and management and doesn’t want to lose the investment in time and money that the Chef tool represents. How could you preserve this functionality and keep costs low?

A) CloudTrail
B) CloudWatch
C) OpsWorks
D) Service Catalog

A

C. OpsWorks is a configuration management tool that actually can use Chef, so many of the existing modules would plug right in and existing expertise would translate directly over.