exam questions

Exam 70-331 All Questions

View all questions & answers for the 70-331 exam

Exam 70-331 topic 1 question 22 discussion

Actual exam question from Microsoft's 70-331
Question #: 22
Topic #: 1
[All 70-331 Questions]

DRAG DROP -
A SharePoint environment includes an enterprise search application. You are configuring the search application crawl schedule for a specific farm.
You plan to configure the crawl schedule at set intervals of 15 minutes on a continuous basis. The relevant information for the farm is shown in the following graphic.

You need to ensure that search results are fresh and up-to-date for all SharePoint sites in the environment.
Which Windows PowerShell cmdlets should you run? (To answer, drag the appropriate cmdlets to the correct variable or variables in the answer area. Each cmdlet may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
* Get-SPEnterpriseSearchServiceApplication
Returns the search service application for a farm.
------------------EXAMPLE------------------
$ssa = Get-SPEnterpriseSearchServiceApplication Identity MySSA This example obtains a reference to a search service application named MySSA.
Example2:
-----------------EXAMPLE------------------
$searchapp = Get-SPEnterpriseSearchServiceApplication " SearchApp1" $contentsource = Get- SPEnterpriseSearchCrawlContentSource -SearchApplication
$searchapp -Identity "Local SharePoint Sites" $contentsource.StartFullCrawl()
This example retrieves the default content source for the search service application, SearchApp1, and starts a full crawl on the content source.
* Set-SPEnterpriseSearchCrawlContentSource
Sets the properties of a crawl content source for a Search service application.
This cmdlet contains more than one parameter set. You mayonly use parameters from one parameter set, and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet Parameter Sets. The Set-SPEnterpriseSearchCrawlContentSource cmdlet updates the rules of a crawl content source when the search functionality is initially configured and after any new content source is added. This cmdlet is called once to set the incremental crawl schedule for a content source, and it is called again to set a full crawl schedule. www.dump4certs.com
* Incorrect: Get-SPEnterpriseSearchCrawlContentSource
Returns a crawl content source.
The Get-SPEnterpriseSearchCrawlContentSource cmdlet reads the content source when the rules of content source are created, updated, ordeleted, or reads a
CrawlContentSource object when the search functionality is initially configured and after any new content source is added.
Reference: Set-SPEnterpriseSearchCrawlContentSource
---------------------------------------------------------------------------------------------------------------------------------------------- gerfield01 (DE, 15.07.15):
The given answer is wrong it must set to the follwoing Values.
$corpsearchapp = Get-SPEnterpriseSearchServiceApplication "Search Service Application" $contentsource = Get-SPEnterpriseSearchCrawlContentSource -
SearchApplication $searchapp "" $cs | Set-SPEnterpriseSearchCrawlContentSource -EnableContinousCrawls 1
If you enable continuous crawling, you do not configure incremental or full crawls.
When you select the option to crawl continuously, the content source is crawled every 15 minutes.

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
Currently there are no comments in this discussion, be the first to comment!
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 ...