Oracle Cloud Platform Data Integration 2020 Specialist — Question 43

You are a consumer of Oracle Cloud Infrastructure (OCI) Streaming service.
Which API should you use to read and process the stream? (Choose the best answer.)

Answer options

Correct answer: B

Explanation

The correct answer is B, GetMessages, which is specifically designed to retrieve messages from the stream in OCI. The other options, such as A, ListMessages, and D, ReadMessages, do not provide the correct functionality for processing the stream, while C, GetObject, is related to object storage and not applicable to the streaming service.