exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 250 discussion

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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Sizuma
2 years, 9 months ago
C CORRECT Task runners call PollForTask to receive a task to perform from AWS Data Pipeline. The task runner specifies which tasks it can perform by setting a value for the workerGroup parameter.
upvoted 1 times
...
hilft
2 years, 10 months ago
C. I got to memorize this. Never saw it
upvoted 1 times
...
01037
3 years, 7 months ago
C easy one
upvoted 2 times
bamjive06
3 years, 7 months ago
Sounds like you're DevOps ready mate ;)
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...