nerdexam
Microsoft

70-489 · Question #11

You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST} API for search. The site collections in the app have been crawled recently and use the default searc

Sign in or unlock 70-489 to reveal the answer and full explanation for question #11. The question stem and answer options stay visible for context.

Plan and implement a search solution

Question

You develop a SharePoint app for a toy company that uses the Representational State Transfer (REST} API for search. The site collections in the app have been crawled recently and use the default search schema. The app includes the following code segment: (Line numbers are included for reference only.) You create the following result sources. You need to ensure that the app only displays PDF documents. Which code segment should you insert at line 03?

Exhibits

70-489 question #11 exhibit 1
70-489 question #11 exhibit 2

Options

  • Avar resultSourceId = "Site PDF";
  • Bvar resuitSourceId = "4C50FE18-B254-47A1-ABAD-0B6C4577D914";
  • Cvar resultSourceId = "0F41A999-523A-41ED-AAAD-9D414A0FC3B4";
  • Dvar resultSourceId = "82951A0C-6385-4E29-8D7F-4AB92FE9F536";

Unlock 70-489 to see the answer

You've previewed enough free 70-489 questions. Unlock 70-489 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#REST API#search result sources#file type filter#result source GUID
Full 70-489 Practice