Microsoft Microsoft SharePoint Applications

Microsoft 70-489 Practice,Most Popular Microsoft 70-489 Practice Questions Are Based On The Real Exam

Flydumps Microsoft Certification Microsoft 70-489 exam questions which contain almost 100% correct answers are tested and approved by senior Microsoft lecturers and experts.They have been devoting themselves to providing candidates with the best study materials to make sure what they get are valuable.

Testlet 1
Topic 1, Trey Research
Background
You develop an intranet portal for Trey Research. End users of the portal are researchers and office staff.
Business Requirements
All end users must be able to customize their profile with relevant information. Researchers must store research papers, upload supporting documents, and search content.
Storage
The portal must use an existing Microsoft SQL Server database to access and store work profile information and research papers.
Data Access
The portal must use Business Connectivity Services (BCS) to access data
from external systems.
Researchers must search content from SharePoint and external systems.

Researchers must manage a research topic and related content as a single
entity.

User Profile
Employees must be able to customize their profile.

Administrators must be able to create new profile properties.
Technical Requirements

Data Store
The data model for the database entities is shown below:

Users must not be allowed to update the Employees.Username and ResearchPapers.ID fields. The fields uniquely distinguish the corresponding entity.
Access External Data
You must create an external content type named TreyResearch to access
the SQL data source. During development, the data source will be
accessible locally.
You must develop an app to access the fields named Employee Name and
Research Paper Title.
Researchers must be able to find all research papers that are written by a
particular employee.
A research paper always must be associated with the employee that wrote
it.

Document Management
Researchers must be able to upload research papers and relevant
supporting materials into a document set named Research Content.
All the document sets must be stored in a list named ResearchPapers.

All documents that are uploaded must contain the prefix DOC in the file
name.

Environment
The SQL database will be on a different physical server when the solution is deployed to a production environment. The solution must use the SQL Server user named sqltrey to connect to the database. The BCS service is configured and running in the production environment.
Personalize
You must use custom profile properties to add a new section to the user
profile properties page.
The solution must use the client-side object model (CSOM) to upload
employee profile pictures.
Employees must be able to change their display name on the site.

Each employee’s page must display the value of the DisplayName and
Title fields.

Search
The Microsoft Bing API web service must be used to search for research
papers. No code must be written.
The app must use a Content Enrichment web service named
AbstractIndexer. The app must use the AbstractIndexer service to index
search content.
The solution must store large-sized media files in a dedicated SQL Server
database.
The database must use the ResearchPapers.ID field as the foreign key to
associate the field with the TreyResearch external content type.

Application Structure
Relevant portions of the solution files are shown below. (Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to
which they belong.)
App.js

ManageUserProfiles.es ContentManagement.es
QUESTION 1
You need to configure the external content type to search for research papers. Which indexing connector should you use?
A. .NET Type Connector
B. WCF Service Connector
C. Custom Connector
D. SQL Server Connector Correct Answer: B
Explanation Explanation/Reference:
QUESTION 2
You need to generate document identifiers for each new document that is uploaded to the site. What should you do?
A. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.Documentld and then override all of the abstract methods.
B. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentldProvider and then override all of the virtual members.
C. Create a derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentldProvider abstract class and then implement all abstract members.
D. Create a class to implement the Microsoft.Office.DocumentManagement.IDocumentld interface and then override all of the virtual members. Correct Answer: B
Explanation Explanation/Reference:
QUESTION 3
You need to configure authentication to access the SQL data source during development. Which authentication mechanism should you use?
A. Impersonated Windows Identity
B. Pass Through
C. Impersonated Custom Identity
D. Forms Based Authentication Correct Answer: B
Explanation Explanation/Reference:
QUESTION 4
You need to ensure that users can upload pictures. Which code segment should you insert at line MP57?

A. Option A
B. Option B
C. Option C
D. Option D Correct Answer: B
Explanation Explanation/Reference:
QUESTION 5
You need to ensure that employees can change their display name. Which object model should you use?
A. Use the server-side object model.
B. Use a Representational State Transfer (REST) based service.
C. Use the JavaScript object model.
D. Use the .Net client-side object model. Correct Answer: A
Explanation Explanation/Reference:
QUESTION 6
You need to search for research papers that contain media files.
What should you do? {Each correct answer presents part of the solution. Choose all that apply.)

A. Add an Association operation from the ResearchPapers.ID field to the Windows Media Service.
B. Use Remote BLOB storage.
C. Add an Association operation from the ResearchPapers.ID field to the TreyResearch external content type.
D. Create a SQL Server-based external content type. Correct Answer: BD
Explanation Explanation/Reference:
QUESTION 7
You need to configure the Content Enrichment web service to index content from the AbstractIndexer service. What should you do?
A. Set the value of the OutputProperties array to Trigger=True.
B. Set the value of the SendRawData property to false.
C. Configure conditions for the Trigger property.
D. Set the value of the InputProperties property to Trigger=True. Correct Answer: A
Explanation Explanation/Reference:
QUESTION 8
You need to add code to line MP22 to create the custom profile property.
How should you complete the relevant code? (To answer, drag the appropriate code segments to
the correct locations in the answer area. Each code segment may be used once or not at all. You
may need to drag the split bar between panes or scroll to view content.)

Select and Place: Correct Answer:
Explanation
Explanation/Reference:
QUESTION 9
You need to add code to line MP57 to display the required properties for the user profile.
How should you complete the relevant code? (To answer, drag the appropriate code segments to
the correct 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.)

Select and Place: Correct Answer:
Explanation
Explanation/Reference:
QUESTION 10
You need to configure authentication for the external content type in the production
environment.
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.

Select and Place:

Correct Answer: Explanation

Explanation/Reference:
Note:
* From scenario:
You must create an external content type named TreyResearch to access the SQL data source.
During development, the data source will be accessible locally.
The solution must use the SQL Server user named sqltrey to connect to the database.

QUESTION 11
You need to add code at line AJ05 to complete the implementation of the app.
How should you complete the relevant code? (To answer, drag the appropriate code segment to
the correct location 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.)

Select and Place:

Correct Answer: Explanation

Explanation/Reference:
QUESTION 12
You need to create the external content type to support the data model.
In the Return Parameter Configuration dialog box, in the properties section, which options
should you select? (To answer, select the appropriate setting or settings in the answer area.)

Hot Area:

Correct Answer: Explanation

Explanation/Reference:
From scenario:
You must create an external content type named TreyResearch to access the SQL data source.
During development, the data source will be accessible locally.

QUESTION 13
You need to add code to line CM07 to create the Research Content document set.
How should you complete the relevant code? (To answer, select the appropriate option from the
Hot Area:

Correct Answer: Explanation Explanation/Reference: Testlet 1
Topic 2, Lucerne Publishing
Background
You are hired by Lucerne Publishing to design and implement a new public-facing Internet site by using SharePoint. Lucerne Publishing also needs an intranet site to host sensitive documents and content.
Business Requirements

Internet
Content owners must be able to:

Modify content in pages that are published for anonymous site visitors.

Modify search engine optimization (SEO) properties to optimize visibility of the
web site.
Create content in multiple languages and use automatic translation.
Intranet
Each department must have its own site. Each department home page must
display relevant information about the department and contact information for
employees.
Each user is encouraged to create their own blog, on which they will publish
information about current projects and get feedback from other users in the
company.
Personalized content must be displayed for an employee when an employee
accesses the intranet. The page must include a feed that displays updates from
other users’ blog posts.

Technical Requirements

Service Applications
The Internet and intranet web applications must use the Managed Metadata
Service (MMS). Both web applications use a separate MMS service application
and do not share term sets.
The intranet web application uses the User Profile Service Application (UPA).
The intranet uses all available social features of the UPA.
Users follow, mention, and identify documents and people. Users often discuss news by using
hash tags. You must develop an app part that allows the current user to show different top feeds
from user profiles.

Hardware
The hardware that hosts the Internet site must handle thousands of concurrent users.
URLs
The following table lists the URLs that the SharePoint sites will use.

Search Engine Optimization (SEO)
You must implement search engine optimization for the public-facing
Internet site. SharePoint must produce a site map file.
You must publish data from the intranet site to the Internet web site by
using cross-site publishing. You must define a catalog, add the data, and
publish it to the Internet site.
You must create a custom tool that site collection administrators use to
manage catalog connections.
You must define the API calls to remove or update existing catalog
connections.

Filtering
You must enable canonical URL filtering to improve ranking by Internet search engines. The
Internet site that must use canonical filtering has the following URL:
http://www.lucernepublishing.com/products/pages/products.aspx? productID=
<num>&productCategory=<category>
You must define the filters that the site collection administrator uses.

Internet
You publish the Internet site for multiple device types, such as mobile phones and tablet devices.
The solution uses multiple master pages. Device channels select the master page to display based
upon the capabilities of the device that connects to the site.
The following table lists the device channels and master pages that the site uses.
You create a Windows Phone app. When users access the site by using a Windows phone, a message must appear on every page of the mobile site. The message must notify users that they can download the Windows Phone app to their phone. The HTML that contains the message must render only to the Windows phones.
Intranet
Each department must have its own site collection.

Each employee must have Reader permissions to their department site collection.

Employees access the intranet site by using a wide variety of devices.

Some employees report that the home page loads slowly. You investigate the
issue and find out that the size of some images is very large. You must enable
image renditions on the intranet site collection.
You must develop an app part that displays information from the users’ personal
sites and news feeds.

Custom Development
You design an application framework. The framework is used by other
developers on the team. The framework must include entry points that are
used to log errors and exceptions. You need the entry points.
You create a custom Visual Web Part in a solution package. You deploy
the solution package as a farm solution by using Windows PowerShell. An
error message that includes a correlation ID displays when you add the
custom Visual Web Part to a SharePoint site.
You must create a tool to maintain social links. The tool must:

o Allow the current user to follow another user.

o Return true if the target user is currently being followed by
the current user.
You develop a Windows Store app that synchronizes data between the
intranet sites and the app to allow users to work offline.

Performance Improvement
You have not modified the Request Management configuration.

You must implement caching in your custom code to improve the
performance of the company’s intranet site.
The SharePoint front-end web servers are load-balanced. Each request
within a user session can be processed by different front-end web servers.
Objects that are cached must always be available, regardless of which
front-end web server processes the request.
You must monitor the amount of memory that is available and the number
of current requests for each server.

QUESTION 1
You need to configure filtering for the Product page.
Which filtering option should you use?
A. products/pages/products.aspx?productID=*&.productCategory=*
B. products.aspx;productID;productCategory; lucernepublishing.com
C. products; productID; productCategory; lucernepublishing.com
D. products/pages/products.aspx?*
E. productID;productCategory
Correct Answer: E Explanation
Explanation/Reference:
QUESTION 2
You create a custom Visual Web Part. You deploy the solution package to the farm by using Windows PowerShell. When you try to add the custom Visual Web Part to a SharePoint site, an error message displays that includes a correlation ID.
You need to determine the cause of the error.
What should you do? (Each correct answer presents complete solution. Choose all that apply.)
A. Run the Get-SPLogEvent Windows PowerShell cmdlet.
B. Run the Get-SPDiagnosticConfig Windows PowerShell cmdlet.
C. Run the Get-SPHealthAnalysisRule Windows PowerShell cmdlet.
D. View the Service Calls tab on the Developer Dashboard.
E. View the Unified Logging Service (ULS) tab on the Developer Dashboard.
Correct Answer: AE Explanation
Explanation/Reference:
http://ittechnotebook.blogspot.co.uk/2013/07/how-to-find-real-error-in-sharepoint.html
QUESTION 3
You need to implement caching in your code.
Which caching option should you use?
A. Object Cache
B. Distributed Cache
C. Windows Server AppFabric Cache
D. ASP.NET cache
Correct Answer: C Explanation
Explanation/Reference: QUESTION 4
You need to resolve the image loading issue.
What should you do? (Each correct answer presents a part of the solution. Choose all that apply.)
A. Set the size of the site collection object cache to at least 100 MB.
B. Enable the binary large object (BLOB) cache on each front-end web server.
C. Activate the Content Organizer site feature.
D. Enable authenticated cache profiles for the site output cache.
E. Enable publishing features for the site collection.
F. Set the default device channel to the active channel.
Correct Answer: AB Explanation
Explanation/Reference:
A: The object cache is used internally to optimize page rendering by storing properties of sites, page layouts, and pages. The object cache reduces the amount of traffic between the Web server and a SQL database. This results in higher throughput of rendered pages, thereby increasing the number of pages that can be delivered to clients.
B: SharePoint Server 2013 provides a disk-based cache that stores files that are used by web pages to help them load quickly in the browser, and reduces the load on the database server when it uses those files. These files are known as binary large objects (BLOBs), and the cache is known as the BLOB cache. The BLOB cache is stored directly on the hard disk drive of a front- end web server computer.
*
When using Image Rendition you will have to enable BLOBCache to improve performance

*
By using Device Channel Renditions you can create smaller image sizes designed specifically for mobile use. This allows the mobile user to browse the smaller version, increasing the overall performance for the device they are using. Image Rendition enables you to have large files stored within your website along with smaller scaled variations for mobile users. When using Image Rendition you will have to enable BLOBCache to improve performance

From scenario:

*
Some employees report that the home page loads slowly. You investigate the issue and find out that the size of some images is very large. You must enable image renditions on the intranet site collection.
QUESTION 5
You need to raise the visibility of the sites.
What should you do?
A. Enable the Reports and Data Search feature for the site collection.
B. Create a custom timer job that generates the SiteMap.xml file in the root directory of the web application.
C. Add a Script Editor Web Part to the landing page of the publishing site. In the web part, enter the location of the SiteMap.xml file.
D. In Internet Information Services (IIS), enable the SiteMap ISAPI filter for the web application.
E. Enable the Search Engine Sitemap Site Collection feature for the site collection.
Correct Answer: E Explanation
Explanation/Reference:
QUESTION 6
You need to implement connection management for catalog connections.
Which method should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Public void UpdateCatalogConnection(CatalogConnectionSettingscatalogInfo)
B. Public void OnPublishCatalog(string catalogPath)
C. Public void DeleteCatalogConnection(string catalogPath)
D. Public void SetCatalogConnection(string catalogPath, boot disconnect)
Correct Answer: AC Explanation
Explanation/Reference:
From scenario:
You must create a custom tool that site collection administrators use to manage catalog connections.
You must define the API calls to remove (C) or update (A) existing catalog connections.

QUESTION 7
You need to ensure that the data synchronization does not affect the end user experience on the intranet.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: AC Explanation
Explanation/Reference:
QUESTION 8
You need to implement logging.
Which items should you implement? (Each correct answer presents a complete solution. Choose all that apply.)
A. SPDiagnosticsServiceBase.WriteEvent
B. Microsoft.SharePoint.Diagnostics.ULSLogEntry
C. SPUser.Sid
D. PortalLog.LogString
E. SPAlertTemplate
F. SPSecurity.RunWithElevatedPrivileges
Correct Answer: BF Explanation
Explanation/Reference:
F: The SPSecurity.RunWithElevatedPrivileges executes the specified method with Full Control rights even if the user does not otherwise have Full Control.
From Scenario:
You design an application framework. The framework is used by other developers on the team. The framework must include entry points that are used to log
errors and exceptions. You need the entry points.

Incorrect:
Not D: PortalLog.LogString method
This member is reserved for internal use and is not intended to be used directly from your code.

QUESTION 9
You need to retrieve the required performance counters.
What should you do?

A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: B Explanation
Explanation/Reference:
QUESTION 10
You need to implement the social maintenance tool.
How should you complete the relevant code? (To answer, select the appropriate option from each
dropdown list in the answer area.)
Hot Area:

Correct Answer: Explanation

Explanation/Reference:
QUESTION 11
You need to notify Windows phone users about the new Windows phone app.
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.

Select and Place:

Correct Answer: Explanation

Explanation/Reference:
Note:
*
A device channel panel is a container that can be used on a master page or page layout when you want specific content to render based on the alias of a given device channel, or set of channels. For example, you may have a web part or control that you want revealed only on the desktop view of the site, and not on any mobile device. The device channel panel can enable you to encapsulate this web part in code, and enable you to render it only through a designated device channel.

*
From scenario: You create a Windows Phone app. When users access the site by using a Windows phone, a message must appear on every page of the mobile site. The message must notify users that they can download the Windows Phone app to their phone. The HTML that contains the message must render only to the Windows phones.

QUESTION 12
You need to implement the social features.
How should you complete the relevant code? (To answer, select the appropriate option from the
dropdown list in the answer area.)
Hot Area:
Correct Answer:
Explanation Explanation/Reference: Testlet 1

Topic 3, Contoso Ltd
Background
Contoso Ltd. is a global real estate company. You are hired to replace the company’s existing ASP.NET website at http://www.contoso.com with a new SharePoint 2013 public-facing website. The site will display data about the company and information about residential properties that the individual agents in the company are selling. You have SharePoint Server environments for development, staging, and production.
Search
The website has the following requirements:
Site visitors must be able to search for documents that are located
anywhere on the site.
When site visitors search for real estate properties, they must see
information about a property.
When a visitor searches for the word Guidelines, a PDF document named
Real Estate Guidelines must appear at the top of the search results.

Search Engine Optimization
The company wants to ensure that the website displays prominently in Internet search results
when people search for real estate.
The website has the following requirements:

Internet search engines must properly rank pages so that the more popular
pages on the site appear first in the Internet search engine results.
SharePoint must generate the sitemap.xml and robots.txt files that are used
by Internet search engines. When an Internet search engine crawls the site, the search engine must recognize that the following URLs display information about different agents:

http://www.contoso.com/FindAnAgent?agentName=JohnDoe&officeId
=
Sacramento

http://www.contoso.com/FindAnAgent?agentName=JohnDoe&officeId
=
Houston The search engine must recognize that the following URLs display the same information about the same agent:

http://www.contoso.com/FindAnAgent?
agentName=JohnDoe&officeId=Sacramento
http://www.contoso.com/FindAnAgent?agentName=JohnDoe&officeId =
Sacramento8icerts=true

Managed Metadata Service (MMS)
The MMS must include three term sets named Offices, Cities, and Features.
Offices Term Set
The Offices term set has the following requirements:
The Offices term set must be a child of the group named Navigation.

The Offices term set must be configured to use friendly URLs in the
Offices sub-site.
The name for each new office must be added to the Offices term set
programmatically.
The left navigation pane for the Offices page on the website must use the
terms in the Offices term set.
When the company opens a new office, a link for each new office must
display in the left navigation pane.

Cities Term Set
The Cities term set has the following requirements:
The Cities term set must contain a list that contains the names of major
metropolitan areas.
Many of the cities that are included in the Offices term set may also
appear in the Cities term set, but the term sets may not be identical.
If a city is required in both term sets, it must first be added to the Offices
term set before it can be added to the Cities term set.
If a term is changed in the Offices term set, it must automatically change
in the Cities term set.
The term Dallas must have a term ID of {b6ell481-3445-413c-9da0-bl5ae5d5cbd4}.

Features Term Set
You have an Excel file that contains a list of possible features for each property. The Features term set has the following requirements:
The Features term set must contain the terms that describe details about
each property, such as whether the building is a single family house or a
condominium.
The list of possible features must be programmatically imported from the
Excel file into the term store in each server environment.

Web Application
The Internet Information Services (IIS) website contains a folder named _ConfigurationFiles. The web application has the following requirements:
Anonymous access must be enabled on the web application.

Internet search engines must index the site.

Internet search engines must not index the files in the _ConfigurationFiles
folder.

Site Collections and Content
The web application includes the following three site collections.
Board Member Site Collection
The Board Member site collection is only accessible to the board members so that they can view
private company information.
The Board Member site collection has the following requirements:

Only board members can log in to the site collection.

A page within the site collection must display a list of all the board
members.
The website must be located at http://www.contoso.com/sites/board.
Internet Site Collection
Anonymous access is enabled on the Internet site collection. The Internet site collection has the following requirements:
The site collection must include a sub-site named Offices.

The URL of the Offices sub-site is http://www.contoso.com/Offices.

Each office must have its own page on the site.

The pages for each office must have the same style and structure.

Each office page must contain a Content Search Web Part that displays a
listing of all the properties that are being sold by agents in the office.
The Content Search Web Part must use a custom display template named

Real Estate Property to render search results when site visitors search for a
property.
The target page for terms in the Office term set must point to a page
named Office.aspx that is in the Pages library of the Offices sub-site.
The site must contain an About Us section that contains a Content Search
Web Part that lists the members of the board of directors for the company.
Each member of the board must have a page that contains biographical
information about that board member.
The list of board members must be available in the Board Member site
collection.
Site visitors must be able to view information about individual agents,
including their contact information, certifications, and picture.
When agents visit the Internet site collection, the agents may add
information about each of the real estate properties that they are selling.
The agents must be able to tag real estate properties according to their
features.
Real estate agents must enter real estate property information into a web

form that is used specifically for data collection. The web form must collect the following information:

The property address.

Up to five pictures of the property.

The selling price.

The number of bedrooms and bathrooms.

The name of the real estate agent.

Tags that will further describe the property.
Agent Site Collection
The Agent site collection is in the same web application and is accessible only to agents. The Agent site collection has the following requirements:
The site collection must include a site that contains instructions for real
estate agents that tells them how to add property information to the
website.
The website must be located at http://www.contoso.com/sites/agents.

A Web Part must use the .NET client-side object model (CS0M) to
retrieve all of the terms from only the Features term set.

Page Layouts and Web Parts

Page Layouts
You must create the following page layouts: About Us, Biography With Image, Biography No
Image, and Office.
The page layouts have the following requirements:

The About Us page layout must include a field to which the user may add
Web Parts.
The Biography With Image and Biography No Image page layouts must
display biographical information about the board of directors.
You must create a content type named Biography. Biography With Image
and Biography No Image page layouts must use the Biography content
type.
The Office page layout must display information for each office and must
use the fields that that are defined in the Elements.xml file.

Web Parts
The Agent Web Part has the following requirements:
The Web Part must display information about an individual agent.

The Web Part must display information that is based on query string
parameters.
The URL of the page that hosts the Web Part must be
The following table lists the query string parameters and the way that each parameter must be used by the Web Part.

We help you do exactly that with our high quality Microsoft 70-489 Certification using the above training materials.Regardless of whichever computer you have, you just need to download one of the many Microsoft 70-489 PDF readers that are available for free.