ExamQuestions.com

Register
Login
AWS Certified Machine Learning Specialty Exam Questions

Amazon

AWS Certified Machine Learning Specialty

41 / 258

Question 41:

You work as a machine learning specialist at a hedge fund. You are working on a time-series price prediction model for the firm, and you have set up a data delivery stream using Amazon Kinesis Data Streams. You are creating the data producer application code to take trade data from your trade system and send the trade records to your Kinesis Data Stream. Your python code is structured as follows:
import boto3
import requests
import json
client =boto3.client(‘kinesis’, region_name=’us-east1’)
while True:
 r = requests.get(‘https://trading-applicatio-url’)
 data = json.dumps(r.json())
 client.put_record(
 parameters needed for put_record api call
 )
 ...
Which of the following options are valid put_record request parameters? Select 3. 

Answer options:

A.Data
B.ImplicitHashKey
C.ExplicitHashKey
D.PartitionKeys
E.SequenceNumberForOrdering
F.ShardId