Question: 1

What method should I use to author automation if I want to wait for a CloudFormation stack to finish completing in a script?


A.Event subscription using SQS.


B.Event subscription using SNS.


C.Poll using <code>ListStacks</code> / <code>list-stacks</code>.


D.Poll using <code>GetStackStatus</code> / <code>get-stack-status</code>.







Answer: C


Event driven systems are good for IFTTT logic, but only polling will make a script wait to complete. ListStacks / list-stacks is a real method, GetStackStatus / get-stack-status is not. Reference:








Question: 2

Your application consists of 10% writes and 90% reads. You currently service all requests through a Route53 Alias Record directed towards an AWS ELB, which sits in front of an EC2 Auto Scaling Group. Your system is getting very expensive when there are large traffic spikes during certain news events, during which many more people request to read similar data all at the same time. What is the simplest and cheapest way to reduce costs and scale with spikes like this?


A.Create an S3 bucket and asynchronously replicate common requests responses into S3 objects. When a request comes in for a precomputed response, redirect to AWS S3.


B.Create another ELB and Auto Scaling Group layer mounted on top of the other system, adding a tier to the system. Serve most read requests out of the top layer.


C.Create a CloudFront Distribution and direct Route53 to the Distribution. Use the ELB as an Origin and specify Cache Behaviours to proxy cache requests which can be served late.


D.Create a Memcached cluster in AWS ElastiCache. Create cache logic to serve requests which can be served late from the in-memory cache for increased performance.









Answer: C




CloudFront is ideal for scenarios in which entire requests can be served out of a cache and usage patterns involve heavy reads and spikiness in demand.

A cache behavior is the set of rules you configure for a given URL pattern based on file extensions, file names, or any portion of a URL path on your website (e.g., *.jpg). You can configure multiple cache behaviors for your web distribution. Amazon CloudFront will match incoming viewer requests with your list of URL patterns, and if there is a match, the service will honor the cache behavior you configure for that URL pattern. Each cache behavior can include the following Amazon CloudFront configuration values: origin server name, viewer connection protocol, minimum expiration period, query string parameters, cookies, and trusted signers for private content.









Question: 3

You need to perform ad-hoc business analytics queries on well-structured datA.Data comes in constantly at a high velocity. Your business intelligence team can understand SQL. What AWS service(s) should you look to first?


A.Kinesis Firehose + RDS


B.Kinesis Firehose + RedShift


C.EMR using Hive


D.EMR running Apache Spark






Answer: B



Kinesis Firehose provides a managed service for aggregating streaming data and inserting it into RedShift. RedShift also supports ad-hoc queries over well-structured data using a SQL- compliant wire protocol, so the business team should be able to adopt this system easily.









Question: 4

You are building a game high score table in DynamoDB.You will store each user’s highest score for each game, with many games, all of which have relatively similar usage levels and numbers of players. You need to be able to look up the highest score for any game. What’s the best DynamoDB key structure?



A.HighestScore as the hash / only key.


B.GameID as the hash key, HighestScore as the range key.


C.GameID as the hash / only key.


D.GameID as the range / only key.







Answer: B


Since access and storage for games is uniform, and you need to have ordering within each game for the scores (to access the highest value), your hash (partition) key should be the GameID, and there should be a range key for HighestScore. Reference: html#GuidelinesForTables.Partitions

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


电子邮件地址不会被公开。 必填项已用*标注

error: Content is protected !!