exam questions

Exam AZ-200 All Questions

View all questions & answers for the AZ-200 exam

Exam AZ-200 topic 2 question 11 discussion

Actual exam question from Microsoft's AZ-200
Question #: 11
Topic #: 2
[All AZ-200 Questions]

HOTSPOT -
You have an app that stores player scores for an online game. The app stores data in Azure tables using a class named PlayerScore as the table entity. The table is populated with 100,000 records.
You are reviewing the following section of code that is intended to retrieve 20 records where the player score exceeds 15,000. (Line numbers are included for reference only.)

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: No -

Box 2: Yes -
The TableQuery.Take method defines the upper bound for the number of entities the query returns.
Example:
query.Take(10);

Box 3: Yes -

Box 4: Yes -
References:
https://www.vkinfotek.com/azureqa/how-do-i-query-azure-table-storage-using-tablequery-class.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
AzureFailedLearner
4 years, 5 months ago
I think boxes 3 and 4 should be No. -Box 3: If the api is going to ignore the query and send all data to the client, what's the point? -Box4: It's not a field in the select so shouldn't be retrieved.
upvoted 1 times
ligi
3 years, 11 months ago
Agree Box3 is No, maximum 20 records will sent to client with condition score >= 15000 Box4:Yes, beacuse PlayerID is Key of KeyValuePairs
upvoted 1 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 ...