Architecting on AWS 学习笔记系列文章导航页面
62.A database is being hosted using the AWS RDS service.
This database is to be made into a production database and is required to have high availability. Which of the following can be used to achieve this requirement?
A. Use Multi-AZ for the RDS instance to ensure that a secondary database is created in another region.
B. Use the Read Replica feature to create another instance of the DB in another region.
C. Use Multi-AZ for the RDS instance to ensure that a secondary database is created in another Availability Zone.
D. Use the Read Replica feature to create another instance of the DB in another Availability Zone.
Note:
Option A is incorrect because the Multi-AZ feature allows for high availability across Availability Zones and not regions. And for a production env, across region deploy will cause to time delay, but it will provide high availability to adapty natural disaster.
Options B and D are incorrect because Read Replicas can be used to offload database reads. But if you want high availability then opt for the Multi-AZ feature.
AWS Documentation mentions the following: Amazon RDS Multi-AZ deployments provide enhanced availability and durability for Database (DB) Instances, making them a natural fit for production database workloads. When you provision a Multi-AZ DB Instance, Amazon RDS automatically creates a primary DB Instance and synchronously replicates the data to a standby instance in a different Availability Zone (AZ). For more information on AWS RDS Multi-AZ, please visit the f ollowing URL:(https://aws.amazon.com/rds/details/multi-az/)
63.A company wants to host a web application and a database layer in AWS.
This will be done with the use of subnets in a VPC. Which of the following is a proper architectural design for supporting the required tiers of the application?
A. Use a public subnet for the web tier and a public subnet of r the database layer.
B. Use a public subnet for the web tier and a private subnet for the database layer.
C. Use a private subnet for the web tier and a private subnet for the database layer.
D. Use a private subnet for the web tier and a public subnet of r the database layer.
Note:
The ideal setup is to ensure that the web server is hosted in the public subnet so that it can be accessed by users on the internet.
The database server can be hosted in the private subnet. For more information on public and private subnets in AWS, please visit the following URL: (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html)
64.You require the ability to analyze a customer’s clickstream data on a website so they can do a behavioral analysis.
Your customer needs to know what sequence of pages and ads their customer clicked on. This data will be used in real time to modify the page layouts as customers click through the site to increase stickiness and advertising click-through. Which option meets the requirements for capturing and analyzing this data?
A. Log clicks in weblogs by URL store to Amazon S3, and then analyze with Elastic MapReduce.
B. Push web clicks by session to Amazon Kinesis and analyze behavior using Kinesis workers.
C. Write click events directly to Amazon Redshift and then analyze with SQL.
D. Publish web clicks by session to an Amazon SQS queue. Then send the events to AWS RDS for further processing.
Note:
The AWS Documentation mentions the following Amazon Kinesis Data Streams enables you to build custom applications that process or analyze streaming data for specialized needs.
Kinesis Data Streams can continuously capture and store terabytes of data per hour from hundreds of thousands of sources such as website clickstreams, financial transactions, social media feeds, IT logs, and location-tracking events. For more information on Amazon Kinesis, please visit the following URL: (https://aws.amazon.com/kinesis/data-streams/)