每天半小时搞定 AoAWS (四)

Architecting on AWS 学习笔记系列文章导航页面


17.Solutions Architect is developing a document sharing application and needs a storage layer.
The storage should provide automatic support for versioning so that users can easily roll back to a previous version or recover a deleted documents. Which AWS service will meet the above requirements?
A. Amazon S3
B. Amazon EBS
C. Amazon EFS
D. Amazon Storage Gateway VTL

Note:
Amazon S3 is the perfect storage layer for storing documents and other types of static objects. For more information on Amazon S3, please visit the following URL: (https://aws.amazon.com/s3/)

EBS provides persistent block storage volumes for use with EC2.

EFS is an elastic and scalable file storage for Linux OS.

AWS Storage Gateway VTL helps to integrate your on premise IT infrastructure with AWS storage.


18.Application allows a manufacturing site to upload files. Each uploaded 3 GB file is processed to extract metadata, and this process takes a few seconds per file.
The frequency at which the uploads happen is unpredictable. For instance, there may be no updates for hours, followed by several files being uploaded concurrently. What architecture addresses this workload in the most cost efficient manner?
A. Use a Kinesis Data Delivery Stream to store the file. Use Lambda for processing.
B. Use an SQS queue to store the file, to be accessed by a fleet of EC2Instances
C. Store the file in an EBS volume, which can then be accessed by another EC2 Instancefor processing.
D. Store the file in an S3 bucket. Use Amazon S3 event notification to invoke aLambda function for file processing.

Note:
You can first create a Lambda function with the code to process the file. You can then use an Event Notification from the S3 bucket to invoke the Lambda function whenever a file is uploaded. For more information on Amazon S3 event notification, please visit the following URL: (https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html)

Kinesis is used to collect, process and analyze real time data.

The frequency of updates is quite unpredictable. By default, SQS uses short polling. In this case, it will lead to the cost factor going up since we are getting messages in an unpredictable manner and many a times it will be returning empty responses.


19.A company is migrating an on-premises 10TB MySQL database to AWS.
With a business requirement that the replica lag be under 100 milliseconds, the company expects this database to quadruple in size.
Which Amazon RDS engine meets the above requirements?
A. MySQL
B. Microsofr SQL Server
C. Oracle
D. Amazon Aurora

Note:
Amazon Aurora (Aurora) is a fully managed, MySQL- and PostgreSQL-compatible, relational database engine. It combines the speed and reliability of high-end commercial databases with the simplicity and cost-effectiveness of open-source databases. It delivers up to five times the throughput of MySQL and up to three times the throughput of PostgreSQL without requiring changes to most of your existing applications. All Aurora Replicas return the same data for query results with minimal replica lag—usually much less than 100 milliseconds after the primary instance has written an update. Aurora Cluster can grow up to 64 TB in size and replica lag—is less than 100 milliseconds after the primary instance has written an update.
For more information on AWS Aurora, please visit the following URL: (https://aws.amazon.com/cn/rds/aurora/?nc1=h_ls)


移动端开发前端需要注意以下几点: 1. 理想视口:为了在移动端有最理想的浏览和阅读宽度,需要设置理想视口。理想视口的宽度应该与设备的宽度一致,可以通过添加meta视口标签来实现。\[1\] 2. 布局方式:在移动端开发中,可以选择不同的布局方式,如流式布局、flex弹性布局、less+rem+媒体查询布局、混合布局等。根据项目需求和开发经验选择合适的布局方式。\[2\] 3. 响应式布局:响应式布局是一种能够适应不同屏幕尺寸的布局方式。通过使用媒体查询来适配不同的屏幕尺寸,使页面在不同设备上都能有良好的显示效果。\[2\] 4. 文件结构:在搭建移动端开发的文件结构时,需要考虑到不同设备的兼容性和性能优化。合理组织文件结构,减少不必要的请求和文件大小,提高页面加载速度。\[2\] 总结起来,移动端开发前端需要注意理想视口的设置、选择合适的布局方式、使用响应式布局和优化文件结构等方面。这些注意事项可以帮助开发者在移动端上实现良好的用户体验。 #### 引用[.reference_title] - *1* *3* [前端开发移动端基础](https://blog.youkuaiyun.com/u013773608/article/details/110735612)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* [Web前端开发 移动端开发(快速入门)](https://blog.youkuaiyun.com/weixin_46127956/article/details/127800253)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值