exam questions

Exam AZ-203 All Questions

View all questions & answers for the AZ-203 exam

Exam AZ-203 topic 24 question 12 discussion

Actual exam question from Microsoft's AZ-203
Question #: 12
Topic #: 24
[All AZ-203 Questions]

You are developing a mobile instant messaging app for a company.
The mobile app must meet the following requirements:
✑ Support offline data sync.
Update the latest messages during normal sync cycles.

You need to implement Offline Data Sync.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. Retrieve records from Offline Data Sync on every call to the PullAsync method.
  • B. Retrieve records from Offline Data Sync using an Incremental Sync.
  • C. Push records to Offline Data Sync using an Incremental Sync.
  • D. Return the updatedAt column from the Mobile Service Backend and implement sorting by using the column.
  • E. Return the updatedAt column from the Mobile Service Backend and implement sorting by the message id.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️
B: Incremental Sync: the first parameter to the pull operation is a query name that is used only on the client. If you use a non-null query name, the Azure Mobile
SDK performs an incremental sync. Each time a pull operation returns a set of results, the latest updatedAt timestamp from that result set is stored in the SDK local system tables. Subsequent pull operations retrieve only records after that timestamp.
E (not D): To use incremental sync, your server must return meaningful updatedAt values and must also support sorting by this field. However, since the SDK adds its own sort on the updatedAt field, you cannot use a pull query that has its own orderBy clause.
References:
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-offline-data-sync

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
vova12345
Highly Voted 5 years, 1 month ago
answer BD
upvoted 26 times
...
Daltonic75
Highly Voted 5 years, 3 months ago
Repeated: https://www.examtopics.com/exams/microsoft/az-203/view/4/
upvoted 8 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 ...