SAP-C02 学习助手

SAP-C02 第 78 题

EC2 IAM Config

题目

A company recently completed the migration from an on-premises data center to the AWS Cloud by using a replatforming strategy. One of the migrated servers is running a legacy Simple Mail Transfer Protocol (SMTP) service that a critical application relies upon. The application sends outbound email messages to the company’s customers. The legacy SMTP server does not support TLS encryption and uses TCP port 25. The application can use SMTP only. The company decides to use Amazon Simple Email Service (Amazon SES) and to decommission the legacy SMTP server. The company has created and validated the SES domain. The company has lifted the SES limits. What should the company do to modify the application to send email messages from Amazon SES?

中文翻译:
一家公司最近使用平台重构策略完成了从本地数据中心到 AWS 云的迁移。其中一台迁移的服务器正在运行关键应用程序所依赖的旧版简单邮件传输协议 (SMTP) 服务。该应用程序向公司的客户发送出站电子邮件。旧版 SMTP 服务器不支持 TLS 加密并使用 TCP 端口 25。应用程序只能使用 SMTP。该公司决定使用 Amazon Simple Email Service (Amazon SES) 并停用旧版 SMTP 服务器。该公司已创建并验证了 SES 域。该公司已取消 SES 限制。公司应该如何修改应用程序以从 Amazon SES 发送电子邮件?

选项

A. Configure the application to connect to Amazon SES by using TLS Wrapper. Create an IAM role that has ses:SendEmail and ses:SendRawEmail permissions. Attach the IAM role to an Amazon EC2 instance.

中文翻译:
配置应用程序以使用 TLS Wrapper 连接到 Amazon SES。创建具有 ses:SendEmail 和 ses:SendRawEmail 权限的 IAM 角色。将 IAM 角色附加到 Amazon EC2 实例。

B. Configure the application to connect to Amazon SES by using STARTTLS. Obtain Amazon SES SMTP credentials. Use the credentials to authenticate with Amazon SES.

中文翻译:
配置应用程序以使用 STARTTLS 连接到 Amazon SES。获取 Amazon SES SMTP 凭证。使用凭证通过 Amazon SES 进行身份验证。

C. Configure the application to use the SES API to send email messages. Create an IAM role that has ses:SendEmail and ses:SendRawEmail permissions. Use the IAM role as a service role for Amazon SES.

中文翻译:
配置应用程序以使用 SES API 发送电子邮件。创建具有 ses:SendEmail 和 ses:SendRawEmail 权限的 IAM 角色。使用 IAM 角色作为 Amazon SES 的服务角色。

D. Configure the application to use AWS SDKs to send email messages. Create an IAM user for Amazon SES. Generate API access keys. Use the access keys to authenticate with Amazon SES.

中文翻译:
配置应用程序以使用 AWS 开发工具包发送电子邮件。为 Amazon SES 创建 IAM 用户。生成 API 访问密钥。使用访问密钥通过 Amazon SES 进行身份验证。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 配置应用程序以使用 STARTTLS 连接到 Amazon SES。获取 Amazon SES SMTP 凭证。使用凭证通过 Amazon SES 进行身份验证。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:...

登录后查看完整解析