SAP-C02 学习助手

SAP-C02 第 414 题

Lambda Step Functions

题目

A retail company is mounting IoT sensors in all of its stores worldwide. During the manufacturing of each sensor, the company’s private certificate authority (CA) issues an X.509 certificate that contains a unique serial number. The company then deploys each certificate to its respective sensor. A solutions architect needs to give the sensors the ability to send data to AWS after they are installed. Sensors must not be able to send data to AWS until they are installed. Which solution will meet these requirements?

中文翻译:
一家零售公司正在其全球所有商店安装物联网传感器。在每个传感器的制造过程中,该公司的私人证书颁发机构 (CA) 会颁发包含唯一序列号的 X.509 证书。然后,该公司将每个证书部署到其各自的传感器。解决方案架构师需要让传感器能够在安装后将数据发送到 AWS。传感器在安装之前不得将数据发送到 AWS。哪种解决方案可以满足这些要求?

选项

A. Create an AWS Lambda function that can validate the serial number. Create an AWS IoT Core provisioning template. Include the SerialNumber parameter in the Parameters section. Add the Lambda function as a pre-provisioning hook. During manufacturing, call the RegisterThing API operation and specify the template and parameters.

中文翻译:
创建可以验证序列号的 AWS Lambda 函数。创建 AWS IoT Core 预置模板。在“参数”部分中包含“序列号”参数。添加 Lambda 函数作为预配置挂钩。生产过程中,调用RegisterThing API操作并指定模板和参数。

B. Create an AWS Step Functions state machine that can validate the serial number. Create an AWS IoT Core provisioning template. Include the SerialNumber parameter in the Parameters section. Specify the Step Functions state machine to validate parameters. Call the StartThingRegistrationTask API operation during installation.

中文翻译:
创建可以验证序列号的 AWS Step Functions 状态机。创建 AWS IoT Core 预置模板。在“参数”部分中包含“序列号”参数。指定 Step Functions 状态机以验证参数。安装过程中调用StartThingRegistrationTask API操作。

C. Create an AWS Lambda function that can validate the serial number. Create an AWS IoT Core provisioning template. Include the SerialNumber parameter in the Parameters section. Add the Lambda function as a pre-provisioning hook. Register the CA with AWS IoT Core, specify the provisioning template, and set the allow-auto-registration parameter.

中文翻译:
创建可以验证序列号的 AWS Lambda 函数。创建 AWS IoT Core 预置模板。在“参数”部分中包含“序列号”参数。添加 Lambda 函数作为预配置挂钩。向 AWS IoT Core 注册 CA,指定预置模板并设置 allowed-auto-registration 参数。

D. Create an AWS IoT Core provisioning template. Include the SerialNumber parameter in the Parameters section. Include parameter validation in the template. Provision a claim certificate and a private key for each device that uses the CA. Grant AWS IoT Core service permissions to update AWS IoT things during provisioning.

中文翻译:
创建 AWS IoT Core 预置模板。在“参数”部分中包含“序列号”参数。在模板中包含参数验证。为使用 CA 的每个设备提供声明证书和私钥。授予 AWS IoT Core 服务权限以在预置期间更新 AWS IoT 事物。

答案

C

解析

正确答案:C 解析: 本题应选择 C。 正确选项: C. 创建可以验证序列号的 AWS Lambda 函数。创建 AWS IoT Core 预置模板。在“参数”部分中包含“序列号”参数。添加 Lambda 函数作为预配置挂钩。向 AWS IoT Core 注册 CA,指定预置模板并设置 allowed-auto-registration 参数。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干...

登录后查看完整解析