nerdexam
Microsoft

PL-400 · Question #340

You are developing a Power Platform solution. The solution connects to a third-party accounting system by using a Web API through a Power Apps app that automatically exchanges contacts with the sales

The correct answer is A. Prefer: odata.track-changes. To synchronize only new or changed data from a third-party accounting system via a Web API, the Prefer: odata.track-changes header should be included in the API request.

Submitted by andreas_gr· Apr 18, 2026

Question

You are developing a Power Platform solution. The solution connects to a third-party accounting system by using a Web API through a Power Apps app that automatically exchanges contacts with the sales data. You have the following code: (Line numbers are included for reference only.) You need to ensure that the code only synchronizes data that was not previously synchronized. Which code segment should you insert at line 02?

Exhibit

PL-400 question #340 exhibit

Options

  • APrefer: odata.track-changes
  • BPrefer: odata.allow-entityreferences
  • CPrefer: odata.include-annotations

How the community answered

(38 responses)
  • A
    84% (32)
  • B
    5% (2)
  • C
    11% (4)

Why each option

To synchronize only new or changed data from a third-party accounting system via a Web API, the `Prefer: odata.track-changes` header should be included in the API request.

APrefer: odata.track-changesCorrect

The `odata.track-changes` preference header, when used with OData Web API requests, enables the delta query functionality, allowing the client to retrieve only the changes (creations, updates, and deletions) that have occurred since the last request. This ensures that only unsynchronized data is exchanged, optimizing data transfer.

BPrefer: odata.allow-entityreferences

The `odata.allow-entityreferences` header is used to allow entity references in a request body, typically for creating relationships between entities, not for tracking data changes.

CPrefer: odata.include-annotations

The `odata.include-annotations` header is used to request that specific annotations, such as formatted values or lookup property names, be included in the response, not for managing data synchronization of changes.

Concept tested: OData Delta Query for data synchronization

Source: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/track-changes-using-delta-query

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice