Practice Test 5 Flashcards
What is redshift Spectrum?
query and retrieve structured and semi structured data from files in amazon S3, without loading into RS tables
Spectrum is a separate compute layer to RS . spectrum queries use less of the cluster processing policy than other queries
Select count(*) from S3.ext_table group by ….
What does WAF get deployed with / on?
Cloudfront,
App Load Balancer
API Gateway
protects from SQL injection, cross site script, filtering of patterns and ip addresses.
How do you change the launch config of an ASG
Create a new launch config with correct instance type, ami, key pair, security groups, block device.
Modify ASG with new launch config
Delete the old launch config
dup
dup
company needs to analyse customer service calls for sentiment analysis via SQL queries. What services should be used, options:
Correct: use Transcribe to convert audio files to text, then Athena to understand customer sentiment. The diagram shown in the answer includes SQS and Lam to convert the files into CSV, pretty cheeky not to mention that, because the raw files would not be SQL compatable?
Incorrect: Transcribe and Quicksight to analyse. (my selection) problem is that QS is for dashboards and visuals, graphs, does not do data analyis.
dup
dup
Aurora My SQL dbe cluster. team wants access to test databases re created from prod data, with least effort, and quickly.
Correct: database cloning to create multiple clones of production, each clone becomes a testdb.
* very fast to use cloning because it uses (points to) the same storage file blocks as the production db so it is faster than a snapshot
* clone uses the copy on write protocol, data copied when it changes, it creates new pages in the source or target clone to move toa new state.
* cannot clone across regions.
* limit of 15 clones based on a copy.
Incorcect. take a backup of auora mysql using mysqldump, create new dbs, restore from backup.
Manual failover process with ALB and Route53, to point to a secondary ALB in a different AZ. How to improve
Enable route 53 health check, for individual ELB nodes in each AZ. automatically routes traffic away from unhealthy ALB and AZ.
dup
dup
web app for ambulance management. workload can be managed on 2 EC2 instances and can peak to 6 with traffic. There are 3 AZ , be careful. Which option is best fit.
incorrect: Min capacity of 2 with 1 instance in each AZ, max 6 (my selection)
* problem with this is that if an AZ goes down, there is only 1 instance.
* question is misleading to have 3 zones in the first place. be careful. with HA planning, you can lose a zone and still need the min spec in one zone
correct: Min capacity 4 with 2 instances in each AZ, max 6
mobile apps that capture and send data to kinesis data streams, getting an exception ProvisionedThroughputExceededException, messages sent one by one at a high rate. Keep costs at a minimum. Options to fix:
incorrect: increase the number of shards. “short term fix but increased cost”
correct: use batch messages - to increase throughput and reduce overhead, batching can use parallel http requests, at no extra cost.
Healthcare HIPAA compliant in memory database that supports caching the results of SQL queries. options
correct: ElastiCache for Redis/memcached
* Redis only - HIPAA compliant and PCI compliant
* no mention of SQL queries but read the question carefully, the cache is often used with SQL dbs to cache results.
company has mircoservices with 4 example urls and some subdomains. wantss to use one LB to route requests
correct: application LB can route based on
* host based routing domains, wildcards, subdomains
* path based routing
* http header
* http method
* query string param
* source ip address or cidr range
dup
dup
company wants to use Web app filewall WAF to protect EC2 data. How to use WAF
incorrect: WAF can be directly configured only on an ALB or API gateway, then from there to EC2
* the problem is the word only, trick question. @$#%
correct: Cloudfront in front of EC2 Deploy, WAF on Cloudfront
* WAf is tightly integrated with CF and ALB, and api gateway. the problem was with the wording of the question for ALB and api gw.