84.7k views
2 votes
With SQS_________, when you retrieve messages from the queue, Amazon SQS samples a subset of the servers (based on a weighted random distribution) and returns messages from just those servers.

A. short polling
B. long polling
C. delay queues
D. None of the above

1 Answer

4 votes

Final answer:

The sampling method in situation a is convenience sampling and the method in situation b is cluster sampling.

Step-by-step explanation:

The sampling method used in situation a is convenience sampling. The woman in the airport is selecting travelers who are sitting near gates and not taking naps while they wait, which is convenient for her to approach. This method may introduce bias as it does not include all travelers in the evaluation.

The sampling method used in situation b is cluster sampling. The teacher is randomly selecting rows two and five and then calling on all students in those rows. By selecting rows as clusters and including all students in the selected rows, she is able to efficiently obtain a sample of students for her inquiry.

User Karel
by
8.1k points