每天半小时搞定 AoAWS (十一)

本文探讨了在AWS中如何通过S3桶的生命周期配置管理日志文件,使用AWS EFS作为EC2实例的文件系统,以及利用AWS Elastic Beanstalk进行NGINX应用的可扩展部署。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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


38.Development teams in your organization use S3 buckets to store log files for various applications hosted in AWS development environments.
The developers intend to keep the logs for a month for troubleshooting purposes, and subsequently purge the logs.
What feature will enable this requirement?
A. Adding a bucket policy on the S3 bucket.
B. Configuring lifecycle configuration rules on the S3 bucket.
C. Creating an IAM policy for the S3 bucket.
D. Enabling CORS on the S3 bucket. (Sharing resources between regions)

Note:
Lifecycle configuration enables you to specify the Lifecycle management of objects in a bucket. The configuration is a set of one or more rules, where each rule defines an action for Amazon S3 to apply to a group of objects. These actions can be classified as follows:


39.A legacy application needs a proprietary file system.
Which of the following can be used to store data accessible by an EC2 instance?
A. AWS CloudFront
B. AWS S3
C. AWS Glacier
D. AWS EFS

Note:
Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud. Amazon EFS is easy to use and offers a simple interface that allows you to create and configure file systems quickly and easily. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it. When mounted on Amazon EC2 instances, an Amazon EFS file system provides a standard file system interface and file system access semantics, allowing you to seamlessly integrate Amazon EFS with your existing applications and tools. Multiple Amazon EC2 instances can access an Amazon EFS file system at the same time, allowing Amazon EFS to provide a common data source for workloads and applications running on more than one Amazon EC2 instance. For more information on AWS EFS, please visit the following URL: (https://aws.amazon.com/efs/)
Note that the Amazon EFS is not supported on Windows instances.


40.What options can be used to host an application that uses NGINX and is scalable at any point in time?
Choose 2 correct answers
A.AWS EC2
B.AWS Elastic Beanstalk
C.AWS SQS
D.AWS ELB

Note:
AWS Elastic Beanstalk 是一项易于使用的服务,用于在熟悉的服务器(例如 Apache 、Nginx、Passenger 和 IIS )上部署和扩展使用 Java、.NET、PHP、Node.js、Python、Ruby、GO 和 Docker 开发的 Web 应用程序和服务。
您只需上传代码,Elastic Beanstalk 即可自动处理包括容量预配置、负载均衡、自动扩展和应用程序运行状况监控在内的部署工作。同时,您能够完全控制为应用程序提供支持的 AWS 资源,并可以随时访问底层资源。
Elastic Beanstalk 不额外收费 – 您只需为存储和运行应用程序所需的 AWS 资源付费。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值