問題文
An app has to learn that a person joined a channel, and it also has to write a welcome note into that channel. Which pair of mechanisms matches those two jobs?
選択肢
- Subscribe to an event for the arrival and call a Web API method for the note, because the platform pushes facts and the app pulls actions.
- Open a socket for the arrival and open a second socket for the note, because the platform streams facts and the app streams orders.
- Poll a Web API method for the arrival and call a Web API method for the note, because the platform hides facts and the app repeats calls.
- Subscribe to an event for the arrival and read a stored log for the note, because the platform pushes facts and the app scans records.