PrepAway - Latest Free Exam Questions & Answers

What is the role of the PollForTask action when it is c…

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

Pipeline?

PrepAway - Latest Free Exam Questions & 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.

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.

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.
http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_PollForTask.html


Leave a Reply

Your email address will not be published. Required fields are marked *