Developing Microsoft SharePoint Server 2013 Advanced Solutions
Question No: 51 – (Topic 5)
You create a publishing site collection and configure it for anonymous use. The Machine Translation Service (MTS) application is configured and available.
New pages in the site collection must be translated immediately to other languages by using the SharePoint Variations feature and the MTS application.
You need to configure the MTS application to perform translations synchronously. Which code segment should you use?
Explanation: asyncJob SP.Translation.SaveBehavior.alwaysOverwrite Example:
To translate a single file asynchronously:
var clientContext = new SP.ClientContext(quot;serverRelativeUrlquot;); var contextSite = clientContext.get_site();
asyncJob = SP.Translation.TranslationJob.newObject(clientContext, quot;cultureIDquot;); asyncJob.set_outputSaveBehavior(SP.Translation.SaveBehavior.alwaysOverwrite);
Reference: Machine Translation Services in SharePoint 2013
Question No: 52 HOTSPOT – (Topic 5)
You implement eDiscovery in SharePoint to access Exchange Online mailbox data.
You need to ensure that users continue to have access to Exchange Online mailbox data after an In-Place Hold is applied.
On the Exchange admin center page, which option should you select? (To answer, select
the appropriate option in the answer area.)
Question No: 53 – (Topic 5)
A legal company uses SharePoint for document and records management. You search all documents by using extractors and managed properties. FAST Query Language (FQL) is enabled for the result sources, and the content of the document is indexed as full text. All documents are named by using the following pattern: quot;AAA-Axxxx-AAquot;.
You must find documents that were created in May 2012 and contain the ordered keywords quot;liablequot;, quot;advocatequot;, and quot;adjudicationquot;. Results that are returned must include only document names that begin with quot;HCT-Qquot; and end only with quot;ABquot;.
You need to create the FQL query that returns the required results.
Which FQL statements should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Writegt; =05/01/2012 and writelt;=05/31/2012
string(#39;liable advocate adjudicationquot;, mode=quot;onearquot;)
NEAR (liable, advocate, adjudication)
F. write:range (2012-05-01, 2012-05-31)
Answer: B,D,F Explanation: B (not E):
The ordered variant ofNEAR, and requires an ordered match of the terms. TheONEARoperator can be used to restrict the result set to items that haveNterms within a certain distance of Returns only items that don’t match the operand. The operand may be any valid FQL expression.one another.
D (not C):
All documents are named by using the following pattern: quot;AAA-Axxxx-AAquot;.
Results that are returned must include only document names that begin with quot;HCT-Qquot; and end only with quot;ABquot;.
F (not A):
Range. Enables range matching expressions. The RANGE operator is used for numeric and date/time managed properties.
FQL provides the datetime data type for date and time.
The following ISO 8601-compatible datetime formats are supported in queries: YYYY-MM-DD
YYYY-MM-DDThh:mm:ss YYYY-MM-DDThh:mm:ssZ YYYY-MM-DDThh:mm:ssfrZ
Reference: FAST Query Language (FQL) syntax reference
Question No: 54 DRAG DROP – (Topic 5)
You develop a SharePoint app for Contoso, Ltd. Contoso has offices in several countries. All of the local offices in each country are connected by using a Wide Area Network (WAN).
Users store large data files in SharePoint document libraries. The users report that the files load very slowly.
You need to ensure that the files are cached the first time that the files are opened at a local office.
How should you complete the Windows PowerShell cmdlet? (To answer, drag the appropriate code segment to the correct targets in the answer area. Each code segment 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.)
Question No: 55 HOTSPOT – (Topic 5)
You work for a company named Contoso, Ltd. that sells computer parts. You tag inventory lists by using a term set named Computer Parts Classification. The term set is structured as follows.
You must create a console application that accesses the SharePoint site and you must add a ClientContext object named ctx. You need to create a term named i7-2600K that is a child of the CPU node and add a shared property to the i7-2600K term.
How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)
Question No: 56 DRAG DROP – (Topic 5)
You develop a feature in a SharePoint solution by using Visual Studio 2012. You insert several breakpoints in the feature event receiver to debug performance issues.
You need to ensure that the code stops running when the solution reaches a breakpoint.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Debugging Feature Event Receivers
By default, when you run a Visual Studio SharePoint application, its features are automatically activated for you on the SharePoint server. However, this causes problems when you debug feature event receivers, because when a feature is activated by Visual Studio, it runs in a different process than the debugger. This means that some debugging functionality, such as breakpoints, will not work correctly.
To disable the automatic activation of the feature in SharePoint and allow proper debugging of Feature Event Receivers, set the value of the project#39;s Active Deployment Configuration property to No Activation before debugging. Then, after you start to debug your SharePoint application in Visual Studio, manually activate the feature in SharePoint. To activate the feature, open the Site Actions menu in SharePoint, choose Site Settings, choose the Manage Site Features link, and then choose the Activate button next to the feature, to continue debugging as normal.
Question No: 57 – (Topic 5)
You use Visual Studio to design a SharePoint solution for a company that sells wine to customers around the world.
The solution must return the total number of cases sold per country. The solution also must allow employees to sort cases of wine that are returned. Employees must sort cases by country, date, and reason for the return.
You need to configure the solution to meet the requirements.
Which steps should you take? (Each correct answer presents part of the solution. Choose all that apply.)
Add a Refinement Web Part to the page.
Configure the query for the Content Search Web Part.
Add country as a property filter to the Search Results Web Part.
Add a Calendar Web Part to the page.
Answer: A,B,C Explanation: A:
Employees must sort cases by country, date, and reason for the return.
On the REFINERS tab, you can choose to limit returned results by adding preselected refiners to your query.
You can specify that the search results that are returned in the Search Results Web Part should be limited to one or more values from the refiners. The list shows all managed properties that are enabled as refiners in the search schema.
B: The Search Results Web Part shows the search results of a query that was entered in a Search Box Web Part.
C: From question:
The solution must return the total number of cases sold per country.
* Use property filters to query the content of managed properties that are set to queryable in the search schema.
Question No: 58 – (Topic 5)
You have a SharePoint farm. You create a web service that connects to an extension point in the Search service. The web service processes string content and returns the string in all capitalized letters.
The web service includes the properties in the following table.
You start the SharePoint Management Shell. You create the following Windows PowerShell cmdlet: (Line numbers are included for reference only.)
You need to complete the Windows PowerShell cmdlet to register the Content Enrichment service.
Which code segment should you insert at line 04?
Question No: 59 DRAG DROP – (Topic 5)
You develop a .NET application named SPUserProfiles for a company called Contoso, Ltd.
SPUserProfiles communicates with a SharePoint app by using SharePoint Web Services. The SharePoint web service reference name is ProfileService. SPUserProfiles includes the following code segment: (Line numbers are included for reference only.)
You need to implement the UpdatePhoneNumber method.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct target locations in the answer area. Each code segment 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.)
Question No: 60 DRAG DROP – (Topic 5)
You develop a SharePoint app that includes microblog posts and conversations for a company named Contoso, Ltd.
You must use various programming object models to determine the number of unread mentions in microblog posts for the current user.
You need to call methods for different programming object models.
How should you create the method calls? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment 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.)
100% Free Download!
–Download Free Demo:70-489 Demo PDF
100% Pass Guaranteed!
–Download 2018 EnsurePass 70-489 Full Exam PDF and VCE
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|