ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 628 - SAP-C01 discussion

Report
Export

What is the role of the PollForTask action when it is called by a task runner in AWS Data Pipeline?

A.
It is used to retrieve the pipeline definition.
Answers
A.
It is used to retrieve the pipeline definition.
B.
It is used to report the progress of the task runner to AWS Data Pipeline.
Answers
B.
It is used to report the progress of the task runner to AWS Data Pipeline.
C.
It is used to receive a task to perform from AWS Data Pipeline.
Answers
C.
It is used to receive a task to perform from AWS Data Pipeline.
D.
It is used to inform AWS Data Pipeline of the outcome when the task runner completes a task.
Answers
D.
It is used to inform AWS Data Pipeline of the outcome when the task runner completes a task.
Suggested answer: C

Explanation:

Task runners call PollForTask to receive a task to perform from AWS Data Pipeline. If tasks are ready in the work queue, PollForTask returns a response immediately. If no tasks are available in the queue, PollForTask uses long-polling and holds on to a poll connection for up to 90 seconds, during which time any newly scheduled tasks are handed to the task agent. Your remote worker should not call PollForTask again on the same worker group until it receives a response, and this may take up to 90 seconds.

Reference: http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PollForTask.html

asked 16/09/2024
JULIUS BALNEG
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first