[Free] Download New Updated (August 2016) Microsoft 70-667 Real Exam 91-100

Ensurepass

QUESTION 91

You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm. The farm contains a site collection named Intranet.

 

You upload a custom solution to the Solution Gallery of Intranet. You discover that you cannot activate the custom solution.

 

You need to ensure that you can activate the solution in Intranet.

 

What should you do?

 

A.

From Central Administration, start the Application Registry Service.

B.

From Windows PowerShell, run Start-Service -Name SPUserCodeV4.

C.

From Central Administration, create a new service application.

D.

From Central Administration, start the Microsoft SharePoint Foundation Sandboxed Code Service.

E.

From a command prompt, run stsadm.exe -o execadmsvcjobs

F.

From Windows PowerShell, run Start-Service -Name SPAdminV4

G.

From Central Administration, activate the Global Web Parts feature.

H.

From Windows PowerShell, run New-SPAccessServiceApplication -Name SandboxSolution Confirm:$true.

 

Correct Answer: B

Explanation:

Enable sandboxed solutions on the farm (SharePoint Foundation 2010)

1 out of 1 rated this helpful – Rate this topic

Published: May 12, 2010

A sandbox is a restricted execution environment that enables programs to access only certain resources and keeps problems that occur in the sandbox from affecting the rest of the server environment. Solutions that you deploy into a sandbox, which are known as sandboxed solutions, cannot use certain computer and network resources and cannot access content outside the site collection they are deployed in. Because sandboxed solutions cannot affect the whole server farm, they do not have to be deployed by a farm administrator. If sandboxed solutions have been enabled on at least one server in the farm, a site collection administrator can deploy solutions to a run in a sandbox on any server in the fa
rm.

By default, sandboxed solutions are disabled. Enable sandboxed solutions on every application server on which you want to run sandboxed solutions.

For more information about sandboxed solutions, see Sandboxed solutions overview (SharePoint Foundation 2010).

 

Enable sandboxed solutions

Use the following procedure on each application server in your farm on which you want to enable sandboxed solutions.

 

To enable sandboxed solutions by using Central Administration

Verify that you have the following administrative credentials:

You must be a member of the Farm Administrators group on the computer that is running the SharePoint Central Administration Web site.

On the home page of the Central Administration Web site, in the System Settings section, click Manage services on server.

 

On the Services on Server page, in the Server box, select the server on which you want to enable sandboxed solutions.

In the Microsoft SharePoint Foundation Sandboxed Code Service row, in the Action column, click Start.

 

Repeat steps 3 and 4 for each server on which you want to enable sandboxed solutions. To enable sandboxed solutions by using Windows PowerShell Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

Click Start, and then click All Programs.

Click Microsoft SharePoint 2010 Products.

Click SharePoint 2010 Management Shell.

 

At the Windows PowerShell command prompt, type the following command:

Start-Service -Name SPUserCodeV4

Repeat this procedure on every server on which you want to enable sandboxed solutions

 

http://technet.microsoft.com/en-us/library/ff535775.aspx

 

 

 

 

 

 

 

QUESTION 92

You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm.

 

You discover that each Unified Logging Service (ULS) log contains only 30 minutes of data.

 

You need to configure the ULS logs to contain 60 minutes of activity.

 

Which Windows PowerShell cmdlet should you use?

 

A.

Set-SPDiagnosticConfig

B.

Set-SPUsageService

C.

Set-SPLogLevel

D.

Set-SPTimerJob

 

Correct Answer: A

Explanation:

http://technet.microsoft.com/en-us/library/ff607575.aspx

 

 

QUESTION 93

You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm.

 

You need to create a State Service application.

 

What should you do?

 

A.

From Windows PowerShell, in the Set-SPStateServiceApplication cmdlet.

B.

From a command prompt, run the SharePoint Products Configuration Wizard.

C.

From Central Administration, run the Farrm Configuration Wizard.

D.

From a command prompt, run stsadm.exe and specify the deploy solution operation.

 

Correct Answer: C

Explanation:

http://technet.microsoft.com/en-us/library/ee704548.aspx

 

 

QUESTION 94

Steps to backup and restore a farm using Windows Powershell

 

A.

Open Sharepoint 2010 Management Shell. Then type the following command,

Backup- SPConfigurationDatabase -Directory <String> [-AssignmentCollection <SPAssignmentCollection>] [-DatabaseCredentials <PSCredential>] [-DatabaseName <String>] [-DatabaseServer <String>] [-Item <String>]and to restore type, Restore-SPConfigurationDatabase -Directory <String> [-AssignmentCollection <SPAssignmentCollection>] [-DatabaseCredentials <PSCredential>] [-DatabaseName <String>] [-DatabaseServer <String>] [-Item <String>]

B.

Open Sharepoint 2010 Management Shell. Then type the following command,

Backup- SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} [-Verbose] and to restore type, Restore-SPFarm -Directory <BackupFolder> -RestoreMethod Overwrite [-BackupId <GUID>]

C.

Open Sharepoint 2010 Management Shell. Then type the following command,

Backup- SPSite -Identity <Site collection name> -Path <backup file> [-Force] [-NoSiteLock] [- UseSqlSnapshot] [-Verbose]and to restore type, Restore-SPSite -Identity<Site collection URL> -Path<Backup file> [- DatabaseServer<Database server name>] [-DatabaseName<Content database name>] [- HostHeader<Host header>] [-Force] [-GradualDelete] [-Verbose]

D.

Open Sharepoint 2010 Management Shell. Then type the following command,

(Get- SPBackupHistory -Directory C:Backup -ShowBackup)[0].SelfId | Restore-SPFarm -Directory C:Backup -RestoreMethod overwrite and to restore type,Get-SPBackupHistory -Directory C:Backup -RestoreBackup

 

Correct Answer: B

Explanation:

http://technet.microsoft.com/en-us/library/ee428295.aspx#section1

To back up a farm by using Windows PowerShell

On the Start menu, click All Programs.

Click Microsoft SharePoint 2010 Products.

Click SharePoint 2010 Management Shell.

 

clip_image002

 

 

QUESTION 95

You deploy a SharePoint Server 2010 Service Pack 1 (SP1) web application that hosts collaboration sites.

 

All user objects contain a property named BranchOffice. The BranchOffice property is stored in a Microsoft SQL Server database.

 

You need to ensure that site administrators can delegate access based on the BranchOffice property.

 

Which authentication settings should you configure for the web application? (Each correct answer presents a complete solution. Choose all that apply.)

 

A.

classic-mode authentication and a Kerberos authentication provider

B.

classic-mode authentication and an NTLM authentication provider

C.

claims-based authentication and a Kerberos authentication provider

D.

claims-based authentication and an NTLM authentication provider

 

Correct Answer: CD

 

 

 

 

 

 

 

 

 

 

QUESTION 96

You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm.

 

You have a custom application that queries a list, and then generates a report every night at 01:00.

 

You discover that the report cannot be executed due to the list view threshold. You need to ensure that the report is executed successfully.

 

What should you modify from Central Administration?

 

A.

the Resource Throttling settings

B.

the schedule for the Microsoft SharePoint Foundation Usage Data Processingjob

C.

the User Solution Management settings

D.

the schedule for the Solution Daily Resource Usage Update job

 

Correct Answer: A

Explanation:

http://technet.microsoft.com/en-us/magazine/gg491393.aspx

 

 

QUESTION 97

Steps to add and deploy a solution to a site

 

A.

Use PowerShell Cmdlet Add-SPSolution LiteralPath “C:DeploymentMySharePointSolutionPackage.wsp”

B.

From Central Administration go to System Settings then to Farm Management then to Manage Farm solutions. Next Click the solution you want to deploy and click Deploy Solution Select either Now or At a specified time. In the Deploy to section click either all web applications or select a specific web application. Click Ok to finish.

C.

Use PowerShell Cmdlet Update-SPSolution -Identity MySharePointSolution.wsp LiteralPath “C: DeploymentMySharePointSolutionPackage.wsp” -GacDeployment

D.

Use Stsadm Command stsadm -o deploysolution -name MySharePointSolutionPackage.wsp -url http:// webapplication -allowgacdeployment -immediate

 

Correct Answer: B

Explanation:

Deploying to a Farm you use PowerShell and when you are deploying to a site use Central Admin. It was explained to me that deploying to a Farm has a greater chance of messing things up so it like a double check, requiring Admin rights.

 

Resources are from http://technet.microsoft.com/en-us/library/cc262995.aspx#deploying

 

clip_image004

 

 

QUESTION 98

You have a SharePoint Server 2010 server.

 

You need to prevent users from publishing documents from Microsoft Office Word.

 

The solution must not prevent users from publishing documents from the web.

 

What should you do?

 

A.

From Site Settings, modify the site collection features.

B.

From Site Settings, modify the permission level for the user group

C.

From the Authentication Providers settings, modify the Authentication type

D.

From the Authentication Providers settings, disable the Client Integration setting.

 

Correct Answer: D

Explanation:

Client integration can be enabled or disabled in the Web Application settings.

 

Client Integration Support for Different Authentication Providers

http://blogs.msdn.com/b/gayanpeiris/archive/2007/10/06/client-integration-support-for-different-authenticationproviders.aspx

 

Plan authentication settings for Web applications in Office SharePoint Server

http://technet.microsoft.com/en-us/library/cc263304(office.12).aspx

 

 

QUESTION 99

You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm. The farm contains a web application named WebApp1. WebApp1 contains one site collection named Portal.

 

WebApp1 is configured to use NTLM authentication.

 

You need to implement forms-based authentication for Portal. What should you do? (Each correct answer part of the solution. Choose all that apply.)

 

A.

Modify the Client.config file.

B.

Modify the Web.config file.

C.

Create a managed metadata service connection.

D.

Extend WebApp1.

E.

Create a new web application.

 

Correct Answer: BD

Explanation:

Modify the web.config file for Membership Provider and Role Manager. We need to modify 3 different web.config files for FBA to work. Web.config of FBA Web application, web.config of Central Administration Site & Web.config of STS.

A.Modify web.config of FBA web application.

Add connection String:

<connectionStrings>

<add name=”SQLConnectionString” connectionString=”data source=SQL;

Integrated Security=SSPI;

Initial Catalog=SQL-Auth” />

</connectionStrings>

Connection String has to be added after </SharePoint> and Before <system.web>

http://www.codeproject.com/Tips/382312/SharePoint-2010-Form-Based-Authentication

Must Check this out

http://technet.microsoft.com/en-us/library/ee806885.aspx

http://blogs.technet.com/b/mahesm/archive/2010/04/07/configure-forms-based-authentication-fba-withsharepoint-2010.aspx

 

&nbs
p;

 

 

 

 

 

 

 

 

QUESTION 100

Your company network includes a SharePoint Server 2010 Service Pack 1 (SP1) server. You create an http://www.contoso.com web application that has multiple site collections.

 

The site collections have a large amount of content residing across lists. You deploy custom web parts that query the list items through the SharePoint object model.

 

You need to ensure that the custom code that queries the list items and default list views remains within 2,500 items for each request.

 

What should you do?

 

A.

Set the value of List View Threshold to 2500. Set the value of Object Model Override to No.

B.

Set the value of List View Lookup Threshold to 2500. Set the value of Object Model Override to No.

C.

Set the value of HTTP Request Monitoring and Throttling to No. Set the value of Daily Time Windows for Large Queries to 0 hours.

D.

Set the value of the PropertySize attribute to 2500 on the WebPartLimits node in the web.config file.

 

Correct Answer: A

Explanation:

One of the major reasons that this List View Threshold (LVT) feature was created is to protect the server from unintentional load that may either bring it down, or at least cause other users higher latency or failures.

Changing this limit (default 5000) is quite simple, but I wouldn’t recommend it unless you are positive that it will not negatively affect your system. One valid example of when you might want to do this is if you are using your farm to serve heavily cached content, that only gets updated once a day, and do not want the limit to apply for that. Even in that case, I’d recommend that you test this thoroughly before changing it. There’s an awesome white paper out there that describes in full details what effects this has on the server, with a lot of pretty graphs and such to depict the performance implications. Here it is: Designing Large Lists and Maximizing List

Performance (http://technet.microsoft.com/en-us/library/ff608068(office.14).aspx). Also here’s a link to the help topic that explains the basic limits and what they mean:

http://office2010.microsoft.com/en-us/sharepointserver-help/manage-lists-and-libraries-with-many-items-HA010378155.aspx?redir=0

 

If you’ve got your mind set on changing the LVT or another resource throttling setting, here’s how to do it:

 

1- Login to Central Admin

2- Go to Application Management -> Manage Web Applications 3- Pick the Web application for which you want to change the LVT (If you only have 1 web app plus the central admin one, the one you want to pick is the 1 web app; changing this for the central admin does you no good)

4- In the ribbon above, click General Settings. That will bring down a menu, from which you should pick

Resource Throttling

5- Change the LVT (first item in this list) to another value and press OK, but please try to keep it to a reasonable number!

Following those steps will take you to the page where you can also edit a bunch of other settings. Here’s a list of them, and a brief description of what they do and best practices or recommendations on how to set them:  List View Threshold for Auditors and Administrators: This is by7 default a “higher limit”. Queries that are run by an auditor or administrator that specifically (programmatically) request to override the LVT will be subject to this limit instead. It’s 20,000 by default as opposed to the 5,000 for the LVT. I wouldn’t raise this past 20,000 for the same reasons of not raising the LVT. If you’d like to read more about how to use this, take a look at this post.  Object Model Override: If you commonly use custom code on your deployment, and have a need for overriding the LVT to a higher limit, then it may be a good idea to allow the object model override, and give auditor or administrator permissions to the application that will perform the queries. This setting is on by default, but you may disable it if you do not need it. A good example of when you might want to use this is if you’ve implemented some code that will perform caching of a larger set of results that are accessed often for, say, several minutes. If you are not planning on caching the content, and are planning on running these queries often, then I wouldn’t recommend using this method to get around the LVT as it will adversely affect your server’s performance. In short: “tread lightly”. If you’d like to read more about how to use this, take a look at this post.  List View Lookup Threshold: This feature limits the number of joins that a query can perform. By number of joins, I mean the number of Lookup, Person/Group, or Workflow Status fields that are included in the query. So for example, if you have a view that displays 6 lookup columns, and filters on another 3 distinct lookup columns then by default that view won’t work, since the List View Lookup Threshold is 8, and the view is attempting to use 9 lookups. I would recommend that you do not increase this number beyond 8, because through thorough testing we’ve observed that there’s a serious non-gradual performance degradation that shows up above 8 joins. Not only does the throughput that the server can handle drop significantly at that point, but the query ends up using a disproportionately large amount of the SQL Server’s resources, which negatively affects everybody else using that same database. If you’d like to read more about this, take a look at the “Lookup columns and list views” section of this white paper: http://technet.microsoft.com/en- us/library/ff608068(office.14).aspx  Daily Time Window for Large Queries: This feature allows you to set a time every day where users can ‘go wild’. Some people call it “happy hour”, but I really think it would be a very unhappy hour for the server so I avoid that terminology :-). There are a few things that you should carefully consider before deciding what time to set this to:

It should be an off-peak hour, or at least a time during which you expect the least load, so as to affect the least number of individuals. If you pick the time to be in the middle of the work day for the majority of your users, then even those who are not using the large list may be affected negatively.

Try to keep it to a reasonable timeframe such that people can actually use it to fix their lists, rather than bug the farm admin (possibly you!) about it. If, for example, you set it to be “2-3 am”, then it’s unlikely that the users will be very happy about that. They won’t want to wake up at 2 am just to delete this large list they no longer need, so they’re more tempted to ask the farm admin to handle it for them.

Remember that operations started during the window won’t just abort once the window ends.. So if your window lasts till 9am, and at 9 you need the server to be crisp and clear because you get a huge load spike, people who started their list delete at 8:59 may negatively affect that experience.

Consider different time zones. This is especially important if your organization or customers (if you’re hosting SharePoint for others) are heavily geographically distributed. Setting it to 6pm may seem like a good idea for your own location, but would not be great in say, Sydney, Australia.  List Unique Permissions Threshold: This is the number of unique permissions allowed per list. If you have a folder that you break inheritance on for permissions, and set some permissions for it (and all the items inside it), then that counts as 1 against your List Unique Permissions Threshold. Unlike the LVT and other settings, this threshold is not triggered by viewing the content or performing so
me other operation on it, but explicitly when changing permissions. If you can afford to, then I would recommend reducing this number. It defaults to 50,000 and that is a lot of unique permissions! Your list is very likely to encounter problems with permissions before it reaches this number, so preemptively tweaking it to what might work in your environment is a good idea.

http://blogs.msdn.com/b/dinaayoub/archive/2010/04/22/sharepoint-2010-how-to-change-the-list-view-threshold.aspx

 

Free VCE & PDF File for Microsoft 70-667 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…