Quantcast
Channel: Free Download Updated PassLeader Exam Dumps
Viewing all 1919 articles
Browse latest View live

[Pass Ensure VCE Dumps] Reliable PassLeader 70-534 Braindump with VCE and PDF Dumps Free Download (61-80)

$
0
0

Where Download The 100% Valid 70-534 Exam Dumps? PassLeader now is offering the newest and valid 143q 70-534 exam questions for preparing 70-534 exam, we ensure our new version 143q 70-534 pdf dumps and vce dumps are 100% valid for passing 70-534 exam, because PassLeader 70-534 PDF dumps and VCE dumps have been updated with the newest 70-534 questions and the 70-534 dumps have been corrected with right questions and answers. Now visit passleader.com to get the newest 143q 70-534 practice tests with free VCE Player!

keywords: 70-534 exam,143q 70-534 exam dumps,143q 70-534 exam questions,70-534 pdf dumps,70-534 vce dumps,70-534 practice test,70-534 study guide,Architecting Microsoft Azure Solutions Exam

QUESTION 61
Hotspot Question
You need implement tools at the client’s location for monitoring and deploying Azure resources. Which tools should you use? To answer, select the appropriate on-premises tool for each task in the answer area.

Answer:

QUESTION 62
You need to configure availability for the virtual machines that the company is migrating to Azure. What should you implement?

A.    Traffic Manager
B.    Express Route
C.    Update Domains
D.    Cloud Services

Answer: B

Case Study 4 – Lucerne Publishing (Question 63 – Question 68)
Background
Overview
Lucerne Publishing creates, stores, and delivers online media for advertising companies. This media is streamed to computers by using the web, and to mobile devices around the world by using native applications. The company currently supports the iOS, Android, and Windows Phone 8.1 platform. Lucerne Publishing uses proprietary software to manage its media workflow. This software has reached the end of its lifecycle. The company plans to move its media workflows to the cloud. Lucerne Publishing provides access to its customers, who are third-party companies, so that they can download, upload, search, and index media that is stored on Lucerne Publishing servers.
Apps and Applications
Lucerne Publishing develops the applications that customers use to deliver media. The company currently provides the following media delivery applications:
– Lucerne Media W – a web application that delivers media by using any browser
– Lucerne Media M – a mobile app that delivers media by using Windows Phone 8.1
– Lucerne Media A – a mobile app that delivers media by using an iOS device
– Lucerne Media N – a mobile app that delivers media by using an Android device
– Lucerne Media D – a desktop client application that customer’s install on their local computer
Business Requirements
Lucerne Publishing’s customers and their consumers have the following requirements:
– Access to media must be time-constricted once media is delivered to a consumer. The time required to download media to mobile devices must be minimized. Customers must have 24-hour access to media downloads regardless of their location or time zone.
– Lucerne Publishing must be able to monitor the performance and usage of its customer-facing app.
– Lucerne Publishing wants to make its asset catalog searchable without requiring a database redesign.
– Customers must be able to access all data by using a web application. They must also be able to access data by using a mobile app that is provided by Lucerne Publishing.
– Customers must be able to search for media assets by key words and media type. Lucerne Publishing wants to move the asset catalog database to the cloud without formatting the source data.
Other Requirements
Development
Code and current development documents must be backed up at all times. All solutions must be automatically built and deployed to Azure when code is checked in to source control.
Network Optimization
Lucerne Publishing has a .NET web application that runs on Azure. The web application analyzes storage and the distribution of its media assets. It needs to monitor the utilization of the web application. Ultimately, Lucerne Publishing hopes to cut its costs by reducing data replication without sacrificing its quality of service to its customers. The solution has the following requirements:
– Optimize the storage location and amount of duplication of media.
– Vary several parameters including the number of data nodes and the distance from node to customers.
– Minimize network bandwidth.
– Lucerne Publishing wants be notified of exceptions in the web application.
Technical Requirements
Data Mining
Lucerne Publishing constantly mines its data to identify customer patterns. The company plans to replace the existing on-premises cluster with a cloud-based solution. Lucerne Publishing has the following requirements:
Virtual machines:
– The data mining solution must support the use of hundreds to thousands of processing cores.
– Minimize the number of virtual machines by using more powerful virtual machines.
– Each virtual machine must always have eight or more processor cores available.
– Allow the number of processor cores dedicated to an analysis to grow and shrink automatically based on the demand of the analysis.
– Virtual machines must use remote memory direct access to improve performance.
Task scheduling:
– The solution must automatically schedule jobs.
– The scheduler must distribute the jobs based on the demand and available resources.
Data analysis results:
The solution must provide a web service that allows applications to access the results of analyses.
Other Requirements
Feature Support
– Ad copy data must be searchable in full text.
– Ad copy data must indexed to optimize search speed. Media metadata must be stored in Azure Table storage. Media files must be stored in Azure BLOB storage. The customer-facing website must have access to all ad copy and media. The customer-facing website must automatically scale and replicate to locations around the world.
– Media and data must be replicated around the world to decrease the latency of data transfers.
– Media uploads must have fast data transfer rates (low latency) without the need to upload the data offline.
Security
Customer access must be managed by using Active Directory. Media files must be encrypted by using the PlayReady encryption method. Customers must be able to upload media quickly and securely over a private connection with no opportunity for internet snooping.

QUESTION 63
You need to ensure that the website scales. What should you do?

A.    Deploy Traffic Manager and configure it to route user traffic to specified endpoints to other Azure datacenters.
B.    Enter multiple DNS entries in each virtual network to route requests to other Azure datacenters.
C.    Set up a new Azure datacenter to Azure datacenter VPN to enable the solution to communicate across regions.
D.    Use a virtual network to route network traffic in a single Azure datacenter.

Answer: C

QUESTION 64
You need to analyze Lucerne’s performance monitoring solution. Which three applications should you monitor? Each correct answer presents a complete solution.

A.    The Lucerne Media-D application
B.    The data mining application
C.    The Lucerne Media-W application
D.    The Lucerne Media-M app
E.    The Lucerne Media-N app

Answer: BCD

QUESTION 65
You need to configure the deployment of the storage analysis application. What should you do?

A.    Create a new Mobile Service.
B.    Configure the deployment from source control.
C.    Add a new deployment slot.
D.    Turn on continuous integration.

Answer: B

QUESTION 66
You need to recommend an appropriate solution for the data mining requirements. Which solution should you recommend?

A.    Design a schedule process that allocates tasks to multiple virtual machines, and use the Azure Portal to create new VMs as needed.
B.    Use Azure HPC Scheduler Tools to schedule jobs and automate scaling of virtual machines.
C.    Use Traffic Manager to allocate tasks to multiple virtual machines, and use the Azure Portal to spin up new virtual machines as needed.
D.    Use Windows Server HPC Pack on-premises to schedule jobs and automate scaling of virtual machines in Azure.

Answer: C

QUESTION 67
Hotspot Question
The company has two corporate offices. Customers will access the websites from datacenters around the world.

You need to architect the global website strategy to meet the business requirements. Use the drop-down menus to select the answer choice that answers each question.

Answer:

QUESTION 68
Hotspot Question
You need to recommend strategies for storing data. Which services should you recommend? To answer, select the appropriate storage technology for each data type in the answer area.

Answer:

Case Study 5 – Northwind traders (Question 69 – Question 74)
Background
Overview
Northwind Electric Cars is the premier provider of private, low-cost transportation in Denver. Northwind drivers are company employees who work together as a team. The founding partners believe that by hiring their drivers as employees, their drivers focus on providing a great customer experience. Northwind Electric Cars has a reputation for offering fast, reliable, and friendly service, due largely to their extensive network of drivers and their proprietary dispatching software named NorthRide. Northwind Electric Cars drivers depend on frequent, automatic updates for the NorthRide mobile app. The Northwind management team is concerned about unplanned system downtime and slow connection speeds caused by high usage. Additionally, Northwind’s in- house data storage solution is unsustainable because of the new influx of customer data that is retained. Data backups are made periodically on DVDs and stored on-premises at corporate headquarters.
Apps
NorthRide App
Northwind drivers use the NorthRide app to meet customer pickup requests. The app uses a GPS transponder in each Northwind vehicle and Bing Maps APIs to monitor the location of each vehicle in the fleet in real time. NorthRide allows Northwind dispatchers to optimize their driver coverage throughout the city. When new customers call, the dispatcher enters their pickup locations into NorthRide. NorthRide identifies the closest available driver. The dispatcher then contacts the driver with the pick-up details. This process usually results in a pick-up time that is far faster than the industry average. Drivers use NorthRide to track the number of miles they drive and the number of customers they transport. Drivers also track their progress towards their established goals, which are measured by using key performance indicators (KPIs).
NorthRide App 2.0
Northwind Electric Cars is growing quickly. New callers often wait for their calls to be answered because the dispatchers are contacting their drivers to arrange pickups for other customers. To support the growth of the business, Northwind’s development team completes an overhaul of the NorthRide system that it has named NorthRide 2.0. When a dispatcher enters a customer’s pickup location, the address and driving directions are automatically sent to the driver who is closest to the customer’s pickup location. Drivers indicate their availability on the NorthRide mobile app and can view progress towards their KPI’s in real time. Drivers can also record customer ratings and feedback for each pickup.
Business Requirements
Apps
NorthRideFinder App
Northwind Electric Cars needs a customer-facing website and mobile app that allows customers to schedule pickups. Customers should also be able to create profiles that will help ensure the customer gets a ride faster by storing customer information.
Predictor App
Northwind Electric Cars needs a new solution named Predictor. Predictor is an employee- facing mobile app. The app predicts periods of high usage and popular pickup locations and provides various ways to view this predictive data. Northwind uses this information to better distribute its drivers. Northwind wants to use the latest Azure technology to create this solution.
Other Requirements
On-premises data must be constantly backed up. Mobile data must be protected from loss, even if connectivity with the backend is lost. Dispatch offices need to have seamless access to both their primary data center and the applications and services that are hosted in the Azure cloud. Connectivity needs to be redundant to on-premises and cloud services, while providing a way for each dispatch office to continue to operate even if one or all of the connection options fail. The management team requires that operational data is accessible 24/7 from any office location.
Technical Requirements
Apps and Website
NorthRide / NorthRideFinder Apps:
– The solution must support on-premises and Azure data storage.
– The solution must scale as necessary based on the current number of concurrent users.
– Customer pickup requests from NorthRideFinder must be asynchronous.
– The customer pickup request system will be high in volume, and each request will have a short life span.
– Data for NorthRideFinder must be protected during a loss of connectivity.
– NorthRide users must authenticate to the company’s Azure Active Directory.
Northwind Public Website
– The customer website must use a WebJob to process profile images into thumbnails.
– The customer website must be developed with lowest cost and difficulty in mind.
– The customer website must automatically scale to minimize response times for customers.
Other Requirements
Data Storage:
– The data storage must interface with an on-premises Microsoft SQL backend database.
– A disaster recovery system needs to be in place for large amounts of data that will backup to Azure.
– Backups must be fully automated and managed the Azure Management Portal.
– The recovery system for company data must use a hybrid solution to back up both the on-premises Microsoft SQL backend and any Azure storage.
Predictive Routing:
– An Azure solution must be used for prediction systems.
– Predictive analytics must be published as a web service and accessible by using the REST API.
Security:
– The NorthRide app must use an additional level of authentication other than the employee’s password.
– Access must be secured in NorthRide without opening a firewall port.
– Company policy prohibits inbound connections from internet callers to the on- premises network.
– Customer usernames in NorthRideFinder cannot exceed 10 characters.
– Customer data in NorthRideFinder can be received only by the user ID that is associated with the data.

QUESTION 69
You need to recommend a technology for processing customer pickup requests. Which technology should you recommend?

A.    Notification hub
B.    Queue messaging
C.    Mobile Service with push notifications
D.    Service Bus messaging

Answer: C

QUESTION 70
You need to recommend the appropriate technology to provide the predictive analytics for passenger pickup. What should you do?

A.    Use Power BI to analyze the traffic data and PowerPivot to categorize the results.
B.    Use HDInsight to analyze the traffic data and write a .NET program to categorize the results.
C.    Use Machine Learning Studio to create a predictive model and publish the results as a web service.
D.    Use Hadoop on-premises to analyze the traffic and produce a report that shows high traffic zones.

Answer: C


http://www.passleader.com/70-534.html

QUESTION 71
You need to design the authentication solution for the NorthRide app. Which solution should you use?

A.    Azure Active Directory Basic with multi-factor authentication for the cloud and on- premises users.
B.    Active Directory Domain Services with mutual authentication.
C.    Azure Active Directory Premium and add multi-factor authentication the for cloud users.
D.    Active Directory Domain Services with multi-factor authentication.

Answer: A

QUESTION 72
Drag and Drop Question
You need to design the notification service for the customer-facing mobile 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.

Answer:

QUESTION 73
Drag and Drop Question
You need to provide a data access solution for the NorthRide app. Which four 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.

Answer:

QUESTION 74
You need to recommend a solution that meets the requirements for data storage for the NorthRide app. What should you include in the recommendation?

A.    Azure Remote App
B.    Azure Service Bus
C.    Azure Connect
D.    Azure SQL Database

Answer: A

QUESTION 75
Drag and Drop Question
You are the Azure architect for an organization. You are working with C-level management to assign Azure role-based access control roles to a team within the organization. A single director oversees two teams, a development team and a test team. The director is wholly responsible for the organization’s Azure account, including billing, infrastructure, and access control. The director is the only member of the team with the ability to alter access controls. You have the following requirements:
– Members of the development team must be able to view or alter Azure infrastructure to support application development.
– Members of the test team must be able to view Azure infrastructure to support test cases.
You need to assign built-in Azure role-based access control roles to team members within the organization. Which role should you assign to each team member? To answer, drag the appropriate role to the correct team member. Each role 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.

Answer:

QUESTION 76
You administer a cloud service. You plan to host two web applications named contosoweb and contosowebsupport. You need to ensure that you can host both applications and qualify for the Azure Service Level Agreement. You want to achieve this goal while minimizing costs. How should you host both applications?

A.    in different web roles with two instances in each web role
B.    in the same web role with two instances
C.    in different web roles with one instance in each web role
D.    in the same web role with one instance

Answer: B
Explanation:
A cloud service must have at least two instances of every role to qualify for the Azure Service Level Agreement, which guarantees external connectivity to your Internet-facing roles at least 99.95 percent of the time.
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-what-is/

QUESTION 77
You deploy an application as a cloud service in Azure. The application consists of five instances of a web role. You need to move the web role instances to a different subnet. Which file should you update?

A.    Service definition
B.    Diagnostics configuration
C.    Service configuration
D.    Network configuration

Answer: C

QUESTION 78
You manage an Azure virtual network that hosts 15 virtual machines (VMs) on a single subnet, which is used for testing a line of business (LOB) application. The application is deployed to a VM named TestWebServiceVM. You need to ensure that TestWebServiceVM always starts by using the same IP address. You need to achieve this goal by using the least amount of administrative effort. What should you do?

A.    Use the Management Portal to configure TestWebServiceVM.
B.    Use RDP to configure TestWebServiceVM.
C.    Run the Set-AzureStaticVNetIP PowerShell cmdlet.
D.    Run the Get-AzureReservedIP PowerShell cmdlet.

Answer: C
Explanation:
Specify a static internal IP for a previously created VM
If you want to set a static IP address for a VM that you previously created, you can do so by using the following cmdlets. If you already set an IP address for the VM and you want to change it to a different IP address, you’ll need to remove the existing static IP address before running these cmdlets. See the instructions below to remove a static IP. For this procedure, you’ll use the Update-AzureVM cmdlet. The Update-AzureVM cmdlet restarts the VM as part of the update process. The DIP that you specify will be assigned after the VM restarts. In this example, we set the IP address for VM2, which is located in cloud service StaticDemo.
Get-AzureVM -ServiceName StaticDemo -Name VM2 | Set-AzureStaticVNetIP -IPAddress 192.168.4.7 | Update-AzureVM
http://msdn.microsoft.com/en-us/library/azure/dn630228.aspx

QUESTION 79
You administer of a set of virtual machine (VM) guests hosted in Hyper-V on Windows Server 2012 R2. The virtual machines run the following operating systems:
– Windows Server 2008
– Windows Server 2008 R2
– Linux (openSUSE 13.1)
All guests currently are provisioned with one or more network interfaces with static bindings and VHDX disks. You need to move the VMs to Azure Virtual Machines hosted in an Azure subscription. Which three actions should you perform? Each correct answer presents part of the solution.

A.    Install the WALinuxAgent on Linux servers.
B.    Ensure that all servers can acquire an IP by means of Dynamic Host Configuration Protocol (DHCP).
C.    Upgrade all Windows VMs to Windows Server 2008 R2 or higher.
D.    Sysprep all Windows servers.
E.    Convert the existing virtual disks to the virtual hard disk (VHD) format.

Answer: ACE

QUESTION 80
A company creates an API and makes it accessible on an Azure website. External partners use the API occasionally. The website uses the Standard web hosting plan. Partners report that the first API call in a sequence of API calls occasionally takes longer than expected to run. Subsequent API calls consistently perform as expected. You need to ensure that all API calls perform consistently. What should you do?

A.    Configure the website to use the Basic web hosting plan.
B.    Enable Always On support.
C.    Configure the website to automatically scale.
D.    Add a trigger to the web.config file for the website that causes the website to recycle periodically.

Answer: B


http://www.passleader.com/70-534.html


[Pass Ensure VCE Dumps] Best 143q PassLeader 70-534 Exam Dumps Help Passing Exam Easily (81-100)

$
0
0

100% Valid 70-534 Exam Pass Tips: PassLeader’s 143q 70-534 exam dumps were updated in recent days with new 70-534 exam questions added, PassLeader ensure the latest 70-534 VCE dumps or PDF dumps are the newest and the most valid, our 70-534 practice tests will help you 100 percent pass 70-534 exam. Visit passleader.com and get the 70-534 exam questions with PDF and VCE. New version VCE player is also free now.

keywords: 70-534 exam,143q 70-534 exam dumps,143q 70-534 exam questions,70-534 pdf dumps,70-534 vce dumps,70-534 practice test,70-534 study guide,Architecting Microsoft Azure Solutions Exam

QUESTION 81
Drag and Drop Question
You are converting an existing ASP.NET web application to use the Azure Active Directory (AD) Access Control service for authentication. The application will authenticate users by using their Yahoo account credentials. You need to determine the correct payload for each stage of the authentication process. What should you do? To answer, drag the appropriate payload format to the correct location on the dialog box. Each payload format 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.

Answer:

QUESTION 82
Hotspot Question
You have a cloud service that runs an external process that is named MyStartupTask.cmd. The cloud service runs this external process when the web role starts. The external process writes information to the Windows registry. You set the value of an environment variable named MyID to the deployment ID for the current web role instance. The external process must complete writing the information to the Windows registry before the web role starts to accept web traffic. You need to configure the cloud service. How should you complete the relevant markup? To answer, select the appropriate option or options in the answer area.

Answer:

QUESTION 83
Hotspot Question
You have an Azure SQL Database named Contosodb. Contosodb is running in the Standard/S2 tier and has a service level objective of 99 percent. You review the service tiers in Microsoft Azure SQL Database as well as the results of running performance queries for the usage of the database for the past week as shown in the exhibits. (Click the Exhibits button.)



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Answer:

QUESTION 84
You manage a virtual Windows Server 2012 web server that is hosted by an on-premises Windows Hyper-V server. You plan to use the virtual machine (VM) in Azure. You need to migrate the VM to Azure Storage to add it to your repository. Which Azure Power Shell cmdlet should you use?

A.    Import-AzureVM
B.    New-AzureVM
C.    Add-AzureDisk
D.    Add-AzureWebRole
E.    Add-AzureVhd

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/azure/dn495252.aspx

QUESTION 85
Your company network has two physical locations configured in a geo-clustered environment. You create a Blob storage account in Azure that contains all the data associated with your company. You need to ensure that the data remains available in the event of a site outage. Which storage option should you enable?

A.    Locally redundant storage
B.    Geo-redundant storage
C.    Zone-redundant storage
D.    Read-only geo-redundant storage

Answer: D
Explanation:
Introducing Read-only Access to Geo Redundant Storage (RA-GRS): RA-GRS allows you to have higher read availability for your storage account by providing “read only” access to the data replicated to the secondary location. Once you enable this feature, the secondary location may be used to achieve higher availability in the event the data is not available in the primary region. This is an “opt-in” feature which requires the storage account be geo-replicated.

QUESTION 86
You manage several Azure virtual machines (VMs). You create a custom image to be used by employees on the development team. You need to ensure that the custom image is available when you deploy new servers. Which Azure Power Shell cmdlet should you use?

A.    Update-AzureVMImage
B.    Add-AzureVhd
C.    Add-AzureVMImage
D.    Update-AzureDisk
E.    Add-AzureDataDisk

Answer: C
Explanation:
The Add-AzureVMImage cmdlet adds an operating system image to the image repository. The image should be a generalized operating system image, using either Sysprep for Windows or, for Linux, using the appropriate tool for the distribution.
Example:
This example adds an operating system image to the repository.
Windows PowerShell
C:\PS>Add-AzureVMImage -ImageName imageName -MediaLocation
http://yourstorageaccount.blob.core.azure.com/container/sampleImage.vhd-Label

QUESTION 87
You administer an Azure Storage account named contosostorage. The account has a blob container to store image files. A user reports being unable to access an image file. You need to ensure that anonymous users can successfully read image files from the container. Which log entry should you use to verify access?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 88
You manage a software-as-a-service application named SaasApp1 that provides user management features in a multi-directory environment. You plan to offer SaasApp1 to other organizations that use Azure Active Directory. You need to ensure that SaasApp1 can access directory objects. What should you do?

A.    Configure the Federation Metadata URL.
B.    Register SaasApp1 as a native client application.
C.    Register SaasApp1 as a web application.
D.    Configure the Graph API.

Answer: D
Explanation:
The Azure Active Directory Graph API provides programmatic access to Azure AD through REST API endpoints. Applications can use the Graph API to perform create, read, update, and delete (CRUD) operations on directory data and objects. For example, the Graph API supports the following common operations for a user object:
/ Create a new user in a directory
/ Get a user’s detailed properties, such as their groups
/ Update a user’s properties, such as their location and phone number, or change their password
/ Check a user’s group membership for role-based access
/ Disable a user’s account or delete it entirely
http://msdn.microsoft.com/en-us/library/azure/hh974476.aspx

QUESTION 89
Drag and Drop Question
You plan to deploy a cloud service named contosoapp that has a web role named contosoweb and a worker role named contosoimagepurge. You need to ensure the service meets the following requirements:
– Contosoweb can be accessed over the Internet by using http.
– Contosoimagepurge can only be accessed through tcp port 5001 from contosoweb.
– Contosoimagepurge cannot be accessed directly over the Internet.
Which configuration should you use? To answer, drag the appropriate configuration setting to the correct location in the service configuration file. Each configuration setting 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.

Answer:

QUESTION 90
Your company is launching a public website that allows users to stream videos. You upload multiple video files to an Azure storage container. You need to give anonymous users read access to all of the video files in the storage container. What should you do?

A.    Edit each blob’s metadata and set the access policy to Public Blob.
B.    Edit the container metadata and set the access policy to Public Container.
C.    Move the files into a container sub-directory and set the directory access level to Public Blob.
D.    Edit the container metadata and set the access policy to Public Blob.

Answer: C
Explanation:
By default, the container is private and can be accessed only by the account owner. To allow public read access to the blobs in the container, but not the container properties and metadata, use the “Public Blob” option. To allow full public read access for the container and blobs, use the “Public Container” option.


http://www.passleader.com/70-534.html

QUESTION 91
Drag and Drop Question
Your development team has created a new solution that is deployed in a virtual network named fabDevVNet. Your testing team wants to begin testing the solution in a second Azure subscription. You need to create a virtual network named fabTestVNet that is identical to fabDevVNet. You want to achieve this goal by using the least amount of administrative effort. Which three steps 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.

Answer:

QUESTION 92
Drag and Drop Question
You have a solution deployed into a virtual network in Azure named fabVNet. The fabVNet virtual network has three subnets named Apps, Web, and DB that are configured as shown in the exhibit. (Click the Exhibits button.)


You want to deploy two new VMs to the DB subnet. You need to modify the virtual network to expand the size of the DB subnet to allow more IP addresses. Which three steps 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.

Answer:

QUESTION 93
Your network environment includes remote employees. You need to create a secure connection for the remote employees who require access to your Azure virtual network. What should you do?

A.    Deploy Windows Server 2012 RRAS.
B.    Configure a point-to-site VPN.
C.    Configure an ExpressRoute.
D.    Configure a site-to-site VPN.

Answer: B
Explanation:
New Point-To-Site Connectivity
With today’s release we’ve added an awesome new feature that allows you to setup VPN connections between individual computers and a Windows Azure virtual network without the need for a VPN device. We call this feature Point-to-Site Virtual Private Networking. This feature greatly simplifies setting up secure connections between Windows Azure and client machines, whether from your office environment or from remote locations. It is especially useful for developers who want to connect to a Windows Azure Virtual Network (and to the individual virtual machines within it) from either behind their corporate firewall or a remote location. Because it is point-to-site they do not need their IT staff to perform any activities to enable it, and no VPN hardware needs to be installed or configured. Instead you can just use the built-in Windows VPN client to tunnel to your Virtual Network in Windows Azure.

QUESTION 94
Hotspot Question
A company creates an Azure worker role to manage products. The number of customers who inquire about how many products are in inventory rapidly increases. You need to ensure that the worker role can scale to accommodate the increased workload. How should you complete the relevant code? To answer, select the appropriate option or options in the answer area.

Answer:

QUESTION 95
You administer an Azure Storage account with a blob container. You enable Storage account logging for read, write and delete requests. You need to reduce the costs associated with storing the logs. What should you do?

A.    Execute Delete Blob requests over https.
B.    Create an export job for your container.
C.    Set up a retention policy.
D.    Execute Delete Blob requests over http.

Answer: C
Explanation:
To ease the management of your logs, we have provided the functionality of retention policy which will automatically cleanup `old’ logs without you being charged for the cleanup. It is recommended that you set a retention policy for logs such that your analytics data will be within the 20TB limit allowed for analytics data (logs and metrics combined).
http://blogs.msdn.com/b/windowsazurestorage/archive/2011/08/03/windows-azure-storage-logging-using-logs-to-track-storage-requests.aspx

QUESTION 96
You connect to an existing service over the network by using HTTP. The service listens on HTTP port 80. You plan to create a test environment for this existing service by using an Azure virtual machine (VM) that runs Windows Server. The service must be accessible from the public Internet over HTTP port 8080. You need to configure the test environment. Which two actions should you take? Each correct answer presents part of the solution.

A.    Configure an endpoint to route traffic from port 8080 to port 80.
B.    Configure an endpoint to route traffic from port 80 to port 8080.
C.    Ensure that the public IP address is configured as a static IP address.
D.    Configure the Windows Server firewall to allow incoming and outgoing traffic on port 8080.
E.    Configure the Windows Server firewall to allow incoming and outgoing traffic on port 80.

Answer: AE

QUESTION 97
Drag and Drop Question
Your company manages several Azure Web Sites that are running in an existing web- hosting plan named plan1. You need to move one of the websites, named contoso, to a new web-hosting plan named plan2. Which Azure PowerShell cmdlet should you use with each PowerShell command line? To answer, drag the appropriate Azure PowerShell cmdlet to the correct location in the PowerShell code. Each PowerShell 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.

Answer:

QUESTION 98
Hotspot Question
You manage an Azure Web Site for a consumer-product company. The website runs in Standard mode on a single medium instance. You expect increased traffic to the website due to an upcoming sale during a holiday weekend. You need to ensure that the website performs optimally when user activity is at its highest. Which option should you select? To answer, select the appropriate option in the answer area.

Answer:

QUESTION 99
Your company network includes two branch offices. Users at the company access internal virtual machines (VMs). You want to ensure secure communications between the branch offices and the internal VMs and network. You need to create a site-to-site VPN connection. What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

A.    a private IPv4 IP address and a compatible VPN device
B.    a private IPv4 IP address and a RRAS running on Windows Server 2012
C.    a public-facing IPv4 IP address and a compatible VPN device
D.    a public-facing IPv4 IP address and a RRAS running on Windows Server 2012

Answer: CD
Explanation:
C (not A): VPN Device IP Address – This is public facing IPv4 address of your on-premises VPN device that you’ll use to connect to Azure. The VPN device cannot be located behind a NAT.
D (Not B): At least one or preferably two publicly visible IP addresses: One of the IP addresses is used on the Windows Server 2012 machine that acts as the VPN device by using RRAS.
The other optional IP address is to be used as the Default gateway for out- bound traffic from the on-premises network. If the second IP address is not available, it is possible to configure network address translation (NAT) on the RRAS machine itself, to be discussed in the following sections. It is important to note that the IP addresses must be public. They cannot be behind NAT and/or a firewall.

QUESTION 100
You administer a DirSync server configured with Azure Active Directory (Azure AD). You need to provision a user in Azure AD without waiting for the default DirSync synchronization interval. What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

A.    Restart the DirSync server.
B.    Run the Start-OnlineCoexistenceSync PowerShell cmdlet.
C.    Run the Enable-SyncShare PowerShell cmdlet.
D.    Run the Azure AD Sync tool Configuration Wizard.
E.    Replicate the Directory in Active Directory Sites and Services.

Answer: BD


http://www.passleader.com/70-534.html

[Pass Ensure VCE Dumps] New PassLeader 225q 70-517 Practice Test Guarantee 100 Percent Exam Pass (1-20)

$
0
0

How To Pass The New 70-517 Exam? PassLeader now is offering the newest and 100 percent pass ensure 70-517 exam dumps with free pdf and vce dumps download, the latest updated 225q 70-517 exam questions are the most accurate exam dumps with all new questions including, which will help you passing 70-517 exam easily and quickly. Now visit our site passleader.com and get the valid 225q 70-517 vce and pdf practice test and FREE VCE PLAYER!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

Case Study 1 – Olympic Marathon (QUESTION 1 – QUESTION 12)
Background
You are developing an ASP.NET MVC application in Visual Studio 2012 that will be used by Olympic marathon runners to log data about training runs.
Business Requirements
The application stores date, distance, and duration information about a user’s training runs. The user can view, insert, edit, and delete records. The application must be optimized for accessibility. All times must be displayed in the user’s local time.
Technical Requirements
Data Access:
Database access is handled by a public class named RunnerLog.DataAccess.RunnerLogDb. All data retrieval must be done by HTTP GET and all data updates must be done by HTTP POST.
Layout:
All pages in the application use a master layout file named \Views\Shared\_Layout.cshtml.
Models:
The application uses the \Models\LogModel.cs model.
Views:
All views in the application use the Razor view engine. Four views located in \Views\RunLog are named:

– _CalculatePace.cshtml
– EditLog.cshtml
– GetLog.cshtml
– InsertLog.cshtml
The application also contains a \Views\Home\Index.cshtml view.
Controllers:
The application contains a \Controllers\RunLogController.cs controller.
Images:
A stopwatch.png image is located in the \Images folder.
Videos:
A map of a runner’s path is available when a user views a run log. The map is implemented as an Adobe Flash application and video. The browser should display the video natively if possible, using H264, Ogg, or WebM formats, in that order. If the video cannot be displayed, then the Flash application should be used.
Security:
You have the following security requirements:
– The application is configured to use forms authentication.
– Users must be logged on to insert runner data.
– Users must be members of the Admin role to edit or delete runner data.
– There are no security requirements for viewing runner data.
– You need to protect the application against cross-site request forgery.
– Passwords are hashed by using the SHA1 algorithm.
RunnerLog.Providers.RunLogRoleProvider.es contains a custom role provider. Relevant portions of the application files follow. (Line numbers are included for reference only.)
Application Structure






QUESTION 1
Drag and Drop Question
You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.cshtml to display the runner’s average mile pace. How should you implement the view? (To answer, drag the appropriate code segments to the correct location or locations. 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.)

Answer:

QUESTION 2
Drag and Drop Question
You need to implement security according to the business requirements. How should you modify RunLogController? (To answer, drag the appropriate code segment to the correct location or locations. 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.)

Answer:

QUESTION 3
You need to make the “Distance” header of the table bold in the Views/RunLog/GetLog.cshtml view. Which code segment should you use?

A.    table>tr{ font-weight: bold; }
B.    table>th:last-child{ font-weight: bold; }
C.    table+first-child{ font-weight: bold; }
D.    table>tr>th:nth-child (2) { font-weight: bold; }

Answer: D

QUESTION 4
You need to extend the edit functionality of RunLogController. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C

QUESTION 5
Hotspot Question
You need to implement the map of the runners’ paths. How should you build the video viewer? (To answer, select the appropriate options in the answer area.)

Answer:

QUESTION 6
Hotspot Question
You need to ensure that only valid parameters are passed to the EditLog action. How should you build the route? (To answer, select the appropriate options in the answer area.)

Answer:

QUESTION 7
Drag and Drop Question
You need to ensure that the application uses RunLogRoleProvider custom role provider. How should you modify the web.config file? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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.)

Answer:

QUESTION 8
If the canvas element is supported by the client browser, the application must display “London 2012” in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file. You need to modify the layout to ensure that “London 2012” is displayed as either formatted text or as plain text, depending on what the client browser supports. Which code segment should you add?

A.    <canvas id=”myFooter”>
@(Request,Browser.JavaApplets ? new HtmlString(“London 2012”) : null)
</canvas>
B.    <canvas id=”myFooter”London 2012</canvas>
C.    <canvas id=”myCanvas”>London 2012</canvas>
D.    <canvas id=”myCanvas”><canvas>
<p>London 2012</p>

Answer: C

QUESTION 9
Drag and Drop Question
You need to ensure that only valid parameters are passed to the EditLog action. How should you build the route? (To answer, drag the appropriate code segments to the correct location or locations. 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.)

Answer:

QUESTION 10
You need to add an action to RunLogController to validate the users’ passwords. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B


http://www.passleader.com/70-517.html

QUESTION 11
You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml view. Which code segment should you use?

A.    Table > th:last-child { font-weight: bold; }
B.    Table+first-child{ font-weight: bold; }
C.    Table>tr>th:nth-child{2){font-weight: bold; }
D.    Table > tr { font-weight: bold; }

Answer: D

QUESTION 12
You need to display the “miles” unit description after the distance in the GetLog view. Which line of code should you use to replace line GL21? (Each correct answer presents a complete solution. Choose all that apply.)

A.    @log.Distance miles
B.    @Htrml.DisplayFor(model => log.Distance) miles
C.    @log.Distance.ToStringO @Html.TextArea (“miles”)
D.    @Htmi.DisplayFor(model => log.Distance.ToString() + ” miles”)

Answer: AB

Case Study 2 – Web Application (QUESTION 13 – QUESTION 27)
Background
You are developing an online shopping web application.
Business Requirements
– A user is not required to provide an email address. If a user enters an email address, it must be verified to be a valid email address.
– Information about the first product on the product page must fade out over time to encourage the user to continue browsing the catalog.
– Administrators must be able to edit information about existing customers.
– Administrators also must be able to specify a default product on the product page.
Technical Requirements
General:
– The web store application is in a load-balanced web farm. The load balancer is not configured to use server affinity.
– The web store application is an ASP.NET MVC application written in Visual Studio 2012.
– Products:
– The value of the productId property must always be greater than 0.
– The Products page for mobile devices must display to mobile users. The Products page for desktop devices must display to desktop users.
Storage:
– The data must be stored in a serialized XML data format.
– Serialized objects must be schema-independent.
Exception handling:
– Exceptions originating from IIS must display a page with support contact information.
– Some page links expire, and users who access these links encounter 404 errors.
– Exceptions must be logged by using the WriteLog method of the Utility class.
Browser and device support:
– The application must support image format conversions from .bmp to .jpeg for mobile devices.
– The application must support image format conversions from .bmp to .png for desktop devices.
Application Structure


QUESTION 13
You need to ensure that new customers enter a valid email address. Which code should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: AD

QUESTION 14
You are designing a Windows Communication Foundation (WCF) service that uses the Product class. You need to update the class to meet the storage requirement. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Mark the Product class with the DataContract attribute.
B.    Mark the public members of the Product class with the DataContractFormat attribute.
C.    Mark the Product class with the CollectionDataContract attribute.
D.    Mark the public members of the Product class with the DataMember attribute.

Answer: AD
Explanation:
So as of .NET 3.5 SP1, you don’t have to add data contract or data member attributes anymore-if you don’t then the data contract serializer will serialize all public properties on your class, just like the XML serializer would. HOWEVER: by not adding those attributes, you lose a lot of useful capabilities:
– without [DataContract], you cannot define an XML namespace for your data to live in
– without [DataMember], you cannot serialize non-public properties or fields
– without [DataMember], you cannot define an order of serialization (Order=) and the DCS will serialize all properties alphabetically
– without [DataMember], you cannot define a different name for your property (Name=)
– without [DataMember], you cannot define things like IsRequired= or other useful attributes
– without [DataMember], you cannot leave out certain public properties – all public properties will be serialized by the DCS

QUESTION 15
You need to implement the requirements for handling IIS errors. What should you do?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 16
You need to add a method to the ProductController class to meet the exception handling requirements for logging. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 17
An advertising campaign was recently launched. Some of the ads contain a link to products that no longer exist or have IDs that have changed. You need to ensure that all product links display a product. Which code segment should you use to configure the route?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 18
You need to modify the application to meet the productId requirement. What should you do?

A.    Modify the RegisterGlobalFilters method of the Global.asax.es file as follows.
Contract.Assume<ArgumentException>(productId != 0);
B.    Modify the GetDealPrice method of ProductController as follows.
Contract.Requires<ArgumentException>(productId > 0);
C.    Modify the RegisterGlobalFilters method of the Global.asax.es file as follows.
Contract.Requires<ArgumentException>(productId > 0);
D.    Modify the GetDealPrice method of ProductController as follows.
Contract.Assume<ArgumentException>(productId > 0);

Answer: B
Explanation:
The Contract.Requires(Of TException) method specifies a precondition contract for the enclosing method or property, and throws an exception if the condition for the contract fails.
Syntax:
Declaration
Public Shared Sub Requires(Of TException As Exception) ( _ condition As Boolean _ )
Type Parameters
TException
The exception to throw if the condition is false.
Parameters
condition
Type: System.Boolean
The conditional expression to test.
Reference: Contract.Requires(Of TException) Method (Boolean)

QUESTION 19
You need to implement the business requirements for managing customer data. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Add a class named Customer-Controller to the Controllers folder. Then add a method named Edit to the class.
B.    Create a new controller named Administration in the Controllers folder. Add an action named EditCustomer to the controller.
C.    Add a folder named Customer to the Views folder. Then create a view inside this folder named Edit.aspx.
D.    Create a new folder named EditCustomer to the Views folder. In the new folder, create a new file named Administration.aspx.

Answer: AC

QUESTION 20
When users attempt to retrieve a product from the product page, a run-time exception occurs if the product does not exist. You need to route the exception to the CustomException.aspx page. Which method should you add to MvcApplication?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] PassLeader Free 70-517 Study Guide with 225q Questions and Answers (21-40)

$
0
0

How To Pass The New 70-517 Exam? PassLeader now is offering the newest and 100 percent pass ensure 70-517 exam dumps with free pdf and vce dumps download, the latest updated 225q 70-517 exam questions are the most accurate exam dumps with all new questions including, which will help you passing 70-517 exam easily and quickly. Now visit our site passleader.com and get the valid 225q 70-517 vce and pdf practice test and FREE VCE PLAYER!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 21
You need to implement client-side animations according to the business requirements. Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    $ (“h1: first”) .animate ({ opacity: 0 });
B.    $(“h1:first”).fadeIn(1000);
C.    $(“h1:first”).animate({ opacity: 1 });
D.    $(“h1:first”).fadeOut(1000);

Answer: AD

QUESTION 22
You need to configure session storage in the web.config file to meet the technical requirements for scalability. Which SessionState mode should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    StateServer
B.    InProc
C.    AutoDetect
D.    SqlServer

Answer: AD

QUESTION 23
You need to update the routes to ensure that a product is always displayed on the product page. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B

QUESTION 24
The GetDealPrice method must be called by using Ajax. You need to get the price of a product by using the GetDealPrice method of the ProductController. Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: CD

QUESTION 25
Hotspot Question
You need to implement the mobile device support requirements. How should you build the ProcessRequest method? (To answer, select the appropriate options in the answer area.)

Answer:

QUESTION 26
You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. You need to ensure that the correct page displays to the users. Which code segment should you use to update the controller?

A.    If (Request.IsTabletDevice)
B.    If (Request.Browser.IsBrowser(“Mobile”))
C.    If (Request.UserAgent[“Tablet”])
D.    If (Request.Browser.IsMobileDevice)

Answer: D

QUESTION 27
You need to implement client-side animations according to the business requirements. Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    $(“body h1:nth-child(1)”).fadeIn(1000);
B.    $(“body h1:nth-child(1)”)-fadeOut(1000);
C.    $(“body h2:nth-child(1)”).animate({ opacity: 0 });
D.    $(“body h1:nth-child(1)”).animate({ opacity: 1 });

Answer: BC

Case Study 3 – Video Transcoding Service (QUESTION 28 – QUESTION 36)
Background
You are developing a video transcoding service. This service is used by customers to upload video files, convert video to other formats, and view the converted files. This service is used by customers all over the world.
Business Requirements
The user-facing portion of the application is an ASP.NET MVC application. It provides an interface for administrators to upload video and schedule transcoding. It also enables administrators and users to download the transcoded videos. When videos are uploaded, they are populated with metadata used to identify the video. The video metadata is gathered by only one system when the video upload is complete. Customers require support for Microsoft Internet Explorer 7 and later. The application contains a header that is visible on every page. If the logged-on user is an administrator, then the header will contain links to administrative functions. This information is read from a cookie that is set on the server. The administrative links must not be present if an error condition is present.
Technical Requirements
User Experience:
– The front-end web application enables a user to view a list of videos.
– The main view of the application is the web page that displays the list of videos.
– HTML elements other than the list of videos are changed with every request requiring the page to reload.
Compatibility:
– Some customers use browsers that do not support the HTTP DELETE verb.
– These browsers send a POST request with an HTTP header of X-Delete when the intended action is to delete.
Transcoding:
– The video transcoding occurs on a set of Windows Azure worker roles.
– The transcoding is performed by a third-party command line tool named transcode.exe. When the tool is installed, an Environment variable named transcode contains the path to the utility.
– A variable named license contains the license key. The license for the transcoding utility requires that it be unregistered when it is not in use.
– The transcoding utility requires a significant amount of resources. A maximum of 10 instances of the utility can be running at any one time. If an instance of the role cannot process an additional video, it must not prevent any other roles from processing that video.
– The utility logs errors to a Logs directory under the utilities path.
– A local Azure directory resource named perf is used to capture performance data.
Development:
– Developers must use Microsoft Remote Desktop Protocol (RDP) to view errors generated by the transcode.exe utility.
– An x509 certificate has been created and distributed to the developers for this purpose.
– Developers must be able to use only RDP and not any other administrative functions.
Application Structure


QUESTION 28
You need to ensure that developers can connect to a Windows Azure role by using RDP. What should you do?

A.    Export a certificate without a private key.
Upload the .cer file to the Management Certificates section on the Azure Management Portal.
B.    Export a certificate with a private key.
Upload the .pfx file to the Management Certificates section on the Azure Management Portal.
C.    Export a certificate without a private key.
Upload the .cer file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.
D.    Export a certificate with a private key.
Upload the .pfx file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.

Answer: D

QUESTION 29
Customers download videos by using HTTP clients that support various content encodings. You need to configure caching on the DownloadVideo action to maximize performance. Which attribute should you add?

A.    Option A
B.    Option B
C.    Option C
D.    Option D
E.    Option E

Answer: E

QUESTION 30
You need to ensure that all the MVC controllers are secure. Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C


http://www.passleader.com/70-517.html

QUESTION 31
You are creating a new authentication system that uses an HTTP header value. The existing authentication system must continue to operate normally. You need to implement the custom authentication. What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

A.    Create a class derived from ActionResult and check for a valid HTTP header value in the ExecuteResult method. Change all actions to return this new class.
B.    Create an HttpHandler to check for a valid HTTP header value in the ProcessRequest method.
C.    Create an HttpModule and check for a valid HTTP header value in the AuthenticateRequest event.
D.    Create a class derived from AuthorizeAttribute and check for a valid HTTP header value in the AuthorizeCore method. Change usages of the existing AuthorizeAttribute to use the new class.

Answer: CD

QUESTION 32
You need to maximize performance of video delivery. Which code segment should you use as the body of the GetVideoStream function in the Video-Controller class?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 33
The transcode.exe utility activates its license online when it is installed. You need to ensure that the registration of the transcode utility is handled as specified in its license. Which method should you add to the TranscodeWorkerRole class?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 34
Hotspot Question
The designer for the website gave you the following image as the design for the page.

The normal color for the tab is *2da4c2, and the color when the mouse is over the tab is #ffd800. The HTML that implements the navigation tab is as follows.

You need to implement the design. What should you do? (To answer, select the appropriate options in the answer area.)

Answer:

QUESTION 35
You need to ensure that all customers can delete videos regardless of their browser capability. Which code segment should you use as the body of the SendAsync method in the DeleteHandler class?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: B

QUESTION 36
Drag and Drop Question
You need to ensure that the transcode.exe utility is installed before the worker role starts. How should you implement the startup task? (To answer, drag the appropriate values to the correct element or attribute. Each value 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.)

Answer:

Case Study 4 – Consolidated Messenger (QUESTION 37 – QUESTION 47)
Background
Business Scenario
You are the lead architect, developer, and web administrator of SharePoint 2013 for your company, Consolidated Messenger. Consolidated Messenger is a national company with hundreds of franchises. Consolidated Messenger focuses on bicycle-based courier services in metropolitan areas. Consolidated Messenger sells franchises to franchisees. Franchisees have three user types:

Technical Scenario
When a franchisee purchases a franchise, they are provided with:
– Access to Consolidated Messenger’s SharePoint 2013 multi-tenant farm located at https://sp.consolidatedmessenger.com
– Access to a Customers list in the Corporate site collection, named CorporateSiteCollection, which includes a list of all Customers across all franchisees
– A single site collection for each franchisee, named FranchiseeSiteCollection
– An unlimited number of customer subsites for each franchisee
– Consolidated Messenger has funded the creation of three apps

Solution Architecture

Site Collection Structure

SharePoint Farm Design
My Sites are not created for each Franchisee unless they are requested.
Business Requirements

Technical Requirements
Each Franchise site collection must include a SharePoint document library to store CSV files.
FranchiseMonitor App
Application Design
Franchise employees use Microsoft Excel 2013 to create a list of pick-up and drop-off locations for each bicycle courier for each day. The spreadsheet is named Appointments.csv.
Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
Technical Requirements
– The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
– The FranchiseMonitor app must be listed on the Site Contents page of the host web.
– The FranchiseMonitor app must use claims-based authentication, once launched, to authenticate the franchisee against an API provided by Margie’s Travel.
– The FranchiseMonitor app must be deployed to all site collections by the SharePoint administrator.
– The FranchiseMonitor app must be immediately available to be installed on websites within the tenancy on a website-by-website basis to any tenant contained in the SharePoint farm.
– The FranchiseMonitor app must be able to create lists within SharePoint to store records of the CSV files so that they may be sent to the CloudManager app.
CourierMobile App
Application Design
– Each bicycle courier for each franchise is provided a Microsoft Surface Pro device with LTE. Most bicycle couriers do not return their Microsoft Surface Pro devices back to their franchise locations nightly.
– The CourierMobile app runs on the bicycle courier’s Microsoft Surface Pro device.
– Margie’s Travel provides an API to enable external developers to authenticate by using OAuth and claims-based authentication. Many couriers are members of Margie’s Travel.
– The CourierMobile app receives Microsoft Outlook appointments and Outlook appointment cancellations from the CloudManager app. The appointments include the address of the location for pick-up or drop-off.
Business Requirements
– The CourierMobile app must display a Bing map to display route data when Outlook appointments or appointment cancellations are received.
– The CourierMobile app must capture the location of the Microsoft Surface Pro device on a regular interval. This data must be captured regardless of whether the device has connectivity.
– The CourierMobile app must be able to connect to the SharePoint Customers list and verify whether the account belongs to the franchisee to avoid pickups or deliveries to customers that do not belongs to the franchisee. When the CourierMobile add accesses the Customers list, it must only read its contents with the minimum permissions necessary.
Technical Requirements
– The CourierMobile app must provide the ability to authenticate by using the courier’s Microsoft account or the Margie’s Travel API.
– The CourierMobile app must include a custom sign-in page that includes branding from Consolidated Messenger and Margie’s Travel, based on the authentication provider selected by the user.
– The CourierMobile app must be able to capture more than 30 million data points of location data daily as they occur and upload the location data to the cloud when connected to the Internet.
CloudManager App
Application Design
CloudManager processes two sets of data:
– Updates to the list of appointments received from the FranchiseMonitor app
– Geo-location data received from the CourierMobile app
Business Requirements
The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.
Technical Requirements
– The CloudManager app must elastically scale to capture courier location data as the number of bicycle couriers increases or decreases.
– The CloudManager app must process bicycle courier location data from a data store capable of storing more than 30 million items.
Solution Code
MyClaimsProvider.es

AppManifest.xml for Franchise Monitor app

QUESTION 37
You need to ensure that the CourierMobile app determines whether the franchisee owns the account. What should you do?

A.    Use OAuth and App only security. Request the Read right from the http://sharepoint/content/sitecollection/web/list scope URI.
B.    Use OAuth and App+User security. Request the Read right from the http://sharepoint/content/sitecollection scope URI.
C.    Use SPSecurity.RunWithElevatedPrivileges to connect to SharePoint and read from the Accounts list in the site collection.
D.    Use the SharePoint user credentials of the bicycle messenger to connect to SharePoint and read from the Accounts list in the site collection.

Answer: C

QUESTION 38
A franchisee deletes several sites from the franchise’s site collection. The franchisee site collection administrator must recover the sites. You need to instruct the franchisee site collection administrator on how to access the page to recover the sites. What should the site collection administrator do to get to the appropriate page?

A.    Select General Settings for the Web Application in Central Administration and change the second stage Recycle Bin settings to 100 percent.
B.    Select General Settings for the Web Application in Central Administration and change the first stage Recycle Bin settings to 0 days.
C.    Select the Recycle Bin on the Site Settings page. Choose the appropriate sites and select Restore Selection.
D.    Select the Recycle Bin in the Quick Launch page. Choose the appropriate sites and select Restore Selection.

Answer: C
Explanation:
Note: The sites have been deleted. They need to be restored. A and B are wrong because modifying the Recycle Bin settings after the sites are deleted will have no effect on the deleted sites.

QUESTION 39
You need to ensure that the CloudManager app can write route progress check-ins to the courier’s microfeed. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Ensure that SP.RequestExecutor.js can be accessed in a browser window with no errors.
B.    Ensure that the CloudManager app has the Manage permission request scoped to the URL for the franchisee’s My Site.
C.    Ensure that the MySite host is provisioned for each franchisee.
D.    Ensure that all cookies are made available between the My Site and the CloudManager app domain.
E.    Ensure that the CloudManager app has the Write permission request scoped to the URL for the franchisee’s My Site.
F.    Ensure that SP.UserProfiles.js can be accessed in a browser window with no errors.

Answer: ABDE
Explanation:
From scenario:
/ Business Requirements
The FranchiseMonitor app must allow a Franchise employee to upload Appointments.csv to a SharePoint document library in each Franchisee site collection, and send Appointments.csv to the CloudManager app.
/ The FranchiseMonitor app must display the courier’s location on the bicycle courier’s microfeed on the SharePoint farm if the courier has remained stationary for more than three minutes.
/ The CloudManager app must implement business logic that parses Appointments.csv and geo-location data and sends Appointments or Appointment cancellations to the CourierMobile app.

QUESTION 40
You need to set the appropriate permissions for the franchise employees’ customer list and customer subsite access. What should you do?

A.    Add franchise employees to the Members group in the CorporateSiteCollection site collection.
Break inheritance at the franchisee subsite level.
Create a custom role definition at the franchisee subsite level.
Add franchise employees to the custom role.
B.    Create a custom role definition in the CorporateSiteCollection site collection with Limited
Access to the Customers list.
Add franchise employees to the custom role at the CorporateSiteCollection site collection.
Break inheritance at the subsite level.
Add franchise owners to the Owners group at the subsite level.
C.    Create a custom role definition in the CorporateSiteCollection site collection with Limited
Access to the Customer list.
Add franchise employees to the custom role.
Allow full inheritance of the role definition and permissions at the site level.
D.    Add franchise employees to the Visitors group in the CorporateSiteCollection site collection.
Break inheritance at the franchisee subsite level.
Create a custom role definition at the subsite level with Full Control permissions.
Add franchise employees to the custom role.

Answer: B


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] PassLeader Free 70-517 PDF Study Guide and VCE Dumps (41-60)

$
0
0

What’s the secret of easily passing new 70-517 exam? PassLeader have been updated the 70-517 exam dumps with the newest exam questions. We offer the latest 225q 70-517 PDF dumps and VCE dumps with New Version VCE Player for free download to ensure your 70-517 exam pass. Now visit www.passleader.com and get the 100 percent pass ensure 70-517 braindumps!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 41
Drag and Drop Question
Some franchisees want to launch the FranchiseMonitor app from a link named Launch Franchise Monitor that is displayed next to the name of the user who is currently logged in. Other franchisees do not want to have the link present. The link must be contained within the same out-of-the-box control, as shown in the screenshot below:

You need to configure support for the Launch Franchise Monitor link. Which four 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.)

Answer:

Explanation:
Empty elements are most often used to define SharePoint project items that lack a project or project item template in Visual Studio. When you add an empty element to your project, a node named EmptyElement[x] (where [x] is a unique number) is created. EmptyElement[x] contains a single file that is named Elements.xml. Use XML statements to define the desired elements in Elements.xml.

QUESTION 42
You need to create rules in the CourierMobile app based on the ItemType that arrives. For which ItemTypes should you test? (Each correct answer presents part of the solution. Choose all that apply.)

A.    IPM.Schedule.Meeting.Tent
B.    IPM.Note
C.    IPM.Schedule.Meeting.Request
D.    IPM.Appointment
E.    IPM.Schedule.Meeting.Cancelled
F.    IPM.Schedule.Meeting.Pos
G.    IPM.Schedule.Meeting.Neg

Answer: DE
Explanation:
From scenario: The CourierMobile app receives Microsoft Outlook appointments (D) and Outlook appointment cancellations (E) from the CloudManager app. The appointments include the address of the location for pick-up or drop-off.

QUESTION 43
You need to implement the custom claims provider for the SharePoint farm. Which code segments should you implement? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Option A
B.    Option B
C.    Option C
D.    Option D
E.    Option E
F.    Option F

Answer: BDF

QUESTION 44
You need to meet the requirements for data storage for the CourierMobile app and the CloudMananger app. Which technologies should you use? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Windows Azure SQL Database
B.    SharePoint content database
C.    Secure Store
D.    SQL Server Express LocalDB
E.    SharePoint list

Answer: AD
Explanation:
A: SQL Azure in the cloud.
D: LocalDB is a lightweight version of Express that has the same programmability features, but it runs in user mode and has a fast, zero-configuration installation and a short list of prerequisites.
From scenario:
CourierMobile App
The CourierMobile app must be able to capture more than 30 million data points of location data daily as they occur and upload the location data to the cloud when connected to the Internet.
Cloudmanager App
/ The CloudManager app must elastically scale to capture courier location data as the number of bicycle couriers increases or decreases.
/ The CloudManager app must process bicycle courier location data from a data store capable of storing more than 30 million items.

QUESTION 45
Hotspot Question
You need to select the app experience for the CourierMobile app. In the App for Office 2013 dialog window, which configuration option should you select? (To answer, select the appropriate configuration option in the answer area.)

Answer:

QUESTION 46
You need to create a custom sign-in page to allow the users of the FranchiseMonitor app to authenticate against SharePoint and Margie’s Travel API. What should you do?

A.    Create an app for SharePoint. Set the trust level to Sandbox solution.
Create an application page that writes a cookie named FedAuth.
Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
B.    Create an app for SharePoint. Set the trust level to Farm solution.
Create an application page that writes a cookie named FedAuth.
Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
C.    Create an app for SharePoint. Set the trust level to Farm solution.
Create an application page that writes a cookie named ASPXAUTH.
Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.
D.    Create an app for SharePoint. Set the trust level to Sandbox solution.
Create an application page that writes a cookie named ASPXAUTH.
Deploy the app and configure the Sign In Page URL in Central Administration Authentication Provider for the zone.

Answer: B

QUESTION 47
Hotspot Question
You need to design the FranchiseMonitor app to meet the requirements. What should you do? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

Case Study 5 – SharePoint (QUESTION 48 – QUESTION 56)
A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely. The users will be able to set up task lists, mark tasks as completed, and manage their task lists.
Business Requirements
The client specifies the following business requirements:
– Users can create task lists.
– Users can retrieve task lists.
– Project leads can remove task lists.
– Users can modify task lists.
– Only users with a paid license can use the app.
– Tasks can be tagged with the programming language being used. Task list items may be tagged only with the following terms: C++, C#, and JavaScript.
– Navigational links across the top should be driven by the term store and use URLs that will improve search engine ranking.
– Set a system message that all users can access without the need to query a data source.
– Remote users will authenticate to the app by using a username and password.
– During development, the app will be tested by deploying to a development SharePoint site at http://sharepoint.contoso.com/tasks.
– When completed, the app will be published to the Microsoft Store as a paid app.
Existing Site Configuration
The table below shows the current site configuration for the client’s SharePoint site.

Task List Design
The app should create a SharePoint list named Tasks with the following attributes:

User Groups
SharePoint groups will be used to manage access to features of the app.

Task Display
The app should retrieve the Tasks list and display the contents on a webpage 20 tasks at a time.
Technical Requirements
You have the following requirements:
– Query the Microsoft apps licensing service to validate the license.
– Package and configure the app.
– Configure navigation to use taxonomy-based navigation automatically generated by SharePoint.
– Utilize CSOM to retrieve data from the SharePoint site.
– Implement the system message by using a property bag that uses the key named SystemMessage.
– Implement and configure the credential store.
– The app will be internally tested for at least one month to track and fix any run-time errors.
Pending Issues
When you deploy the app from Visual Studio 2012, you receive the error: “Error occurred in deployment step ‘Install app for SharePoint’: Sideloading of apps is not enabled on this site.”
Application Structure
Relevant portions of the app 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.)
LicenseValidation.es

SystemMessage.es

ImpIementTaskList.es

RetrieveTaskList.es

CanDeleteTask.es

TermSet Navigation.es

QUESTION 48
You need to configure the credential store for the app. Which properties should you configure? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Pin
B.    Windows Password
C.    Windows User Name
D.    Password
E.    User Name

Answer: DE
Explanation:
From scenario:
– A client asks you to create a basic task tracking app for SharePoint. The app will be hosted remotely
– Remote users will authenticate to the app by using a username and password.

QUESTION 49
You need to deploy the package. Which file should you select?

A.    the file ending in .publish
B.    the file ending in .wsp
C.    the file ending in .dll
D.    the file ending in .app

Answer: D

QUESTION 50
Drag and Drop Question
You need add to code at line IL22 to implement the task list design. How should you complete the relevant code? (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.)

Answer:


http://www.passleader.com/70-517.html

QUESTION 51
You need to implement term set navigation. Which code segment should you insert at line TN24?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 52
You receive an error when you deploy the app. You need to resolve the error. What should you do?

A.    Deploy the app to http://contoso-public.sharepoint.com.
B.    Enable side-loading of apps in the Visual Studio project properties.
C.    Deploy the app to https://contoso-my.sharepoint.com.
D.    Deploy the app to https://contoso.sharepoint.com/tasks.

Answer: A

QUESTION 53
You need to implement term set navigation. Which code segment should you insert at line TN16?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 54
You need to validate that specific users can delete tasks. Which code segment should you insert at line CD04?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 55
You receive an error when you deploy the app. You need to resolve the error. What should you do?

A.    Create a deployment package and upload the app to the app catalog in SharePoint.
B.    Enable side-loading of apps in the app manifest.
C.    Deploy the app to https://contoso-my.sharepoint.com.
D.    Enable side-loading of apps in the Visual Studio project properties.

Answer: A

QUESTION 56
You need to complete the code at line LV19 to implement the validation of the app license. Which code segment should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C

Case Study 6 – Coho Winery (QUESTION 57 – QUESTION 63)
Background
Coho Winery implements a SharePoint farm. They have an intranet site for company employees and an extranet site for their customers. Coho Winery sells products to wholesale and retail customers. Customers must be able to order specific brands and pay directly.
Business Requirements
Site Collection
The company must organize its main enterprise site to have multiple site collections for different wine brands from various regions. Site documents must have a consistent look and feel.
New Features
The first version (1.0.0.0) of the feature must support the addition of newer functionality when the feature is upgraded to version 1.5.0.0.
Technical Requirements
General
– A Document content type named Finance must be created at the site level. It must contain two site columns named Customer Name and Transaction Date.
– The Order Details and Payment Confirmation content types must be derived from the Finance content type.
– Workflows associated with document content types must be initiated when documents are generated.
– When Payment Confirmation documents are generated, a workflow must send a notification to the customer by email.
User Authorization
– A custom role named Whole sale must be created. Wholesale customers must be assigned to this role in order to view the promotions page.
– A custom permission level must be created. This permission level must add the ViewPages permission to the existing base permissions. This permission level must be added to Wholesale user role.
– Anonymous users must be able to browse the site with limited access to resources.
– The web application has been created with anonymous access enabled.
– Users are prompted for credentials when they browse to the site.
Application Lifecycle Management
– Versioning of the solution artifacts must adhere to industry best practices.
– In a future upgrade process, a new site column named Division must be added to the Finance content type programmatically.
– Only one version of an assembly must be available at runtime.
– Code based hot fixes must be deployed directly to the Global Assembly Cache on all SharePoint servers.
– During maintenance periods, content must be available but must not be modified.
Backup and Recovery
– In the event of hardware failure, the SharePoint environment must be restored to the most recent date.
– The backup process must not degrade system performance.
Performance Optimization and Memory Usage
SPSite objects must be removed from memory immediately after the objects go out of scope.
Automation
Windows PowerShell must be used to automate all operations wherever possible.
Application Structure
Relevant portions of the application 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.)
ContentType.es

UserAuthorization.es

ContentType.Finance.Template.xml

ExportWholesaleSites.ps1

QUESTION 57
A server in the SharePoint farm experiences high memory usage. Task Scheduler on the server runs a Windows PowerShell script to perform backups of Wholesale sites. You need to resolve any memory leak issues in the Windows PowerShell script. What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

A.    Insert the code segment at line EW04:
Start-SPAssignment-Global
B.    Insert the code segment at line EW17:
$site.Close()
C.    Insert the code segment at line EW17:
Stop-SPAssignment-SemiGlobal
D.    Insert the code segment at line EW17:
Stop-SPAssignment-Global

Answer: AC

QUESTION 58
Drag and Drop Question
You need to add code at line UA09 to create the custom role. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)

Answer:

QUESTION 59
After deploying a solution, a code-based hotfix becomes available. You need to deploy the hotfix. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Use assembly binding redirection in the web application configuration file.
B.    Increment the assembly file version of the assembly.
C.    Increment the product version of the assembly.
D.    Increment the assembly version of the assembly.
E.    Use assembly binding redirection in the assembly policy file.

Answer: AC

QUESTION 60
Drag and Drop Question
You need to add code at line CT11 to create the content types. How should you complete the relevant code? (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.)

Answer:


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] New Released 225q 70-517 VCE and PDF Practice Test For Free (61-80)

$
0
0

What’s the secret of easily passing new 70-517 exam? PassLeader have been updated the 70-517 exam dumps with the newest exam questions. We offer the latest 225q 70-517 PDF dumps and VCE dumps with New Version VCE Player for free download to ensure your 70-517 exam pass. Now visit www.passleader.com and get the 100 percent pass ensure 70-517 braindumps!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 61
Hotspot Question
You need to create the required site columns. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)

Answer:

QUESTION 62
Customers report that upon creation of the Payment Confirmation document, they do not receive a confirmation message. You need to ensure that customers receive confirmation messages. What should you do?

A.    Ensure that the user has the correct permissions to start a workflow.
B.    Ensure that the Payment Confirmation content type is deployed.
C.    Ensure that the user is assigned to the Wholesale role.
D.    Ensure that a workflow is associated with the document content type.

Answer: D

QUESTION 63
You need to set the appropriate permission levels. A variable named customRole references Wholesale. Which code segment should you add at line UA09?

A.    customRole.BasePermissions = _permissions | SPBasePermissions.ViewFormPages;
B.    customRole .BasePermissions = _permissions | SPBasePermissions.ViewPages;
C.    customRole.BasePermissions = SPBasePermissions.EmptyMaskSPBasePermissions.ViewPages;
D.    customRole.BasePermissions = SPBasePermissions.ViewPages;

Answer: B

Case Study 7 – Litware Inc (QUESTION 64 – QUESTION 72)
Background
You are a SharePoint developer working for Litware Inc., a large bicycle manufacturing company. Litware runs an intranet that is based on SharePoint Server 2010, side-by-side a collaboration space for various departments. The IT department for Litware is migrating a SharePoint 2010 environment to a new SharePoint 2013 farm. Some collaboration site collections are already migrated, including a Marketing site collection.
Business Requirements
Intranet
Litware is redefining its brand identity. It is essential that the new intranet supports a wide variety of mobile devices, platforms, and browsers. Some of the content must be migrated from the old intranet during the implementation. The redesigned intranet must be extensible. The solution must be designed with the changes in the underlying technology in mind. A marketing company named Graphic Design Institute provides documents and guidelines for the new design for Litware’s intranet.
Collaboration
Litware has the following collaboration requirements:
– The collaboration space must include a start page containing information about site owners, contact data, and statistics on site usage. This information must be available for each collaboration space, directly after its creation.
– The project must be delivered in multiple phases.
– The solution must support changes and updates on the structure and functionality of the collaboration spaces.
Marketing collaboration space
Auditors must be able to create reports about the documents the Marketing team produces. Initial reports should show document distribution over projects and information about the most active documents, the top inactive documents, and the most active users. Additional reports will be added over time.
Technical Requirements
Publishing Design for the Intranet
Litware will use the following web application for the intranet: https://intranet.litwareinc.com. The publishing site design is delivered as a set of HTML files (litwarepublishing.html), CSS (Litwarepublishing.css), and image files from the marketing company. A design package must be created for easier deployment over various platforms. During the creation and application of the design package to the publishing site, SharePoint 2013 out-of-the-box capabilities must be used as much as possible to ensure simple design changes and to simplify the upgrade procedures. The publishing site must support rendering on a number of devices, starting with Windows Phone. Apart from being deployed on all existing publishing sites, the design package must be automatically applied each time a publishing site is created. A search box must be available on all publishing sites.
Collaboration
Litware will use two additional web applications for the collaboration:
– Collaboration 1: https://collab1.litwareinc.com
– Collaboration 2: https://collab2.litwareinc.com
Most of the features contained within the Team Site template are sufficient; however, a few additions to the template must be made to support the business requirements. In order to achieve this and ensure maximum portability, a web template based on the Team Site definition must be created. A three-state workflow must be used to manage business processes. A customized default home page must be deployed by using a site feature.
Feature IDs:
– Three-state workflow: FDE5D850-671E-4143-950A-87B473922DC7
– Litware Web Artifacts: DBF80SAB-03D9-43DC-9154-52D6AC54689F
The project must be implemented in phases, so a solution must be developed to support upgrade procedures. As soon as the package containing the web template Litware.Intranet.Templates.wsp is deployed, the Litware Team Site template must be available for use in all site collections. In order to make the solution as extensible as possible, all core functionality should be moved to the separate package Litware.Intranet.Core.wsp. Deployment of the package containing the Litware web templates Litware.Intranet.Templates.wsp must be prevented if the core package is not deployed in order to prevent deployment errors and eventually damage on the site structure itself.
Litware.Intranet.Templates contains two features:
– The LitwareWebTemplateFeature feature contains the Litware Team Site web template. Templates with this title must be available in the group Litware in the template selection.
– The LitwareWebArtifacts hidden feature contains code required to run after the provisioning is completed.
The LitwareWebArtifacts feature can be activated only if the LitwareWebTemplateFeature feature is activated as well.
Marketing site collection
An existing marketing collaboration site located in a web application named Collaboration 1 is located at https://collabl.litwareinc.com/sites/marketing. Collaboration 1 contains a document library with approximately 9000 documents for approximately 200 projects. The largest project contains 120 files. Documents are assigned to appropriate projects by using the Projects field. The farm uses the default throttle settings. Users report that they cannot sort documents in the marketing collaboration site. Auditors have access to the page that provides statistics on Marketing documents. This page contains a report on document distribution over projects and information about the most active documents, the top inactive documents, and the most active users. Processing the queries can result in working with huge result sets. You must ensure that the information on this page is always available and that the queries are not throttled. The relevant code segment is available in the code sections area (MarketingAudit.ascx.es).
Application Structure
Relevant portions of the app files are shown below. (Line numbers in the code segments are included for reference only and include a two-letter prefix that denotes the specific file to which they belong.)
Element.xml file from Litware.Intranet.Templates.wsp:

MarketingAudit.ascx.es

QUESTION 64
You create a document reporting Web Part for the Marketing team auditors. You need to configure throttling for the Web Part. Which code segment should you insert at line MA08?

A.    spQuery.QueryThrottleMode = SPQueryThrottleOption.Strict;
B.    spQuery.QueryThrottleMode = SPQueryThrottleOption.Override;
C.    spQuery.QueryThrottleMode = SPQueryThrottleOption.Disable;
D.    spQuery.QueryThrottleMode = SPQueryThrottleOption.Default;

Answer: B

QUESTION 65
You need to create a design package for the publishing sites. What should you do?

A.    Use SharePoint Designer to create master pages and a design package.
B.    Use Visual Studio 2012 to create master pages and generate a design package.
C.    Use display templates.
D.    Use Design Manager.

Answer: D

QUESTION 66
Drag and Drop Question
You need to create a collaboration template. How should you complete the relevant code? (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.)

Answer:

QUESTION 67
Drag and Drop Question
You need to apply the Design Package to all of the required sites. How should you complete the relevant code? (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.)

Answer:

QUESTION 68
You implement the dependency changes based on the requirements for the Litware web artifacts feature. When you deploy the Litware.Intranet.Templates.wsp package, you receive an error message. You need to ensure that the package deploys successfully. What should you do?

A.    Set the scope of the Litware web artifacts feature to SPSite.
B.    Set the scope of the Litware web artifacts feature to SPFarm.
C.    Set the Is Hidden option of the Litware web artifacts feature to False.
D.    Set the Auto Activate in Central Admin parameter of the Litware web artifacts feature to True.

Answer: C

QUESTION 69
Hotspot Question
You need to ensure that users can sort files by using the Projects field. From the List Settings page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer:

QUESTION 70
Hotspot Question
You need to scope the feature containing the Litware Team Site template. In the Feature Designer tool in Visual Studio 2012, which scope option should you select? (To answer, select the appropriate scope from the drop-down list in the answer area.)

Answer:


http://www.passleader.com/70-517.html

QUESTION 71
Drag and Drop Question
You need to ensure that the features required for the Litware Team Site web template are referenced correctly in the ONET.XML file. How should you complete the relevant code? (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.)

Answer:

QUESTION 72
Hotspot Question
You need to configure the publishing site to support the browser requirements. From Site Settings, which option should you select first? (To answer, select the appropriate option in the answer area.)

Answer:

Case Study 8 – Trey Research (QUESTION 73 – QUESTION 83)
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 Abstractlndexer. The app must use the Abstractlndexer 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 73
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

Answer: B

QUESTION 74
Drag and Drop Question
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.)

Answer:

QUESTION 75
Drag and Drop Question
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.)

Answer:

QUESTION 76
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.

Answer: B

QUESTION 77
Drag and Drop Question
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.)

Answer:

Explanation:
* 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 78
Drag and Drop Question
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.)

Answer:

QUESTION 79
Hotspot Question
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.)

Answer:

Explanation:
* 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 80
Hotspot Question
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 dropdown list in the answer area.)

Answer:


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] Wrote 70-517 Exam With PassLeader New 225q 70-517 Practice Test and PDF Study Guide (81-100)

$
0
0

Get New Valid 70-517 Exam Dumps To Pass Exam Easily: The following new 70-517 exam questions were updated in recent days by PassLeader, visit passleader.com to get the full version of new 225q 70-517 exam dumps with free version of new VCE Player software, our valid 70-517 briandumps will help you passing 70-517 exam easily! 70-517 PDF practice test and VCE are all available now!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 81
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

Answer: B

QUESTION 82
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.

Answer: A

QUESTION 83
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

Answer: B

Case Study 9 – Lucerne Publishing (QUESTION 84 – QUESTION 94)
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:
– 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 84
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

Answer: E

QUESTION 85
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.

Answer: AE
Explanation:
http://ittechnotebook.blogspot.co.uk/2013/07/how-to-find-real-error-in-sharepoint.html

QUESTION 86
Hotspot Question
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.)

Answer:

QUESTION 87
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

Answer: C

QUESTION 88
Drag and Drop Question
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.)

Answer:

QUESTION 89
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.

Answer: AB
Explanation:
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 90
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.

Answer: E


http://www.passleader.com/70-517.html

QUESTION 91
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(CatalogConnectionSettings catalogInfo)
B.    Public void OnPublishCatalog(string catalogPath)
C.    Public void DeleteCatalogConnection(string catalogPath)
D.    Public void SetCatalogConnection(string catalogPath, boot disconnect)

Answer: AC
Explanation:
* 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 92
Hotspot Question
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.)

Answer:

QUESTION 93
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

Answer: BF
Explanation:
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 94
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

Answer: AC

Case Study 10 – Contoso Ltd (QUESTION 95 – QUESTION 104)
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 http://www.contoso.com/FindAnAgent.
The following table lists the query string parameters and the way that each parameter must be used by the Web Part.

Application Structure
Relevant portions of the markup and code for the solution 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.)
Elements.xml

FeaturesTermSet.es

Import.cs

QUESTION 95
Drag and Drop Question
You need to make updates when an agent saves information about a new office. How should you complete the relevant code? (To answer, drag the appropriate code segment to the correct location or 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.)

Answer:

QUESTION 96
You need to add the field control to the About Us page layout. Which control should you add?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: A

QUESTION 97
You need to configure search engine optimization for the site collection. On the Search Engine Optimization Settings page, what should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Select the Do not filter link parameters option
B.    In the Filter link parameters text box, enter agentName&officeId&certs
C.    In the Filter link parameters text box, enter agentName;officeId
D.    In the Filter link parameters text box, enter agentName&officeId
E.    Select the Filter link parameters option
F.    In the Filter link parameters text box, enter agentName;officeId;certs

Answer: BE
Explanation:
From scenario:
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

QUESTION 98
You must create a search results page for the real estate properties that are available in each real estate office. You need to display the search result for the internet site collection. Which types of files should you create? (Each correct answer presents part of the solution. Choose all that apply.)

A.    JavaScript (.js)
B.    Active Server Page (.aspx)
C.    Master Page (.master)
D.    HTML (.html)
E.    XML (.xml)

Answer: BC
Explanation:
Note:
– Master Page defines “placeholders” which can be overridden in child page
– Content Page of a Master Page defaults to default.aspx

QUESTION 99
Hotspot Question
You need to add the city of Dallas to the Cities term set. On the Term Store Management Tool page, which option should you select? (To answer, select the appropriate option in the answer area.)

Answer:

QUESTION 100
You need to create a link to the Dallas office page. Which URL should you use?

A.    http://www.contoso.com/Offices/Dallas.aspx
B.    http://www.contoso.com/Offices/Pages/Office.aspx
C.    http://www.contoso.com/Offices/Pages/Office.aspx?Office=Dallas
D.    http://www.contoso.com/Offices/Dallas
E.    http://www.contoso.com/Offices/Pages/Office.aspx?TermID=b6e11481-3445-413c-9da0-b15ae5d5cbd4

Answer: D


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] PassLeader Published New 225q 70-517 Exam Dumps With New Questions (101-120)

$
0
0

Get New Valid 70-517 Exam Dumps To Pass Exam Easily: The following new 70-517 exam questions were updated in recent days by PassLeader, visit passleader.com to get the full version of new 225q 70-517 exam dumps with free version of new VCE Player software, our valid 70-517 briandumps will help you passing 70-517 exam easily! 70-517 PDF practice test and VCE are all available now!

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 101
Hotspot Question
You need to configure search results to meet the requirements for the Real Estate Guidelines document. On the Site Settings page in the top level site of the site collection, which link should you select? (To answer, select the appropriate link in the answer area.)

Answer:

QUESTION 102
Drag and Drop Question
You need to publish biographical information to the board member site collection. Which five 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.)

Answer:

QUESTION 103
Drag and Drop Question
You need to configure the content types and page layouts that are used to display information about the members of the board of directors. How should you configure the content types and page layouts? (To answer, drag the appropriate content types to the correct location in the answer area. Each content type may be used once, more than once, or not at all. You may need to drag the split bar between or scroll to view content.)

Answer:

QUESTION 104
You need to configure search engine optimization for the site. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Disable anonymous access to the web application while you make changes.
B.    Activate the Search Engine Sitemap feature in the site collection.
C.    Disable anonymous access to the site collection while you make changes.
D.    On the Search Engine Optimization Settings page, in the Include these meta tags in pages text box, enter <meta name=”do-not-follow” value=”/_Configuration Files/” />
E.    Ensure that the Search Engine Sitemap job is running.
F.    On the Search Engine Sitemap Settings page, enter Disallow: /_ConfigurationFiles/ to the exclusion rules.

Answer: BCD
Explanation:
– Steps in the SEO process:
/ Configure SEO settings for the site collection.
/ (B, not E) Configure sitemap settings for the site collection.
/ Add and edit SEO metatags.
– D (not F): Configure SEO settings for the site collection
Verify site ownership
– Sign in to the webmaster tools portal for your desired search engine and provide requested information about your website.
– From your SharePoint Public Website home page, click Settings Small Settings gear that took the place of Site Settings. > Site settings > Site Collection Administration > Search engine optimization settings.
– Click Include these meta tags in pages.
– Copy the meta tag provided by the webmaster tools portal, and paste it into the box.
– Click OK.
– From the webmaster tools portal, ask the search engine to verify your ownership of this website.

Case Study 11 – Adventure Works (QUESTION 105 – QUESTION 114)
Background
Adventure Works needs to develop a solution that tracks internal and external projects for both on-site and off-site employees. The company plans to create a project tracking site by using SharePoint.
Business Requirements
The company has the following requirements:
– The solution must use data from an existing line of business (LOB) system.
– The solution must provide secure access to data.
– The solution must allow users to search for projects by department or job role.
– The portal for the solution must contain an overview of all the active projects.
– Navigation for all sites must be managed centrally.
– Project members must be notified when project information changes.
– Project leads must be able to view a list of departments and job roles.
– Project leads must be notified when project tasks change.
– Users must be able to filter project documents by file type.
Technical Requirements
The solution must include the following components.

Business Connectivity Services (BCS)
– You must use BCS to connect to a SQL Server database to retrieve project information and display it on a Project Information Page.
– The Admin Custom List app must use a remote event receiver to send an email message to each team member when information is updated.
– The Project external content type must use the root namespace proj_info.
Managed Metadata Service (MMS)
You must use MMS to ensure that team members can search and filter project information.
– Managed data must be grouped and controlled by department leaders. The project lead must have full control of the term store. The project leader creates groups for each department and assigns the leader of each department to the group manager role.
– Group managers must be able to grant Contribute permissions to the remaining team members in their department.
– You must create a Department term set to store team member roles and organize them by department types. The import file for the Department term set is the default for all new projects. The import file contains terms for System Architect, Programmer, Producer, and Manager. Each term is contained within two parent groups, Engineering or Production. Managers are members of the Production group only. All of the parent groups use a shared root-level term.
– You must create a site collection to store content that is used across multiple site collections. The site collection stores term sets for cross-site navigation and searches.
– The navigation site must use the URL http://adventureworks/sites/navigation.
– The publishing site must use the URL http://adventureworks/sites/portal.
– Navigation links on the top and left sides of each page must use term sets.
– The Document Library app named Project Documents must include a local term set for document types. The term set must contain the default terms .docx, .png, and-jpg.
– You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet : name Term : name
Application Structure
Relevant segments of the app 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.)
DocumentLibApp.es

TeamRemoteEventReceiver.es

TodoEventReceiver.es

ImportTermSet.es

QUESTION 105
You need to implement the notifications for the custom list app named Admin. Which code segment should you add at line ER08?

A.    public class EventReceiver1
B.    public class EventReceiver1 : SPListEventReceiver
C.    public class EventReceiver1 : SPItemEventReceiver
D.    public class EventReceiver1 : SPEventReceiverBase

Answer: C

QUESTION 106
Drag and Drop Question
You need to implement the term set import file to enable item assignments to be filtered. How should you structure the term sets? (To answer, drag the appropriate term to the correct level in the answer area. Each term 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.)

Answer:

QUESTION 107
You need to ensure that end users can access the project’s external content type and model by using the provided naming specifications. Which properties in the external content-type editor must you set when you create the external content type in SharePoint Designer? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Set the value of the Display Name property to Project.
B.    Set the value of the Namespace property to http://adventureworks/sites/portal.
C.    Set the value of the Namespace property to proj_info.
D.    Set the value of the Name property to proj_info.
E.    Set the value of the Display Name property to proj_info.
F.    Set the value of the Name property to Project.

Answer: CE

QUESTION 108
You need to create the term set for the Document Library app named Project Documents. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Insert the following code segment into line DL18:
TermStore termStore = taxonomySession.GetDefaultKeywordsTermStore();
B.    Insert the following code segment into line DL18:
TermStore termStore = taxonomySession.GetDefaultSiteCollectionTermStore();
C.    Insert the following code segment into line DL24:
myTermSet.CreateTerm(“-png”, 1033, Guid.NewGuid());
D.    Insert the following code segment into line DL24:
myTermSet.CreateTerm(“.bmp”, 1033, Guid.NewGuid());

Answer: AC
Explanation:
– From scenario:
/ You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet : name Term : name
/ (A, C, Not B, not D) The Document Library app named Project Documents must include a loca term set for document types. The term set must contain the default terms .docx, .png, and-jpg.

QUESTION 109
Drag and Drop Question
You need to implement the site collection for managed navigation. 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.)

Answer:
1092_thumb[4]

QUESTION 110
You need to configure a new site collection in Central Administration. You will use the site collection to manage navigation terms. What should you do?

A.    Create a site collection by using the Publishing Portal template
B.    Create a site collection by using the Enterprise Search Center template
C.    Create a site collection by using the Records Center template
D.    Set the website address to http://adventureworks.com/sites/navigation

Answer: A


http://www.passleader.com/70-517.html

QUESTION 111
You need to implement the remote event receiver for the Admin Custom List app. What should you do?

A.    Insert the following code segment at line RR05:
ListRemoteEventReceiver (properties);
B.    Insert the following code segment at line RR05:
ProcessOneWayEvent(properties);
C.    Insert the following code segment at line RR11:
ProcessEvent(properties);
D.    Insert the following code segment at line RR11:
ListRemoteEventReceiver(properties);

Answer: B

QUESTION 112
You need to configure permissions for the publishing portal in the Term Store Manager. What should you do?

A.    Add the URL http://adventureworks.com/sites/portal to the site collection access list.
B.    Add the URL http://adventureworks.com/sites/portal to the Contributors list.
C.    Add the URL http://adventureworks.com/navigation to the site collection access list.
D.    Add the URL http://adventureworks.com/pages/navigation.aspx to the site collection access.
list.

Answer: B

QUESTION 113
You need to print out the terms and term sets for the Document Library app named Project Documents. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A.    Insert the following code segment at line DL59:
Console.WriteLine(“TermSet : = + termSet.Name + ” Term : ” + term.Name);
B.    Insert the following code segment at line DL70:
Console.WriteLine(“TermSet : ” + termSet.Name);
C.    Insert the following code segment at line DL35:
TaxonomySession taxonomy = TaxonomySession.GetTaxonomySession(clientContext);
D.    Insert the following code segment at line DL56:
Console.WriteLine(“TermSet : ” + termSet.Name);
E.    Insert the following code segment at line DL35:
TaxonomyItem taxonomy = TaxonomySession.GetTaxonomySession(clientContext);

Answer: AE
Explanation:
From scenario:
/ You must develop a console app to print the current term sets and each root term for the app by using the following style: TermSet : name Term : name
/ You must create a Department term set to store team member roles and organize them by department types. The import file for the Department term set is the default for all new projects. The import file contains terms for System Architect, Programmer, Producer, and Manager. Each term is contained within two parent groups, Engineering or Production. Managers are members of the Production group only. All of the parent groups use a shared root-level term.

QUESTION 114
Drag and Drop Question
You need to configure permission roles for the team members. What should you do? (To answer, drag the appropriate role to the correct location in the answer area. Each role 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.)

Answer:

QUESTION 115
You develop a SharePoint-hosted app. The app includes the following code segment: (Line numbers are included for reference only.) The app must display user profile data for the user that is logged in. The user profile data must include the PreferredName, Department, and WorkPhone properties. You need to ensure that the app displays the required user profile data. Which code segment should you insert at line 12?

A.    var a = new SP.UserProfiles.UserProfile();
B.    var a = new SP.UserProfiles.SocialFollowingManager(context);
C.    var a = SP.UserProfiles.Profileloader.GetProfileLoader(context);
D.    var a = new SP.UserProfiles.PeopleManager(context);

Answer: D

QUESTION 116
Hotspot Question
You develop a SharePoint app by using the client-side object model (CSOM.) On each page of the app, you need to display the user profile picture for the user that is currently logged in. How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

QUESTION 117
Drag and Drop Question
You connect to a front-end web server in a SharePoint farm for a company named Contoso, Ltd. You start the SharePoint Management Shell by using an account that has administrator permissions for the user-profile store. You use Windows PowerShell to create a User Profile property. You add the profile type and sub type to the User Profile property. You run the following Windows PowerShell cmdlets:

How should you complete the relevant Windows PowerShell cmdlets? (To answer, drag the appropriate code segment 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.)

Answer:

QUESTION 118
Drag and Drop Question
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.)

Answer:

QUESTION 119
Hotspot Question
You create term sets and multi-lingual labels for a site collection. The default locale, language, and culture for the term sets are set to English. You develop a console application to create labels for a term named Memory. The console application uses the English locale. You develop the following labels for the term named Memory.

You need to create German labels for the term named Memory. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)

Answer:

QUESTION 120
Hotspot Question
A company uses SharePoint to manage a large number of documents. The Document ID Service feature is enabled. You need to create a custom class that generates a unique ID for each document. How should you complete the class definition? (To answer, select the appropriate code segment from each drop-down list in the answer area.).

Answer:


http://www.passleader.com/70-517.html


[Pass Ensure VCE Dumps] PassLeader VCE and PDF Dumps Free Download For 70-517 Exam (121-140)

$
0
0

Free Download New 70-517 Exam Dumps: PassLeader now supplying the new version of 70-517 VCE dumps, we ensure our 225q 70-517 exam questions are the most authoritative and valid compared with others’, which will ensure your 70-517 exam 100% passing, and now we are offering the free new version VCE Player along with the VCE format 225q 70-517 braindumps, also the PDF format 70-517 practice test is available now, welcome to choose.

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 121
Hotspot Question
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.)

Answer:

QUESTION 122
You use Visual Studio to design a SharePoint solution for a company that provides computer support services to customers around the world. The solution must list the customer service representatives that resolve the highest number of support requests. The solution also must allow filtering of customer service representatives by region. 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.)

A.    Add a Recommended Items Web Part to the page.
B.    Add and configure a Refinement Web Part to the page.
C.    Add regions as property filters to the Search Results Web Part.
D.    Configure the query for the Content Search Web Part.

Answer: CD

QUESTION 123
Drag and Drop Question
You develop a SharePoint app that uses the client-side object model (CSOM) to retrieve items from the search index. You need to implement the client-side query code. Which four code segments should you use in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Answer:

QUESTION 124
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?

A.    var resultSourceId = “Site PDF”;
B.    var resuitSourceId = “4C50FE18-B254-47A1-ABAD-0B6C4577D914”;
C.    var resultSourceId = “0F41A999-523A-41ED-AAAD-9D414A0FC3B4”;
D.    var resultSourceId = “82951A0C-6385-4E29-8D7F-4AB92FE9F536”;

Answer: D

QUESTION 125
Hotspot Question
A SharePoint app displays the following search results:

You have the following requirements:
– Group results by model.
– Display only two rows per model.
– Show a unique color for each model.
You need to define a query to meet the requirements. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)

Answer:

QUESTION 126
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: “AAA-Axxxx-AA”. You must find documents that were created in May 2012 and contain the ordered keywords “liable”, “advocate”, and “adjudication”. Results that are returned must include only document names that begin with “HCT-Q” and end only with “AB”. 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.    Write> =05/01/2012 and write<=05/31/2012
B.    string(‘liable advocate adjudication”, mode=”onear”)
C.    title:HCT-Q*
D.    title:HCT-Q????-AB
E.    NEAR (liable, advocate, adjudication)
F.    write:range (2012-05-01, 2012-05-31)

Answer: BDF

QUESTION 127
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?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 128
Hotspot Question
You use the SharePoint 2013 Management Shell to access a SharePoint farm. A user reports an error in one of the apps that you have installed. The error message contains the correlation token ID of b49f64b3-4722-4336-9a5c-56c326b344d4. You need to save a report of the complete error trace for all errors that were reported in the previous 30 minutes. How should you complete the Windows PowerShell cmdlet? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

QUESTION 129
You develop a SharePoint app that reads data from an external source by using Business Connectivity Services (BCS). The following markup defines the subscription: (Line numbers are included for reference only.)

Employee identification (ID) numbers that are less than 100 must be ignored. You need to configure the subscription. What should you do?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: D

QUESTION 130
Drag and Drop Question
You deploy a solution to a SharePoint server. You need to implement a method to programmatically access the health score of the SharePoint Server. Which three code segments should you use in sequence? (To answer, move the appropriate segments from the list of segments to the answer area and arrange them in the correct order.)

Answer:


http://www.passleader.com/70-517.html

QUESTION 131
Drag and Drop Question
You develop a SharePoint site by using the Team Site template. Users share large images by using the team site. You need to configure the SharePoint site so that images render at a maximum size of 400px wide and 200px high. Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer).

Answer:

QUESTION 132
You configure a SharePoint app to collect diagnostic information. The app must meet the following requirements:
– Record messages about all unrecoverable events that limit the functionality of the app, but do not stop the app.
– Record all events that include unexpected exceptions.
– Minimize the effects of logging on app performance.
You need to configure the application to meet the requirements. Which trace log level should you use?

A.    High
B.    Medium
C.    Unexpected
D.    Monitorable
E.    Verbose

Answer: D

QUESTION 133
Drag and Drop Question
You develop a Microsoft Office app to access external data by using Business Connectivity Services (BCS). The app must access data from a Windows Communication Foundation (WCF) connector by using an external content type. Which four actions should you perform in a sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Answer:

QUESTION 134
Drag and Drop Question
You develop a provider-hosted SharePoint app that retrieves and displays weather information from an external site. The site contains lists of temperatures for different cities. You need to create a Representational State Transfer (REST) endpoint URL in the app to retrieve hourly temperatures for a specific city from the site. How should you complete the relevant code? (To answer, drag the appropriate term to the correct location or locations in the answer area. Each term 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.)

Answer:

QUESTION 135
Hotspot Question
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.)

Answer:

QUESTION 136
Hotspot Question
Contoso, Ltd. is integrating an Enterprise Resource Planning (ERP) system with SharePoint by using Business Connectivity Services (BCS). The ERP system is a Windows Communication Foundation (WCF) service that is hosted in Internet Information Services (IIS). The WCF service is named people.svc and is located at http://contoso.com:8080. The metadata for the service is found at http://contoso.com:808/mex. You need to create a data connection for the ERP system. In the WCF Connection dialog box, how should you configure the connection to the WCF service? (To answer, select the appropriate option from each drop-down list in the answer area.)

Answer:

QUESTION 137
You develop a SharePoint app that displays information about automobile parts. You need to create a user profile property to classify automobile parts into categories. Which property name should you specify?

A.    part-Classification
B.    part.classification
C.    part_classification
D.    Part Classification

Answer: B

QUESTION 138
Drag and Drop Question
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.)

Answer:

QUESTION 139
Drag and Drop Question
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.)

Answer:

QUESTION 140
You develop a SharePoint app that reads social data from your company’s SharePoint site. You need to access the SocialFeedManager object. Which object or URL should you use?

A.    http://<siteUri>/_api/social.feed
B.    SocialFeedManager(ClientRuntimeContext, ObjectPath);
C.    http://<siteUri>/social.feed
D.    SPSocialFeedManager(UserProfile);

Answer: B


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] New Version 225q 70-517 Exam VCE and PDF Dumps Collection (141-160)

$
0
0

Free Download New 70-517 Exam Dumps: PassLeader now supplying the new version of 70-517 VCE dumps, we ensure our 225q 70-517 exam questions are the most authoritative and valid compared with others’, which will ensure your 70-517 exam 100% passing, and now we are offering the free new version VCE Player along with the VCE format 225q 70-517 braindumps, also the PDF format 70-517 practice test is available now, welcome to choose.

keywords: 70-517 exam,225q 70-517 exam dumps,225q 70-517 exam questions,70-517 pdf dumps,70-517 vce dumps,70-517 braindumps,70-517 practice tests,70-517 study guide,Recertification for MCSD: SharePoint Applications Exam

QUESTION 141
You have a custom Web Part that retrieves data across multiple task lists. Pages that contain the Web Part load slowly. You need to ensure that pages load as quickly as possible. Which methods should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    CrossListQueryCache.GetSiteData(SPContext.Current.Site, siteUrl)
B.    CrossListQueryCache.GetSiteData(SPContext.Current.Site)
C.    Cache.Get(siteUrl)
D.    SPList.GetItems(spQuery)

Answer: AC
Explanation:
A: GetSiteData method (SPSite, String)
Gets the cache data from the specified site and from the specified webUrl.
C: Cache.Get Method
Retrieves the specified item from the Cache object.

QUESTION 142
Drag and Drop Question
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.)

Answer:

QUESTION 143
You have a SharePoint publishing site. The marketing team tags their documents by using a managed metadata field named Location. The site has been fully crawled. Documents are tagged with city names only. A SharePoint app on the site displays search results by using the following term set.

You create the following code segment to query the contents of the site: (Line numbers are included for reference only.)

You need to create a Keyword Query Language (KQL) expression to return results for all assets in the Central region. Which code segment should you insert at line 02?

A.    var queryTerms = “Location”;
B.    var queryTerms = “577c8e48-d5d9-4e5f-8e35-408c723feb11”;
C.    var queryTerms = “b49f64b3-4722-4336-9a5c-56c326b344d4”;
D.    var queryTerms = “owstaxidlocation: 1acfae8a-70b4-4ce0-bfbf-96c0e711f8df”

Answer: C

QUESTION 144
Hotspot Question
You create a SharePoint app that displays a list of documents for a company that sells insurance policies. The documents have been crawled by the Search service. You create managed properties named Underwriter and Bonded. You must locate the documents that meet the following criteria:
– Created by using Microsoft Word 2002
– Contains the exact phrase “life policy”
– Were underwritten by Woodgrove
You need to design a search query that locates the required documents. How should you complete the relevant code? (To answer, select the appropriate code segment from each drop-down list in the answer area.)

Answer:

QUESTION 145
You create a SharePoint site collection for a law firm. You create the following objects in the site collection. A user searches for a legal case. The search results must contain only current cases. You need to create a custom result type that displays only current cases. Which object should you use?

A.    Cases
B.    MPCaseID
C.    case
D.    ows_CaseID
E.    CaseID

Answer: B

QUESTION 146
You configure eDiscovery for a SharePoint Online site collection. You need to configure permissions for eDiscovery users so that users are able to access all discoverable content. What should you do?

A.    Add eDiscovery users to the Viewers group for the eDiscovery center.
B.    Grant eDiscovery users access to all content in each web application.
C.    Grant eDiscovery users Contribute permissions to the eDiscovery center.
D.    Grant eDiscovery users site collection administrator permissions on every site collection that contains discoverable content.

Answer: D

QUESTION 147
You access a Records Management site in SharePoint. You create the following segment: (Line numbers are included for reference only.)

Search results must display documents that contain specific keywords by using the following custom display template:

You need to implement the custom display template. 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
E.    Option E
F.    Option F

Answer: ACF

QUESTION 148
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.)

A.    Add a Refinement Web Part to the page.
B.    Configure the query for the Content Search Web Part.
C.    Add country as a property filter to the Search Results Web Part.
D.    Add a Calendar Web Part to the page.

Answer: ABC

QUESTION 149
You are designing an HTML5 website. You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens. What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

A.    Annotate HTML5 content elements with Accessible Rich Internet Application (ARIA) attributes.
B.    Convert HTML5 forms to XForms.
C.    Ensure that HTML5 content elements have valid and descriptive names.
D.    Use HTML5 semantic markup elements to enhance the pages.
E.    Use Resource Description Framework (RDF) to describe content elements throughout the entire page.

Answer: AD

QUESTION 150
You are developing an ASP.NET MVC application that uses forms authentication. The user database contains a user named LibraryAdmin. You have the following requirements:
– You must allow all users to access the GetBook method.
– You must restrict access to the EditBook method to the user named LibraryAdmin.
You need to implement the controller to meet the requirements. Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: AC


http://www.passleader.com/70-517.html

QUESTION 151
Drag and Drop Question
You are developing an ASP.NET MVC application that takes customer orders. Orders are restricted to customers with IP addresses based in the United States. You need to implement a custom route handler. How should you implement the route handler? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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.)

Answer:

QUESTION 152
Drag and Drop Question
You are developing an ASP.NET MVC web application in Visual Studio 2012. The application has a model named ReservationLocation that contains properties named City and State. The view that displays reservations has a single text box named loc for entering the location information. The location is entered as city, state. There are action methods that have ReservationLocation as a parameter type. You need to ensure that the City and State properties are correctly populated. How should you implement model binding for the ReservationLocation type? (To answer, drag the appropriate code segment to the correct location or locations. 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.)

Answer:

QUESTION 153
You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application. You detect performance issues when the application starts. You need to resolve the performance issues. What should you do?

A.    Implement HTTP caching in the ASP.NET MVC controllers.
B.    Combine the content files by using ASP.NET MVC bundling.
C.    Install a second IIS instance.
D.    Move the content to a Windows Azure CDN.

Answer: B

QUESTION 154
You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures. The application contains three resource files in the Resources directory:
– My Dictionary.resx
– MyDictionary.es.resx
– MyDictionary.fr.resx
Each file contains a public resource named Title with localized translation. The application is configured to set the culture based on the client browser settings. The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.) You need to set ViewBag.Title to the localized title contained in the resource files. Which code segment should you add to the action at line 03?

A.    ViewBag.Title = HttpContext.GetGlobalResourceObuect(“MyDictionary”, “Title”);
B.    ViewBag.Title = HttpContext.GetGlobalResourceObject(“MyDictionary”, “Title”, new System.Globalization.CultureInfo(“en”));
C.    ViewBag.Title = Resources.MyDictionary.Title;
D.    ViewBag.Title = HttpContext.GetLocalResourceObject(“MyDictionary”, “Title”);

Answer: C

QUESTION 155
You are testing an ASP.NET application. The test plan requires that tests run against the application’s business layer. You need to use the test project template that meets this requirement. Which template should you use?

A.    Web Test Project
B.    Load Test Project
C.    Unit Test Project
D.    Coded Test Project

Answer: C

QUESTION 156
You are authoring unit tests. The unit tests must test code that consumes sealed classes. You need to create, maintain, and inject dependencies in the unit tests. Which isolation method should you use?

A.    T4 text templates and code generation
B.    Stub types
C.    Shim types
D.    Hard-coded implementation

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/hh549176.aspx
Shim types are one of two technologies that the Microsoft Fakes Framework uses to let you easily isolate components under test from the environment. Shims divert calls to specific methods to code that you write as part of your test. Many methods return different results dependent on external conditions, but a shim is under the control of your test and can return consistent results at every call. This makes your tests much easier to write.

QUESTION 157
You are developing an ASP.NET MVC application by using Visual Studio 2012. The application throws and handles exceptions when it runs. You need to examine the state of the application when exceptions are thrown. What should you do?

A.    From the DEBUG menu in Visual Studio 2012, select Exceptions.
Enable the Thrown check box for Common Language Runtime Exceptions.
B.    From the DEBUG menu in Visual Studio 2012, select Exceptions.
Disable the User-unhandled check box for Common Language Runtime Exceptions.
C.    Add the following code to the Web.config file of the application.
<customErrors mode=”On”>
<error statusCode=”500″ redirect=”CustomErrors.html” />
</customErrors>
D.    Add the following code to the Web.config file of the application.
<customErrors mode=”On” >
<error statusCode=”404″ redirect=”CustomErrors.html”/>
</customErrors>

Answer: A

QUESTION 158
You are developing an ASP.NET MVC web application that includes the following method.

You need to test the AccountBalance method. Which unit test should you use?

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C
Explanation:
http://msdn.microsoft.com/en-us/magazine/cc163665.aspx
http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.assert.areequal(v=vs.110).aspx

QUESTION 159
You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks. The application must be compatible with multiple browsers. A user can search the website for news articles. You must track the page number that the user is viewing in search results. You need to program the location for storing state information about the user’s search. What should you do?

A.    Store search results and page index in Session.
B.    Use Application state to store search terms and page index.
C.    Use QueryString to store search terms and page index.
D.    Store search results and page index in TempData.

Answer: C

QUESTION 160
You are developing an ASP.NET MVC application. The application is deployed in a web farm and is accessed by many users. The application must handle web server failures gracefully. The servers in the farm must share the state information. You need to persist the application state during the session. What should you implement?

A.    A state server
B.    Cookieless sessions
C.    A web garden on the web servers
D.    An InProc session

Answer: A


http://www.passleader.com/70-517.html

[Pass Ensure VCE Dumps] 100 Percent Pass 70-516 By Learning PassLeader Free 70-516 Study Guide (1-20)

$
0
0

100% Valid Dumps For 70-516 Exam Pass: PassLeader have been updated the 286q 70-516 exam dumps and added the new exam questions, in the latest version of 70-516 PDF dumps or VCE dumps, you will get all the new changed 286q 70-516 exam questions, which will help you 100% passing 70-516 exam, and you will get the free version of VCE Player together with your 70-516 VCE dumps. Welcome to visit our website — passleader.com and get your 70-516 exam passed easily!

keywords: 70-516 exam,286q 70-516 exam dumps,286q 70-516 exam questions,70-516 pdf dumps,70-516 vce dumps,70-516 braindumps,70-516 practice tests,70-516 study guide,TS: Accessing Data with Microsoft .NET Framework 4 Exam

QUESTION 1
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You manually create your own Context class named AdventureWorksDB that inherits from ObjectContext. You need to use AdventureWorksDB to invoke a stored procedure that is defined in the data source. Which method should you call?

A.    Translate
B.    ExecuteFunction
C.    ExecuteStoreQuery
D.    ExecuteStoreCommand

Answer: B
Explanation:
ExecuteFunction(String, ObjectParameter[]) Executes a stored procedure or function that is defined in the data source and expressed in the conceptual model; discards any results returned from the function; and returns the number of rows affected by the execution.
ExecuteStoreCommand() Executes an arbitrary command directly against the data source using the existing connection.
ExecuteStoreQuery<TElement>(String, Object[]) Executes a query directly against the data source that returns a sequence of typed results.
Translate<TElement>(DbDataReader) Translates a DbDataReader that contains rows of entity data to objects of the requested entity type.
ObjectContext.ExecuteFunction Method
http://msdn.microsoft.com/en-us/library/dd986915.aspx

QUESTION 2
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. You create an entity as shown in the following code fragment.
<EntityType Name=”ProductCategory”>
<Key>
<PropertyRef Name=”ProductCategoryID” />
</Key>
<Property Name=”ProductCategoryID” Type=”int” Nullable=”false” StoreGeneraedPattern=”Identity” />
<Property Name=”ParentProductCategoryID” Type=”int” />
<Property Name=”Name” Type=”nvarchar” Nullable=”false” MaxLength=”50″ />

</EntityType>
You need to provide two entity-tracking fields:
– Rowguid that is automatically generated when the entity is created
– ModifiedDate that is automatically set whenever the entity is updated.
Which code fragment should you add to the .edmx file?

A.    <Property Name=”rowguid” Type=”uniqueidentifier” Nullable=”false” StoreGeneratedPattern=”Computed”/>
<Property Name=”ModifiedDate” Type=”timestamp” Nullable=”false” StoreGeneratedPattern=”Computed”/>
B.    <Property Name=”rowguid” Type=”uniqueidentifier” Nullable=”false” StoreGeneratedPattern=”Identity”/>
<Property Name=”ModifiedDate” Type=”timestamp” Nullable=”false” StoreGeneratedPattern=”Identity”/>
C.    <Property Name=”rowguid” Type=”uniqueidentifier” Nullable=”false” StoreGeneratedPattern=”Identity”/>
<Property Name=”ModifiedDate” Type=”timestamp” Nullable=”false” StoreGeneratedPattern=”Computed”/>
D.    <Property Name=”rowguid” Type=”uniqueidentifier” Nullable=”false” StoreGeneratedPattern=”Computed”/>
<Property Name=”ModifiedDate” Type=”timestamp” Nullable=”false” StoreGeneratedPattern=”Identity”/>

Answer: C
Explanation:
StoreGeneratedPattern Enumeration
http://msdn.microsoft.com/en-us/library/system.data.metadata.edm.storegeneratedpattern.aspx

QUESTION 3
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. The service connects to a Microsoft SQL Server 2008 database. The service is hosted by an Internet Information Services (IIS) 6.0 server. You need to ensure that applications authenticate against user information stored in the database before the application is allowed to use the service. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.    Configure IIS to require basic authentication.
B.    Configure IIS to allow anonymous access.
C.    Configure IIS to require Windows authentication.
D.    Enable the WCF Authentication Service.
E.    Modify the Data Services service to use a Microsoft ASP.NET membership provider.

Answer: BE

QUESTION 4
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. You discover that when an application submits a PUT or DELETE request to the Data Services service, it receives an error. You need to ensure that the application can access the service. Which header and request type should you use in the application?

A.    an X-HTTP-Method header as part of a POST request
B.    an X-HTTP-Method header as part of a GET request
C.    an HTTP ContentType header as part of a POST request
D.    an HTTP ContentType header as part of a GET request

Answer: A
Explanation:
The X-HTTP-Method header can be added to a POST request that signals that the server MUST process the request not as a POST, but as if the HTTP verb specified as the value of the header was used as the method on the HTTP request’s request line, as specified in [RFC2616] section 5.1. This technique is often referred to as “verb tunneling”. This header is only valid when on HTTP POST requests.
X-HTTPMethod
http://msdn.microsoft.com/en-us/library/dd541471(v=prot.10).aspx

QUESTION 5
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You create classes by using LINQ to SQL based on the records shown in the exhibit. You need to create a LINQ query to retrieve a list of objects that contains the OrderID and CustomerID properties. You need to retrieve the total price amount of each Order record. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A.    from details in dataContext.Order_Detail
group details by details.OrderID
into g
join order in dataContext.Orders on g.Key equals order.OrderID
select new
{
OrderID = order.OrderID,
CustomerID = order.CustomerID,
TotalAmount = g.Sum(od => od.UnitPrice * od.Quantity)
}
B.    dataContext.Order_Detail.GroupJoin(dataContext.Orders,
d => d.OrderID, o => o.OrderID,
(dts, ord) => new {
OrderID = dts.OrderID,
CustomerID = dts.Order.CustomerID,
TotalAmount = dts.UnitPrice * dts.Quantity
})
C.    from order in dataContext.Orders
group order by order.OrderID into g
join details in dataContext.Order_Detail on g.Key equals
details.OrderID select new
{
OrderID = details.OrderID,
CustomerID = details.Order.CustomerID,
TotalAmount = details.UnitPrice * details.Quantity
}
D.    dataContext.Orders.GroupJoin(dataContext.Order_Detail,
o => o.OrderID,
d => d.OrderID,
(ord, dts) => new {
OrderID = ord.OrderID,
CustomerID = ord.CustomerID,
TotalAmount = dts.Sum(od => od.UnitPrice * od.Quantity)
})

Answer: AD
Explanation:
Alterantive A. This is an Object Query. It looks at the Order Details EntitySet and creating a group g based on OrderID.
– The group g is then joined with Orders EntitySet based on g.Key = OrderID
– For each matching records a new dynamic object containing OrderID, CustomerID and TotalAmount is created
– The dynamic records are the results returned in an INumerable Object, for later processing
Alterantive D. This is an Object Query. The GroupJoin method is used to join Orders to OrderDetails.
Parameters for GroupJoin:
1. An Order_Details EntitySet
2. Order o (from the Orders in the Orders Entity Set, picking up Order_id from both Entity Sets)
3. Order_ID from the first Order_Details record from the OD EnitySet
4. Lamda Expression passing ord and dts (ord=o, dts=d)
The body of the Lamda Expression is working out the total and Returning a Dynamic object as in A.

QUESTION 6
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use the following SQL statement to retrieve an instance of a DataSet object named ds:
SELECT CustomerID, CompanyName, ContactName, Address, City
FROM dbo.Customers
You need to query the DataSet object to retrieve only the rows where the ContactName field is not NULL. Which code segment should you use?

A.    from row in ds.Tables[0].AsEnumerable()
where (string)row[“ContactName”] != null
select row;
B.    from row in ds.Tables[0].AsEnumerable()
where row.Field<string>(“ContactName”) != null
select row;
C.    from row in ds.Tables[0].AsEnumerable()
where !row.IsNull((string)row[“ContactName”])
select row;
D.    from row in ds.Tables[0].AsEnumerable()
where !Convert.IsDBNull(row.Field<string>(“ContactName”))
select row;

Answer: B
Explanation:
Field<T>(DataRow, String) Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types.

QUESTION 7
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use Entity SQL to retrieve data from the database. You need to find out whether a collection is empty. Which entity set operator should you use?

A.    ANYELEMENT
B.    EXCEPT
C.    EXISTS
D.    IN

Answer: C
Explanation:
EXISTS Determines if a collection is empty.
Entity SQL Reference
http://msdn.microsoft.com/en-us/library/bb387118.aspx

QUESTION 8
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You use Entity SQL to retrieve data from the database. You need to enable query plan caching. Which object should you use?

A.    EntityCommand
B.    EntityConnection
C.    EntityTransaction
D.    EntityDataReader

Answer: A
Explanation:
Whenever an attempt to execute a query is made, the query pipeline looks up its query plan cache to see whether the exact query is already compiled and available.
If so, it reuses the cached plan rather than building a new one.
If a match is not found in the query plan cache, the query is compiled and cached.
A query is identified by its Entity SQL text and parameter collection (names and types).
All text comparisons are case-sensitive.
Query plan caching is configurable through the EntityCommand.
To enable or disable query plan caching through System.Data.EntityClient.EntityCommand. EnablePlanCaching, set this property to true or false.
Disabling plan caching for individual dynamic queries that are unlikely to be used more then once improves performance.
You can enable query plan caching through EnablePlanCaching.
Query Plan Caching
http://msdn.microsoft.com/en-us/library/bb738562.aspx

QUESTION 9
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You need to ensure that the application calls a stored procedure that accepts a table-valued parameter. You create a SqlParameter object. What should you do next?

A.    Set the SqlDbType of SqlParameter to Udt.
B.    Set the SqlDbType of SqlParameter to Variant.
C.    Set the ParameterDirection of SqlParameter to Output.
D.    Set the SqlDbType of SqlParameter to Structured. Set the TypeName of SqlParameter to Udt.

Answer: D
Explanation:
SqlParameter.DbType Gets or sets the SqlDbType of the parameter.
SqlParameter.TypeName Gets or sets the type name for a table-valued parameter. SqlDbType.Structured A special data type for specifying structured data contained in table-valued parameters.
Udt A SQL Server 2005 user-defined type (UDT).
Spatial types
http://msdn.microsoft.com/en-us/library/ff848797.aspx
Types of Spatial Data
http://msdn.microsoft.com/en-us/library/bb964711.aspx

QUESTION 10
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You need to use a spatial value type as a parameter for your database query. What should you do?

A.    Set the parameter’s SqlDbType to Binary.
B.    Set the parameter’s SqlDbType to Variant.
C.    Set the parameter’s SqlDbType to Udt. Set the parameter’s UdtTypeName to GEOMETRY.
D.    Set the parameter’s SqlDbType to Structured. Set the parameter’s TypeName to GEOMETRY.

Answer: C
Explanation:
There are two types of spatial data. The geometry data type supports planar, or Euclidean (flat-earth), data. The geometry data type conforms to the Open Geospatial Consortium (OGC) Simple Features for SQL Specification version 1.1.0. In addition, SQL Server supports the geography data type, which stores ellipsoidal (round-earth) data, such as GPS latitude and longitude coordinates. SqlParameter.UdtTypeName Gets or sets a string that represents a user-defined type as a parameter.
CHAPTER 2 ADO.NET Connected Classes
Lesson 2: Reading and Writing Data
Working with SQL Server User-Defined Types (UDTs) (page 105)
Spatial types
http://msdn.microsoft.com/en-us/library/ff848797.aspx
Types of Spatial Data
http://msdn.microsoft.com/en-us/library/bb964711.aspx


http://www.passleader.com/70-516.html

QUESTION 11
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application contains the following XML fragment:
<ApplicationMenu>
<MenuItem name=”File”>
<MenuItem name=”New”>
<MenuItem name=”Project” />
<MenuItem name=”Web Site” />
</MenuItem>
<MenuItem name=”Open”>
<MenuItem name=”Project” />
<MenuItem name=”Web Site” />
</MenuItem>
<MenuItem name=”Save” />
</MenuItem>
<MenuItem name=”Edit”>
<MenuItem name=”Cut” />
<MenuItem name=”Copy” />
<MenuItem name=”Paste” />
</MenuItem>
<MenuItem name=”Help”>
<MenuItem name=”Help” />
<MenuItem name=”About” />
</MenuItem>
</ApplicationMenu>
The application queries the XML fragment by using the XmlDocument class. You need to select all the descendant elements of the MenuItem element that has its name attribute as File. Which XPath expression should you use?

A.    //*[@name=’File’][name()=’MenuItem’]
B.    /ApplicationMenu/MenuItem[‘File’]//MenuItem
C.    /ApplicationMenu/MenuItem/descendant::MenuItem[‘File’]
D.    /ApplicationMenu/MenuItem[@name=’File’]/descendant::MenuItem

Answer: D
Explanation:
http://msdn.microsoft.com/en-us/library/ms256086.aspx

QUESTION 12
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. You deploy the service to the following URL: http://contoso.com/Northwind.svc. You want to query the WCF Data Services service to retrieve a list of customer objects. You need to ensure that the query meets the following requirements:
– Only customers that match the following filter criteria are retrieved: City=”Seattle” AND Level > 200.
– Data is sorted in ascending order by the ContactName and Address properties.
Which URL should you use for the query?

A.    http://contoso.com/Northwind.svc/Customers?City=Seattle &
Level gt 200 & $orderby=ContactName,Address
B.    http://contoso.com/Northwind.svc/Customers?City=Seattle &
Level gt 200 & $orderby=ContactName and Address
C.    http://contoso.com/Northwind.svc/Customers?$filter=City eq ‘Seattle’
and Level gt 200 & $orderby=ContactName,Address
D.    http://contoso.com/Northwind.svc/Customers?$filter=City eq ‘Seattle’
and Level gt 200 & $orderby=ContactName and Address

Answer: C
Explanation:
CHAPTER 7 WCF Data Services
Lesson 1: What Is WCF Data Services?
Working with Filters (page 474)
Accessing the Service from a Web Browser (WCF Data Services Quickstart)
http://msdn.microsoft.com/en-us/library/dd728279.aspx
Accessing Data Service Resources (WCF Data Services)
http://msdn.microsoft.com/en-us/library/dd728283.aspx

QUESTION 13
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. You deploy the data service to the following URL: http://contoso.com/Northwind.svc. You need to update the City property of the Customer record that has its ID value as 123. You also need to preserve the current values of the remaining properties. Which HTTP request should you use?

A.    PUT /Northwind.svc/Customers(123)
Host: contoso.com
Content-Type: application/json { City: ‘Seattle’ }
B.    PUT /Northwind.svc/Customers(123)
Host: contoso.com
Accept: application/json { City: ‘Seattle’ }
C.    MERGE /Northwind.svc/Customers(123)
Host: contoso.com
Content-Type: application/json { City: ‘Seattle’ }
D.    MERGE /Northwind.svc/Customers(123)
Host: contoso.com
Accept: application/json { City: ‘Seattle’ }

Answer: C
Explanation:
HTTP Actions
OData supports the following HTTP actions to perform create, read, update, and delete operations on the entity data that the addressed resource represents:
HTTP GET-This is the default action when a resource is accessed from a browser. No payload is supplied in the request message, and a response method with a payload that contains the requested data is returned.
HTTP POST-Inserts new entity data into the supplied resource. Data to be inserted is supplied in the payload of the request message.
The payload of the response message contains the data for the newly created entity.
This includes any autogenerated key values.
The header also contains the URI that addresses the new entity resource. HTTP DELETE-Deletes the entity data that the specified resource represents. A payload is not present in the request or response messages. HTTP PUT – Replaces existing entity data at the requested resource with new data that is supplied in the payload of the request message.
HTTP MERGE-Because of inefficiencies in executing a delete followed by an insert in the data source just to change entity data, OData introduces a new HTTP MERGE action. The payload of the request message contains the properties that must be changed on the addressed entity resource. Because HTTP MERGE is not defined in the HTTP specification, it may require additional processing to route a HTTP MERGE request through non-OData aware servers.
Accessing and Changing Data Using REST Semantics
http://msdn.microsoft.com/en-us/library/dd728282.aspx
HTTP header fields
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
Accept Content-Types that are acceptable
Content-Type The mime type of the body of the request (used with POST and PUT requests)
A Guide to Designing and Building RESTful WebServices with WCF 3.5
http://msdn.microsoft.com/en-us/library/dd203052.aspx

VB Scenario
Background
You are updating an existing Microsoft .NET Framework 4 application that includes a data layer built with ADO.NET Entity Framework 4. The application communicates with a Microsoft SQL Server 2008 instance named INST01 on a server named SQL01. The application stores data in a database named Contoso in the INST01 instance. You need to update the existing technology and develop new functionality by using Microsoft Visual Studio 2010.
Application and Database Storage
The application tracks bicycle parts as they pass through a factory. Parts are represented by the abstract Part entity and its associated partial classes. Each part has a name stored in the Name field and a unique identifier stored in the Id field.
Parts are either component s (represented by the Component class) such as chains, wheels, and frames, or finished product s (represented by the Product class) such as completed bicycles. The Component class and the Product class derive from the Part class and may contain additional class-specific properties.
Parts may have a color (represented by the Color class), but not all parts have a color, Parts may be composed of other parts, and those parts may in turn be composed of other parts ; any p art represents a tree of the parts that are used to build it, The lowest level of the tree consists of c omponents that do not contain other components.
A product is a p art that has been completed and is ready to leave the factory. A p roduct typically consists of many c omponents (forming a tree of child p arts) but can also be constructed by combining other p roducts and/or c omponents to form a bundled p roduct, such as a bicycle and a helmet that are sold together.
Components and products are stored in a database table named Parts by using a table-per-hierarchy (TPH) mapping. Components have a null ProductType field and a non-null PartType field. Products have a non-null ProductType field and a null PartType field.
The following diagram illustrates the complete Entity data model diagram (EDMX diagram).

The following graphic illustrates detail s of the Part-Color Association.

The following code segments show relevant portions of the files referenced by the case study items. (Line numbers in the samples below are included for reference only and include a two-character prefix that denotes the specific file to which they belong.)
Extension Methods.vb

Model.edmx

Model/Color.vb

Model/Component.vb

ModelContosoEntities.vb

Model IName.vb

Model Part.vb
Model Product.vb

sp_FindObsolete

QUESTION 14
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses DataContexts to query the database. You create a function that meets the following requirements:
– Updates the Customer table on the database when a customer is marked as deleted.
– Updates the related entries in other tables (CustomerAddress, CustomerContacts) by marking them as deleted.
– Prevents consumer code from setting the Deleted column’s value directly.
You need to ensure that the function verifies that customers have no outstanding orders before they are marked as deleted. You also need to ensure that existing applications can use the update function without requiring changes in the code. What should you do?

A.    Override the Delete operation of the DataContext object.
B.    Override the Update operation of the DataContext object.
C.    Modify the SELECT SQL statement provided to the DataContext object to use an INNER JOIN between the Customer and Orders tables.
D.    Add new entities to the DataContext object for the Customers and Orders tables.

Answer: A

QUESTION 15
You use Microsoft Visual Studio 2010 and the Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses DataContexts to query the database. You define a foreign key between the Customers and Orders tables in the database. You need to ensure that when you delete a customer record, the corresponding order records are deleted. You want to achieve this goal by using the minimum amount of development effort. What should you do?

A.    Override the Delete operation of the customer entity.
B.    Remove the foreign key between the Customers and Orders tables.
C.    Use the ExecuteDynamicDelete method of the DataContext object.
D.    Modify the foreign key between the Customers and Orders tables to enable the ON DELETE CASCADE option.

Answer: D
Explanation:
DataContext.ExecuteDynamicDelete Method
http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.executedynamicdelete.aspx

QUESTION 16
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application uses DataContexts to query the database. The application meets the following requirements:
– Stores customer data offline.
– Allows users to update customer records while they are disconnected from the server.
– Enables offline changes to be submitted back to the SQL Server by using the DataContext object.
You need to ensure that the application can detect all conflicts that occur between the offline customer information submitted to the SQL Server and the server version. You also need to ensure that you can roll back local changes. What should you do?

A.    Add a try/catch statement around calls to the SubmitChanges method of the DataContext object and catch SqlExceptions.
B.    Add a try/catch statement around calls to the SubmitChanges method of the DataContext object and catch ChangeConflictExceptions.
C.    Override the Update operation of the DataContext object. Call the ExecuteDynamicUpdate method to generate the update SQL.
D.    Call the SubmitChanges method of the DataContext object. Pass System.Data.Linq.ConflictMode.ContinueOnConflict to the method.

Answer: D
Explanation:
FailOnFirstConflict Specifies that attempts to update the database should stop immediately when the first concurrency conflict error is detected. ContinueOnConflict Specifies that all updates to the database should be tried, and that concurrency conflicts should be accumulated and returned at the end of the process. ExecuteDynamicUpdate() Method Called inside update override methods to redelegate to LINQ to SQL the task of generating and executing dynamic SQL for update operations.
ConflictMode Enumeration
http://msdn.microsoft.com/en-us/library/bb345922.aspx
DataContext.ExecuteDynamicUpdate Method
http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.executedynamicupdate.aspx

QUESTION 17
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a multi-tier application. You use Microsoft ADO.NET Entity Data Model (EDM) to model entities. The model contains entities named SalesOrderHeader and SalesOrderDetail. For performance considerations in querying SalesOrderHeader, you detach SalesOrderDetail entities from ObjectContext. You need to ensure that changes made to existing SalesOrderDetail entities updated in other areas of your application are persisted to the database. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.    Re-attach the SalesOrderDetail entities.
B.    Set the MergeOption of SalesOrderDetail to MergeOptions.OverwriteChanges.
C.    Set the MergeOption of SalesOrderDetail to MergeOptions.NoTracking.
D.    Call ObjectContext.ApplyCurrentValue.
E.    Call ObjectContext.ApplyOriginalValue.

Answer: AE
Explanation:
ApplyCurrentValues(Of TEntity) Copies the scalar values from the supplied object into the object in the ObjectContext that has the same key.
The ApplyCurrentValues<TEntity> method is used to apply changes that were made to objects outside the ObjectContext, such as detached objects that are received by a Web service. The method copies the scalar values from the supplied object into the object in the ObjectContext that has the same key. You can use the EntityKey of the detached object to retrieve an instance of this object from the data source. Any values that differ from the original values of the object are marked as modified.
Note, the method does not apply the current values to the related objects of currentEntity. ApplyOriginalValues(Of TEntity) Copies the scalar values from the supplied object into set of original values for the object in the ObjectContext that has the same key.
The ApplyOriginalValues<TEntity> method is used to apply changes that were made to objects outside the ObjectContext, such as detached objects that are received by a Web service. The method copies the scalar values from the supplied object into the object in the ObjectContext that has the same key. You can use the EntityKey of the detached object to retrieve an instance of this object from the data source. Any values that differ from the current values of the object are marked as modified.
Note, the method does not apply the current values to the related objects of originalEntity.

QUESTION 18
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to manage customer and related order records. You add a new order for an existing customer. You need to associate the Order entity with the Customer entity. What should you do?

A.    Set the Value property of the EntityReference of the Order entity.
B.    Call the Add method on the EntityCollection of the Order entity.
C.    Use the AddObject method of the ObjectContext to add both Order and Customer entities.
D.    Use the Attach method of the ObjectContext to add both Order and Customer entities.

Answer: A
Explanation:
Entity Reference (Of Entity) Represents a related end of an association with a multiplicity of zero or one.

QUESTION 19
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database over the network. The application uses data from multiple related database tables. You need to ensure that the application can be used if the connection is disconnected or unavailable. Which object type should you use to store data from the database tables?

A.    DataSet
B.    DataAdapter
C.    DataReader
D.    Data Services

Answer: A
Explanation:
The DataSet, which is an in-memory cache of data retrieved from a data source, is a major component of the ADO.NET architecture. The DataSet consists of a collection of DataTable objects that you can relate to each other with DataRelation objects. You can also enforce data integrity in the DataSet by using the UniqueConstraint and ForeignKeyConstraint objects.

QUESTION 20
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You use a TableAdapter object to load a DataTable object. The DataTable object is used as the data source for a GridView control to display a table of customer information on a Web page. You need to ensure that the application meets the following requirements:
– Load only new customer records each time the page refreshes.
– Preserve existing customer records.
What should you do?

A.    Set the ClearBeforeFill property of the TableAdapter to false.
Use the Fill method of the TableAdapter.
B.    Set the ClearBeforeFill property of the TableAdapter to false.
Use the GetData method of the TableAdapter to create a new DataTable.
C.    Set the ClearBeforeFill property of the TableAdapter to true.
Use the Fill method of the TableAdapter to load additional customers.
D.    Set the ClearBeforeFill property of the TableAdapter to true.
Use the GetData method of the TableAdapter to create a new DataTable.

Answer: A
Explanation:
TableAdapter.Fill Populates the TableAdapter’s associated data table with the results of the TableAdapter’s SELECT command. TableAdapter.Update Sends changes back to the database. For more information, see How to:
Update Data Using a TableAdapter.
TableAdapter.GetData Returns a new DataTable filled with data.
TableAdapter.Insert Creates a new row in the data table. For more information, see How to: Add Rows to a DataTable.
TableAdapter.ClearBeforeFill Determines whether a data table is emptied before you call one of the Fill methods.
Table Adapter Overview
http://msdn.microsoft.com/en-us/library/bz9tthwx(v=vs.80).aspx


http://www.passleader.com/70-516.html

[Pass Ensure VCE Dumps] Free Share 286q 70-516 Exam Questions From PassLeader (21-40)

$
0
0

100% Valid Dumps For 70-516 Exam Pass: PassLeader have been updated the 286q 70-516 exam dumps and added the new exam questions, in the latest version of 70-516 PDF dumps or VCE dumps, you will get all the new changed 286q 70-516 exam questions, which will help you 100% passing 70-516 exam, and you will get the free version of VCE Player together with your 70-516 VCE dumps. Welcome to visit our website — passleader.com and get your 70-516 exam passed easily!

keywords: 70-516 exam,286q 70-516 exam dumps,286q 70-516 exam questions,70-516 pdf dumps,70-516 vce dumps,70-516 braindumps,70-516 practice tests,70-516 study guide,TS: Accessing Data with Microsoft .NET Framework 4 Exam

QUESTION 21
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application stores user names and passwords in the database. You need to ensure that users cannot read passwords extracted from the database. What should you do?

A.    Encrypt stored passwords by using the RC2CryptoServiceProvider class.
B.    Encrypt stored passwords by using the TripleDESCryptoServiceProvider class.
C.    Append a random salt to the password by using the RNGCryptoServiceProvider class. Encrypt stored passwords by using the RijndaelManaged class.
D.    Append a random salt to the password by using the RNGCryptoServiceProvider class. Hash stored passwords by using the SHA1CryptoServiceProvider class.

Answer: D
Explanation:
SHA1CryptoServiceProvider Class Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
SHA1CryptoServiceProvider Class
http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha1cryptoserviceprovider.aspx
CHAPTER 8 Developing Reliable Applications
Lesson 3: Protecting Your Data
Hashing and Salting (page 550-551)

QUESTION 22
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. The application stores encrypted credit card numbers in the database. You need to ensure that credit card numbers can be extracted from the database. Which cryptography provider should you use?

A.    DSACryptoServiceProvider
B.    AESCryptoServiceProvider
C.    MD5CryptoServiceProvider
D.    SHA1CryptoServiceProvider

Answer: B
Explanation:
AESCryptoServiceProvider Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.
DSACryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited. MD5CryptoServiceProvider Computes the MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
SHA1CryptoServiceProvider Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP).
This class cannot be inherited.
DSACryptoServiceProvider
http://msdn.microsoft.com/en-us/library/system.security.cryptography.dsacryptoserviceprovider.aspx
AESCryptoServiceProvider
http://msdn.microsoft.com/en-us/library/system.security.cryptography.aescryptoserviceprovider.aspx
MD5CryptoServiceProvider
http://msdn.microsoft.com/en-us/library/system.security.cryptography.md5cryptoserviceprovider.aspx
SHA1CryptoServiceProvider Class
http://msdn.microsoft.com/en-us/library/system.security.cryptography.sha1cryptoserviceprovider.aspx

QUESTION 23
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Microsoft ASP.NET application. The application connects to a Microsoft SQL Server database. The application is hosted on a Web server along with other applications. You need to secure the transmission of data between the application and the database. You need to achieve this goal without affecting other applications. What should you do?

A.    Encrypt the connection string.
B.    Use encryption to store sensitive data in the database.
C.    Use Secure Sockets Layer (SSL) to establish connections to the database.
D.    Use Internet Protocol Security (IPSec) to secure the communication channel.

Answer: C
Explanation:
SSL is an established standard for ensuring secure HTTP transactions.
SSL provides a mechanism to perform up to 128-bit encryption on all transactions between the client and server.
It enables the client to verify that the server belongs to a trusted entity through the use of server certificates.
It also enables the server to confirm the identity of the client with client certificates.
Each of these issues–encryption, server identity, and client identity–are negotiated in the SSL handshake that occurs when a client first requests a resource from a Secure Hypertext Transfer Protocol (HTTPS) server. Essentially, the client and server each present a list of required and preferred settings.
If a common set of requirements can be agreed upon and met, an SSL connection is established.
Internet Protocol Security (IPsec) is a set of security protocols used to transfer IP packets confidentially across the Internet.
IPsec is mandatory for all IPv6 implementations and optional for IPv4.
An IPsec policy is a set of rules that determine which type of IP traffic needs to be secured using IPsec and how to secure that traffic.
Only one IPsec policy is active on a computer at one time.

QUESTION 24
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from the central data store. You need to ensure that when the user connects to the central data store and retrieves new data, the application meets the following requirements:
– Changes made to the local data store in disconnected mode are preserved.
– Entities that have already been loaded into the local data store, but have not been modified by the user, are updated with the latest data.
What should you do?

A.    Call the query’s Execute method by using the MergeOptions.AppendOnly option.
B.    Call the query’s Execute method by using the MergeOptions.OverwriteChanges option.
C.    Call the Refresh method of ObjectContext by using the RefreshMode.StoreWins option.
D.    Call the Refresh method of ObjectContext by using the RefreshMode.ClientWins option.

Answer: D

QUESTION 25
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model persistence-ignorant entities. The application operates in a disconnected mode. You need to ensure that changes made to local entities while the application is in the disconnected mode are correctly persisted. Which method should you call before persisting changes?

A.    ObjectContext.Refresh
B.    DataContext.AcceptAllChanges
C.    ObjectStateEntry.AcceptChanges
D.    ObjectStateEntry.SetModifiedProperty

Answer: D
Explanation:
ObjectStateEntry.SetModifiedProperty(string propertyName) Method Marks the specified property as modified.

QUESTION 26
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. You deploy an application to a production server. The application uses the model and mapping files that are deployed as application resources. You need to update the conceptual model for the application on the production server. What should you do?

A.    Copy the updated .edmx file to the production server.
B.    Copy the updated .csdl file to the production server.
C.    Copy the updated .ssdl file to the production server.
D.    Recompile the application and redeploy the modified assembly file.

Answer: D

QUESTION 27
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. You need to ensure that the model and mapping files are not deployed as application resources. What should you do?

A.    Modify the connection string in the application’s .config file to refer to the absolute physical path to the .edmx file.
B.    Modify the connection string in the application’s .config file to refer to the relative path to the .edmx file.
C.    Set the value of the .edmx file’s Metadata Artifact Processing property to Copy to Output Directory.
D.    Set the value of the .edmx file’s Build Action property to Copy to Output.

Answer: C

QUESTION 28
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application updates several Microsoft SQL Server databases within a single transaction. You need to ensure that after a resource failure, you can manage unresolved transactions. What should you do?

A.    Call the EnlistVolatile method of the Transaction class.
B.    Call the EnlistDurable method of the Transaction class.
C.    Call the Reenlist method of the TransactionManager class.
D.    Call the RecoveryComplete method of the TransactionManager class.

Answer: C
Explanation:
Enlisting Resources as Participants in a Transaction
http://msdn.microsoft.com/en-us/library/ms172153.aspx
Implementing a Resource Manager
http://msdn.microsoft.com/en-us/library/ms229975.aspx
Committing a Transaction in Single-Phase and Multi-Phase
http://msdn.microsoft.com/en-us/library/ckawh9ct.aspx
TransactionManager.Reenlist() Reenlists a durable participant in a transaction.
A resource manager facilitates resolution of durable enlistments in a transaction by reenlisting the transaction participant after resource failure.
Transaction.EnlistVolatile() Enlists a volatile resource manager to participate in a transaction. Volatile resource managers cannot recovery from failure to complete a transaction in which they were participating.
Transaction.EnlistDurable() Enlists a durable resource manager to participate in a transaction.
TransactionManager.RecoveryComplete() Notifies the transaction manager that a resource manager recovering from failure has finished reenlisting in all unresolved transactions.
All durable resource managers should do recovery when they first start up by calling the Reenlist method for each outstanding transaction. Only when all of the reenlistments are done should the resource manager call RecoveryComplete.
TransactionManager.Reenlist() Method
http://msdn.microsoft.com/en-us/library/system.transactions.transactionmanager.reenlist.aspx
Transaction.EnlistVolatile() Method
http://msdn.microsoft.com/en-us/library/system.transactions.transaction.enlistvolatile.aspx
Transaction.EnlistDurable()
http://msdn.microsoft.com/en-us/library/system.transactions.transaction.enlistdurable.aspx
TransactionManager.RecoveryComplete() Method
http://msdn.microsoft.com/en-us/library/system.transactions.transactionmanager.recoverycomplete.aspx

QUESTION 29
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to several SQL Server databases. You create a function that modifies customer records that are stored in multiple databases. All updates for a given record are performed in a single transaction. You need to ensure that all transactions can be recovered. What should you do?

A.    Call the EnlistVolatile method of the Transaction class.
B.    Call the EnlistDurable method of the Transaction class.
C.    Call the Reenlist method of the TransactionManager class.
D.    Call the RecoveryComplete method of the TransactionManager class.

Answer: B
Explanation:
Volatile resource managers cannot recovery from failure to complete a transaction in which they were participating. To obtain a durable enlistment in a transaction, use the EnlistDurable method. For more information on volatile and durable resources, as well as how to enlist a resource, see Implementing A Resource Manager. For more information on how a resource manager responds to commit notification and prepare the commit, see Committing A Transaction In Single-Phase and Multi-Phase.
http://msdn.microsoft.com/en-us/library/ms149779.aspx

QUESTION 30
You use Microsoft Visual studio 2010 and Microsoft NET Framework 4.0 to create an application. The application uses the ADO.NET Entity Framework to model entities. The model includes the entity shown in the following exhibit. You need to add a function that returns the number of years since a person was hired. You also need to ensure that the function can be used within LINQ to Entities queries. What should you do?

A.    //Add the following conceptual model function returns the number of years since an
instructor was hired
<Function Name=”YearsSince” ReturnType=”Edm.Int32″>
<Parameter Name=”date” Type=”Edm.DateTime” />
<DefiningExpression>
Year(CurrentDateTime()) – Year(date)
</DefiningExpression>
</Function>
// add the following method to your application and use an EdmFunctionAttribute to map it to
the conceptual model function:
[EdmFunction(“SchoolModel”, “YearsSince”)]
public static int YearsSince(DateTime date){
throw new NotSupportedException(“Direct calls are not supported.”);
}
B.    //Add the following conceptual model function returns the number of years since an instructor
was hired
<Function Name=”YearsSince” ReturnType=”Edm.Int32″>
<Parameter Name=”date” Type=”Edm.DateTime” />
<DefiningExpression>
Year(CurrentDateTime()) – Year(date)
</DefiningExpression>
</Function>
// add the following method to your application and use an EdmFunctionAttribute to map it to
the conceptual model function:
[EdmFunction(“SchoolModel”, “YearsSince”)]
public static int YearsSince(DateTime date){
return CurrentDateTime() – Year(date);
}
C.    //Add the following conceptual model function returns the number of years since an instructor
was hired
<Function Name=”YearsSince” ReturnType=”Edm.Int32″>
<Parameter Name=”date” Type=”Edm.DateTime” />
<DefiningExpression>
YearsSince(DateTime date)
</DefiningExpression>
</Function>
// add the following method to your application and use an EdmFunctionAttribute to map it to
the conceptual model function:
[EdmFunction(“SchoolModel”, “YearsSince”)]
public static int YearsSince(DateTime date){
return CurrentDateTime() – Year(date);
}
D.    Use the Entity Data Model Designer to create a complex property named YearsSinceNow
that can be accessed throuqh the LINQ to Entites query at a Later time

Answer: A
Explanation:
How to: Call Model-Defined Functions in Queries
http://msdn.microsoft.com/en-us/library/dd456857.aspx
How to: Call Model-Defined Functions as Object Methods
http://msdn.microsoft.com/en-us/library/dd456845.aspx


http://www.passleader.com/70-516.html

QUESTION 31
Which class should you use to manage multiple tables and relationships among them?

A.    DataRow
B.    DataView
C.    DataTable
D.    DataSet

Answer: D

QUESTION 32
You want to set up a primary key on a column. Which properties on the data column must be set? (Each correct answer presents part of a complete solution. Choose three.)

A.    MappingType
B.    AutoIncrementSeed
C.    AutoIncrementStep
D.    AutoIncrement

Answer: BCD

QUESTION 33
If you want to assign a Car object to a column called CarObject, which attribute must be on the Car class to enable saving the data table to a file?

A.    Bindable
B.    DataObject
C.    Serializable
D.    FileIOPermission

Answer: C

QUESTION 34
You are storing custom Car objects in a data table that will be serialized to a file. After serializing to a binary file called cars.bin, you open the file with a binary editor and notice that XML is in the file. Which setting can you use to ensure that you will create a binary file without embedded XML?

A.    Set the BatchUpdate setting to SerializationFormat.Binary.
B.    Set the RemotingFormat property to SerializationFormat.Binary.
C.    Set the DefaultView property to SerializationFormat.Binary.
D.    Set the Constraints property to SerializationFormat.Binary.

Answer: B

QUESTION 35
Which code segment will properly return the TimeSpan returned by the stopWatch variable?

A.    Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
DoSomething();
stopWatch.Stop();
TimeSpan ts = stopWatch.Elapsed; 
string elapsedTime = String.Format(“{0:00}:{1:00}:{2:00}.{3:00}”,
ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
Console.WriteLine(elapsedTime, “RunTime”);
private void DoSomething()
{ … }
B.    Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
DoSomething();
stopWatch.Reset();
TimeSpan ts = stopWatch.Elapsed; 
string elapsedTime = String.Format(“{0:00}:{1:00}:{2:00}.{3:00}”,
ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
Console.WriteLine(elapsedTime, “RunTime”);
private void DoSomething()
{ … }
C.    Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
DoSomething();
TimeSpan ts = stopWatch.Elapsed;
string elapsedTime = String.Format(“{0:00}:{1:00}:{2:00}.{3:00}”,
ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
Console.WriteLine(elapsedTime, “RunTime”);
private void DoSomething()
{ … }
D.    Stopwatch stopWatch = new Stopwatch();
stopWatch.Begin();
DoSomething();
stopWatch.End();
TimeSpan ts = stopWatch.Elapsed; 
string elapsedTime = String.Format(“{0:00}:{1:00}:{2:00}.{3:00}”,
ts.Hours, ts.Minutes, ts.Seconds, ts.Milliseconds / 10);
Console.WriteLine(elapsedTime, “RunTime”);
private void DoSomething()
{ … }

Answer: A
Explanation:
Stopwatch Class
http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx

QUESTION 36
You are a tasked with performing a code review. The business rule is the following:
– If INSERTs into the first table succeed, then INSERT into the second table.
– However, if the INSERTs into the second table fail, roll back the inserts in the second table but do not roll back the inserts in the first table.
– Although this can also be done by way of regular transactions, It needs to be performed using TransactionScope objects.
Whis code would fit this business rule?

A.    try
{
using (TransactionScope scope1 = new TransactionScope
(TransactionScopeOption)
{
….
Try
{
…..
using (TransactionScope scope2 = new TransactionScope
(TransactionScopeOption))
{ …. }
}
}
}
B.    try
{
using (TransactionScope scope1 = new TransactionScope
(TransactionScopeOption.Required))
{

using (TransactionScope scope2 = new TransactionScope
(TransactionScopeOption.RequiresNew))
{ …. }
……
}
}
C.    try
{
using (TransactionScope scope1 = new TransactionScope
(TransactionScopeOption.Required))
{

}
using (TransactionScope scope2 = new TransactionScope
(TransactionScopeOption.RequiresNew))
{
….
}
}
D.    try
{
using (TransactionScope scope1 = new TransactionScope
(TransactionScopeOption.Required))
{
….
Try
{
…..
using (TransactionScope scope2 = new TransactionScope
(TransactionScopeOption.RequiresNew))
{ …. }
}
}
}

Answer: D
Explanation:
Required A transaction is required by the scope. It uses an ambient transaction if one already exists. Otherwise, it creates a new transaction before entering the scope. This is the default value. RequiresNew A new transaction is always created for the scope. Suppress The ambient transaction context is suppressed when creating the scope. All operations within the scope are done without an ambient transaction context.
Transaction Scope (EXAMPLE 3)
http://msdn.microsoft.com/en-us/library/bb896149%28SQL.100%29.aspx
TransactionScopeOption Enumeration
http://msdn.microsoft.com/en-us/library/system.transactions.transactionscopeoption.aspx

QUESTION 37
Which method will return all nodes of an XDocument?

A.    doc.DescendantNodes();
B.    doc.Descendants();
C.    doc.Root.Allnodes();
D.    doc.GetAllnodes();

Answer: A
Explanation:
public IEnumerable<XNode> DescendantNodes()
Returns a collection of the descendant nodes for this document or element, in document order.
public IEnumerable<XElement> Descendants()
Returns a collection of the descendant elements for this document or element, in document order.

QUESTION 38
Which one of these samples it the correct way to close the connection using Command Behavior?

A.    SqlDataReader rdr = new SqlDataReader();   
string sql = @”sql statement”;
SqlConnection conn = connection.GetConnection();
SqlCommand cmd = new SqlCommand(sql, conn);
SqlDataReader rdr = cmd.ExecuteReader
(CommandBehavior.CloseConnection);
Console.WriteLine(“{0}”, rdr);
B.    SqlDataReader rdr = new SqlDataReader();   
string sql = @”sql statement”;
SqlConnection conn = connection.GetConnection();
SqlCommand cmd = new SqlCommand(sql, conn);
SqlDataReader rdr = cmd.ExecuteReader
(CommandBehavior.CloseConnection);
rdr.Close();
Console.WriteLine(“{0}”, rdr);
C.    SqlDataReader rdr = new SqlDataReader();   
string sql = @”sql statement”;
SqlConnection conn = connection.GetConnection();
SqlCommand cmd = new SqlCommand(sql, conn);
SqlDataReader rdr = cmd.ExecuteReader
(CommandBehavior.CloseConnection);
conn.Close();
Console.WriteLine(“{0}”, rdr);
D.    using (SqlDataReader rdr = new SqlDataReader())

   string sql = @”sql statement”;
   SqlConnection conn = connection.GetConnection();
   SqlCommand cmd = new SqlCommand(sql, conn);
   SqlDataReader rdr = cmd.ExecuteReader
(CommandBehavior.CloseConnection);
   Console.WriteLine(“{0}”, rdr);
}

Answer: B

QUESTION 39
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The database includes a database table named ProductCatalog as shown in the exhibit. You add the following code segment to query the first row of the ProductCatalog table. (Line numbers are included for reference only.)
01 using(SqlConnection cnx = new SqlConnection(connString)
02 {
03 var command = cnx.CreateCommand();
04 command.CommandType = CommandType.Text;
05 command.CommandText = “SELECT TOP 1 * FROM dbo.ProductCatalog”;
06 cnx.Open();
07 var reader = command.ExecuteReader();
08 if (reader.Read())
09 {
10 var id = reader.GetInt32(0);
11 …
12 reader.Close();
13 }
14 }
Which answer belongs in line 11?

 
A.    var weight = reader.GetDouble(1);
var price = reader.GetDecimal(2);
var status = reader.GetBoolean(3);
B.    var weight  = reader.GetFloat(1);
var price = reader.GetDecimal(2);
var status  = reader.GetByte(3);
C.    var weight = reader.GetDouble(1);
var price = reader.GetFloat(2);
var status = reader.GetBoolean(3);
D.    var weight = reader.GetFloat(1);
var price = reader.Doublel(2);
var status = reader.GetByte(3);

Answer: A

QUESTION 40
You have been assigned the task of writing code that executes an Entity SQL query that returns entity type objects that contain a property of a complex type. (Line numbers are included for reference only.)
01 using (EntityCommand cmd = conn.CreateCommand())
02 {
03 cmd.CommandText = esqlQuery;
04 EntityParameter param = new EntityParameter();
05 param.ParameterName = “id”;
06 param.Value = 3;
07 cmd.Parameters.Add(param);
08 using (EntityDataReader rdr = cmd.ExecuteReader(CommandBehavior.SequentialAccess))
09 {
10 while (rdr.Read())
11 {
12 …
13 Console.WriteLine(“Email and Phone Info:”);
14 for (int i = 0; i < nestedRecord.FieldCount; i++)
15 {
16 Console.WriteLine(” ” + nestedRecord.GetName(i) + “: ” + nestedRecord.GetValue(i));
17 }
18 }
19 }
20 }
Which code segment should you insert at line 12?

A.    DbDataRecord nestedRecord = rdr[“EmailPhoneComplexProperty”]
as DbDataRecord;
B.    DbDataRecord nestedRecord = rdr[“EmailPhoneComplexProperty”]
C.    DataSet nestedRecord = rdr[“EmailPhoneComplexProperty”]
as ComplexDataSet
D.    ComplexDataRecord nestedRecord = rdr[“EmailPhoneComplexProperty”]

Answer: A
Explanation:
How to: Execute a Query that Returns Complex Types
http://msdn.microsoft.com/en-us/library/bb896329.aspx
using (EntityConnection conn = new EntityConnection(ConfigurationManager.ConnectionStrings [“StoreConnection”].ConnectionString))
{
using (EntityCommand comm = conn.CreateCommand()) {
// Here StoreConnection-ObjectContext name, Customers-correct DataSet name comm.CommandText = “Select Customers.CustomerID, Customers.Name, Customers.Address
from StoreConnection.Customers where Customers.CustomerID=@qqqCustomerID”;
EntityParameter param = new EntityParameter(“qqqCustomerID”, DbType.Int32);
param.Value = 1;
comm.Parameters.Add(param);
conn.Open();
var reader = comm.ExecuteReader(CommandBehavior.SequentialAccess);
while (reader.Read())
{
DbDataRecord record = reader[“Address”] as DbDataRecord;
for (int i = 0; i < record.FieldCount; i++)
{
name.Text += “<br/>” + record.GetName(i) + ” : ” + record.GetValue(i).ToString(); }
}
reader.Close();
}
}


http://www.passleader.com/70-516.html

[Pass Ensure VCE Dumps] PassLeader 286q 70-516 Exam VCE Dumps For Free Share (41-60)

$
0
0

100% Pass 70-516 Exam: if you are preparing 70-516 exam and want to pass it exam easily, we recommend you to get the new 286q 70-516 exam questions from PassLeader, we PassLeader now are sharing the latest and updated 70-516 braindumps with VCE and PDF file, we have corrected all the new questions of our 70-516 VCE dumps and 70-516 PDF dumps and will help you 100% passing 70-516 exam.

keywords: 70-516 exam,286q 70-516 exam dumps,286q 70-516 exam questions,70-516 pdf dumps,70-516 vce dumps,70-516 braindumps,70-516 practice tests,70-516 study guide,TS: Accessing Data with Microsoft .NET Framework 4 Exam

QUESTION 41
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server database. You create the classes shown in the following exhibit. You add the following code segment to the application. (Line numbers are included for reference only.)
01 public void QueryPlayers (List <League> leagues) {
02 …
03 }
You create a LINQ query to retrieve a collection of Player objects. You need to ensure that the collection includes all the players from each team and every league. Which code segment should you insert at line 02?


 
A.    var query = leagues.Select(l => l.Teams.Select(t => t.Players));
B.    var query = leagues.Select(l => l.Teams.SelectMany(t => t.Players));
C.    var query = leagues.SelectMany(l => l.Teams.SelectMany(t => t.Players));
D.    var query = leagues.SelectMany(l => l.Teams.Select(t => t.Players));

Answer: C

QUESTION 42
How do you call a model-defined function as static method on a custom class?

A.    Add a class to your application with a static method that does the following:
Apply an EdmFunctionAttribute to the method and ensure it accepts an IQueryable argument and returns the results of the Execute method that is returned by the Provider property.
B.    Add a class to your application with a static method that does the following:
Apply an EdmFunctionAttribute to the method and ensure it accepts IEntityWithRelationships argument and returns the results of the Execute method that is returned by the Provider property.
C.    Add a class to your application with a static method that does the following:
Apply an EdmFunctionAttribute to the method and ensure it accepts ICollection argument and returns the results of the Execute method that is returned by the Provider property.
D.    Add a class to your application with a static method that does the following:
Apply an EdmFunctionAttribute to the method and ensure it accepts and returns the results of the Execute method that is returned by the Provider property.

Answer: A

QUESTION 43
The database contains a table named Categories. The Categories table has a primary key identity column named CategoryID. The application inserts new records by using the following stored procedure:
CREATE PROCEDURE dbo.InsertCategory
@CategoryName nvarchar(15),
@Identity int OUT
AS
INSERT INTO Categories (CategoryName) VALUES(@CategoryName)
SET @Identity = SCOPE_IDENTITY()
RETURN @@ROWCOUNT
You write the following code segment:
SqlDataAdapter adapter = new SqlDataAdapter(“SELECT categoryID, CategoryName FROM dbo.Categories”,connection);
adapter.InsertCommand = new SqlCommand(“dbo.InsertCategory”, connection);
adapter.InsertCommand.CommandType = commandType.StoredProcedure;
adapter.InsertCommand.Parameters.Add(new SqlParameter(“@CategoryName”, SqlDbType.NVarChar, 15,”CategoryName”));
You need to retrieve the identity value for the newly created record. Which code segment should you add?

A.    SqlParameter parameter = adapter.InsertCommand.Parameters.Add(“@CategoryName”, SqlDbType.Int);
parameter.Direction = ParameterDirection.Output;
parameter = adapter.InsertCommand.Parameters.Add(“@Identity”, SqlDbType.Int, 0, “CategoryID”);
parameter.Direction = ParameterDirection.Output;
B.    SqlParameter parameter = adapter.InsertCommand.Parameters.Add(“@CategoryName”, SqlDbType.Int);
parameter.Direction = ParameterDirection.Output;
parameter = adapter.InsertCommand.Parameters.Add(“@Identity”, SqlDbType.Int, 0, “CategoryID”);
parameter.Direction = ParameterDirection.ReturnValue;
C.    SqlParameter parameter = adapter.InsertCommand.Parameters.Add(“@RowCount”, SqlDbType.Int);
parameter.Direction = ParameterDirection.ReturnValue;
parameter = adapter.InsertCommand.Parameters.Add(“@Identity”, SqlDbType.Int, 0, “CategoryID”);
parameter.Direction = ParameterDirection.Output;
D.    SqlParameter parameter = adapter.InsertCommand.Parameters.Add(“@RowCount”, SqlDbType.Int);
parameter.Direction = ParameterDirection.Output;
parameter = adapter.InsertCommand.Parameters.Add(“@Identity”, SqlDbType.Int, 0, “CategoryID”);
parameter.Direction = ParameterDirection.ReturnValue;

Answer: C

QUESTION 44
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses a Microsoft ADO.NET SQL Server managed provider.
“Data Source=myServerAddress; Initial Catalog=myDataBase; User Id=myUsername; Password=secret;”
You need to ensure that the database credentials are secure. Which is the correct Property to insert?

A.    Integrated Security=SSPI;
B.    Persist Security Info=true;
C.    Persist Security Info=false;
D.    Integrated Security=false;

Answer: C
Explanation:
Persist Security Info
Default: ‘false’
When set to false or no (strongly recommended), security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.
Resetting the connection string resets all connection string values including the password.
Recognized values are true, false, yes, and no.
SSPI
http://msdn.microsoft.com/en-us/library/windows/desktop/aa380493(v=vs.85).aspx

QUESTION 45
You use Microsoft .NET Framework 4.0 to develop an ASP.NET application. The application uses Integrated Windows authentication. The application accesses data in a Microsoft SQL Server 2008 database that is located on the same server as the application. You use the following connection string to connect to the database:
Integrated Security=SSPI; Initial Catalog=AdventureWorks;
The application must also execute a stored procedure on the same server on a database named pubs. Users connect to the ASP.NET application through the intranet by using Windows-based authentication. You need to ensure that the application will use connection pooling whenever possible and will keep the number of pools to a minimum. Which code segment should you use?

A.    command.CommandText = “USE [pubs]; exec uspLoginAudit;”;
using (SqlConnection connection = new SqlConnection(“Initial Catalog=AdventureWorks; Integrated Security=SSPI; MultipleActiveResultSets=True”))
{
connection.Open();
command.ExecuteNonQuery();
}
B.    command.CommandText = “exec uspLoginAudit;”;
using (SqlConnection connection = new SqlConnection(“Integrated Security=SSPI;”))
{
connection.Open();
command.ExecuteNonQuery();
}
C.    command.CommandText = “USE [pubs]; exec uspLoginAudit;”;
using (SqlConnection connection = new SqlConnection(“Integrated Security=SSPI; Initial Catalog=AdventureWorks”))
{
connection.Open();
command.ExecuteNonQuery();
}
D.    command.CommandText = “exec uspLoginAudit;”;
using (SqlConnection connection = new SqlConnection(“Integrated Security=SSPI; Initial Catalog=pubs”))
{
connection.Open();
command.ExecuteNonQuery();
}

Answer: C
Explanation:
Working with Multiple Active Result Sets
http://msdn.microsoft.com/en-us/library/yf1a7f4f(v=vs.80).aspx
SSPI
http://msdn.microsoft.com/en-us/library/windows/desktop/aa380493(v=vs.85).aspx

QUESTION 46
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to enhance and existing application use Entity Framework. The classes that represent the entites in the model are Plain old CLR Object (POCO) Classes. You need to connect the existing POCO classes to an entity framework context. What should you do?

A.    1. Generate a MetadataWorkspace and create an ObjectContext for the model.
2. Disable Proxy object creation on the ContextOptions of the ObjectContext.
3. Enable lazy loading on the ContextOptions of the ObjectContext.
B.    1. Generate a MetadataWorkspace and create an ObjectContext for the model.
2. Create an ObjectSet fort he POCO classes.
3. Disable Proxy object creation on the ContextOptions of the ObjectContext.
C.    1. Generate an Entity Data Model fort he POCO classes.
2. Create an ObjectSet fort he POCO classes.
3. Disable Proxy object creation on the ContextOptions of the ObjectContext.
4. Enable lazy loading on the ContextOptions of the ObjectContext.
D.    1. Generate an Entity Data Model for the POCO classes.
2. Create an ObjectSet for the POCO classes.
3. Set Code Generation Strategy on the Entity Data Model to none.
4. Create an ObjectContext for the model.

Answer: D

QUESTION 47
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application. You use entity Framework Designer to create an Entity Data Model from an existing database by using the Generate From Database wizard. The model contains an entity type named Product. The Product type requires an additional property that is not mapped to database colomn. You need to add the property to product. What should you do?

A.    Add the property in the generated class file, and select Run Custom Tool from the solution menu.
B.    Add the property in a partial class named Product in a new source file.
C.    Create a comlex type with the name of the property in the Entity Framework Designer.
D.    Create a function import with the name of property in the Entity Framework Designer.

Answer: B

QUESTION 48
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application that uses the Entity Framewok. You need to execute custom logic when an entity is attached to the ObjectContext. What should you do?

A.    Create a partial method named OnStateChanged in the partial class for the entity.
B.    Create a partial method named OnAttached in the partial class for the entity.
C.    Create an event handler to handle the ObjectStateManagerChanged event.
D.    Create an event handler to handle the ObjectMaterialized event.

Answer: C
Explanation:
ObjectStateManagerChanged Occurs when entities are added to or removed from the state manager.
ObjectMaterialized Occurs when a new entity object is created from data in the data source as part of a query or load operation.
ObjectStateManagerChanged Event
http://msdn.microsoft.com/en-us/library/system.data.objects.objectstatemanager.objectstatemanagerchanged.aspx
ObjectMaterialized Event
http://msdn.microsoft.com/en-us/library/system.data.objects.objectcontext.objectmaterialized.aspx

QUESTION 49
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to develop an application that uses the Entity Data Model for the fallowing database tables. You need to ensure that the entity that is mapped to the ContectTypeDerived table derives from the entity that is mapped to the ContentTypeBase table. What should you do?

A.    Use a Table-Per-Type mapping method.
B.    Use a Table-Per-Hierarchy mapping method.
C.    Create a function import for each entity.
D.    Create a complect type for each entity.

Answer: A

QUESTION 50
You use Microsoft Visual Studio 2010 and .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application contains the following code segment:
string SQL = string.Format(“SELECT * FROM Customer WHERE CompanyName LIKE  ‘%{0}%’, companyName);
var cmd = new SqlCommand(SQL, con);
You need to reduce the vulnerability to SQL injection attacks. Which code segment should you use?

A.    string SQL = “SELECT * FROM Customer Where “ + “CompanyName LIKE @companyName”;
var cmd = new SqlCommand(SQL,con);
cmd.Parameters.AddWithValue(“@companyName”, string.Format(“%{0}%”, companyName));
B.    string SQL = “SELECT * FROM Customer Where “ + “CompanyName LIKE @companyName”;
var cmd = new SqlCommand(SQL,con);
var param = new SqlParameter (“@companyName”, string.Format(“%{0}%”, companyName));
C.    string SQL = string.Format(“SELECT * FROM “ + “ Customer Where CompanyName LIKE {0}”, new SqlCommand(“@companyName”, string.format(“%{0}%”, companyName)));
var cmd = new SqlCommand(SQL, con);
D.    string SQL = “SELECT” * FROM Customer @companyName;
var cmd = new sqlcommand(SQL,con);
cmd.Parameters.AddWithValue(“companyName”, string.format(“where companyName LIKE ‘%{0}%’”, companyName));

Answer: A
Explanation:
SqlParameterCollection.AddWithValue Method
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlparametercollection.addwithvalue.aspx


http://www.passleader.com/70-516.html

QUESTION 51
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. WCF Data Services uses an authentication scheme that requires an HTTP request that has the following header format:
GET /Odata.svc/Products(1)
Authorization: WRAP access_token=”123456789”
The application includes the following code. (Line numbers are included for reference only.)
01 public class program
02 {
03 Public void GetProducts()
04 {
05 var proxy = new MyDataServiceContext(“…”);
06 …
07 }
08 }
You need to ensure that the correct authentication header is present when requests are made by using MyDataServiceContext. What should you do?

A.    Insert the following code segmen at line 06:
Proxy.Credentials = new NetworkCredential(“WRAP access_token”, “123456789”);
B.    Insert the following code segment at line 06:
Proxy.Credentials = new NetworkCredential(“Authorization”, “WRAP access_token=\”123456789”\””);
C.    Insert the following code segmen at line 06:
Proxy.SendingRequest += new EventHandler<SendingRequestEventArgs>(proxy_SendingRequest);
Insert the following code segmen at line 09:
void proxy_SendingRequest(object sender, SendingRequestEventArgs e){
e.RequestsHeaders.Add(“WRAP access_token”, “123456789”);
}
D.    Insert the following code segment at line 06:
Proxy.SendingRequest += new EventHandler<SendingRequestEventArgs>(proxy_SendingRequest);
Insert the following code segment at line 09:
void proxy_SendingRequest(object sender, SendingRequestEventArgs e){
RequestsHeaders.Add(“Authorization”, “WRAP access_token”, “123456789”);
}

Answer: D

QUESTION 52
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Communication Foundation (WCF) Data Services service. The solution contains the projects shown in the following table. The WCF data service exposes an Entity Framework model. You need to Access the service by using a WCF Data Services client. What should you do in the Application.Client Project?

A.    Add a referance to the Application.Model Project.
B.    Add a referance to the Application.Service Project.
C.    Add a service reference that uses the URL of the WCF data service.
D.    Add a web reference that uses the URL of the WCF data service.

Answer: C

QUESTION 53
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application contains the following XML document:
<bib>
<book title=”TCP/IP Illusrated” year=”1994″>
<author>Author1</author>
</book>
<book title=”Programming in UNIX” year=”1992″>
<author>Author1</author>
<author>Author2</author>
<author>Author3</author>
</book>
<book title=”Data on the web” year=”2000″>
<author>Author4</author>
<author>Author3</author>
</book>
</bib>
You add the following code fragment. (Line numbers are included for reference only.)
01 public IEnumerable<XElement> GetBooks(string xml)
02 {
03 XDocument doc = XDocument.Parse(xml);
04 …
05 }
You need to return a list of book XML element that are authored by Author1. Which code segment should you insert at line 04?

A.    return doc.Element(“bib”).Elements()
.SelectMany(el => el.Elements()
.Where(e2 => e2.Equals(new XElement(“author”, “Author1”))));
B.    return doc.Element(“bib”).Elements()
.SelectMany(el => el.Elements()
.Where(e2 => (string)e2 == “Author1”));
C.    return doc.Elements(“bib”).Elements()
.Where(e1 => e1.Elements().Any(e2 => (string)e2 == “Author1”));
D.    return doc.Elements(“bib”).Elements()
.Where(e1 => e1.Elements().Any(e2 => e2.Equals(new XElement(“author”, “Author1”))));

Answer: C

QUESTION 54
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to a Microsoft SQL Server 2008 database. You add the following store procedure to the database:
CREATE PROCEDURE GetProducts
AS
BEGIN
SELECT ProductID, Name, Price, Cost
FROM Product
END
You create a SqlDataAdapter named adapter to execute the stored procedure. You need to fill a DataTable instance with the first 10 rows of the result set. What are two possible code segments that you can use to achieve the goal?

A.    DataSet ds = new DataSet();
adapter.Fill(ds, 0, 10, “Product”);
B.    DataSet ds = new DataSet();
DataTable dt = ds.Tables.Add(“Product”);
adapter.Fill(0, 10, dt);
C.    DataSet ds = new DataSet();
DataTable dt = ds.Tables.Add(“Product”);
dt.ExtendedProperties[“RowCount”] = 10;
dt.ExtendedProperties[“RowIndex”] = 0;
adapter.Fill(dt);
D.    DataSet ds = new DataSet();
ds.ExtendedProperties[“RowCount”] = 10;
ds.ExtendedProperties[“RowIndex”] = 0;
adapter.Fill(ds);

Answer: AB
Explanation:
Fill(Int32, Int32, DataTable()) Adds or refreshes rows in a DataTable to match those in the data source starting at the specified record and retrieving up to the specified maximum number of records. (Inherited from DbDataAdapter.)
Fill(DataSet, Int32, Int32, String) Adds or refreshes rows in a specified range in the DataSet to match those in the data source using the DataSet and DataTable names. (Inherited from DbDataAdapter.)
SqlDataAdapter Class
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.aspx
DataTable.ExtendedProperties Gets the collection of customized user information.

QUESTION 55
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application retreives data from Microsoft SQL Server 2008 database named AdventureWorks. The AdventureWorks.dbo.ProductDetails table contains a column names ProductImages that uses a varbinary(max) data type. You write the following code segment. (Line numbers are included for reference only.)
01 SqlDataReader reader = command.ExecureReader(– empty phrase here –);
02 while(reader.Read())
03 {
04 pubID = reader.GetString(0);
05 stream = new FileStream(…);
06 writer = new BinaryWriter(stream);
07 startIndex = 0;
08 retval = reader.GetBytes(1, startIndex, outByte, 0, bufferSize);
09 while(retval == bufferSize)
10 {
11  …
12 }
13 writer.Write(outbyte, 0, (int)retval-1);
14 writer.Flush();
15 writer.Close();
16 stream.Close();
17 }
You need to ensure that the code supports streaming data from the ProductImages column. Which code segment should you insert at the empty phrase in line 01?

A.    CommandBehavior.Default
B.    CommandBehavior.KeyInfo
C.    CommandBehavior.SingleResult
D.    CommandBehavior.SequentialAccess

Answer: D
Explanation:
Default
The query may return multiple result sets. Execution of the query may affect the database state.
Default sets no CommandBehavior flags, so calling ExecuteReader(CommandBehavior.Default) is functionally equivalent to calling ExecuteReader().
KeyInfo The query returns column and primary key information. When KeyInfo is used for command execution, the provider will append extra columns to the result set for existing primary key and timestamp columns.
SingleResult The query returns a single result set.
SequentialAccess Provides a way for the DataReader to handle rows that contain columns with large binary values.
Rather than loading the entire row, SequentialAccess enables the DataReader to load data as a stream.
You can then use the GetBytes or GetChars method to specify a byte location to start the read operation, and a limited buffer size for the data being returned.
CommandBehavior Enumeration
http://msdn.microsoft.com/en-us/library/system.data.commandbehavior.aspx

QUESTION 56
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. The application performs a database query within a transaction. You need to ensure that the application can read data that has not yet beed commited by other transactions. Which IsolationLevel should you use?

A.    ReadUncommitted
B.    ReadCommitted
C.    RepeatableRead
D.    Unspecified

Answer: A
Explanation:
Unspecified A different isolation level than the one specified is being used, but the level cannot be determined.
When using OdbcTransaction, if you do not set IsolationLevel or you set IsolationLevel to Unspecified, the transaction executes according to the isolation level that is determined by the driver that is being used.
Chaos The pending changes from more highly isolated transactions cannot be overwritten. ReadUncommitted A dirty read is possible, meaning that no shared locks are issued and no exclusive locks are honored.
ReadCommitted Shared locks are held while the data is being read to avoid dirty reads, but the data can be changed before the end of the transaction, resulting in non-repeatable reads or phantom data.
RepeatableRead Locks are placed on all data that is used in a query, preventing other users from updating the data.
Prevents non-repeatable reads but phantom rows are still possible.
Serializable A range lock is placed on the DataSet, preventing other users from updating or inserting rows into the dataset until the transaction is complete.
Snapshot Reduces blocking by storing a version of data that one application can read while another is modifying the same data.
Indicates that from one transaction you cannot see changes made in other transactions, even if you requery.
IsolationLevel Enumeration
http://msdn.microsoft.com/en-us/library/system.data.isolationlevel.aspx
Isolation Levels in Database Engine
http://msdn.microsoft.com/en-us/library/ms189122.aspx
SET TRANSACTION ISOLATION LEVEL (Transact-SQL)
http://msdn.microsoft.com/ru-ru/library/ms173763.aspx

QUESTION 57
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. The application includes a SqlConnection named conn and a SqlCommand named cmd. You need to create a transaction so that database changes will be reverted in the event that an exception is thrown. Which code segment should you use?

A.    var transaction = conn.BeginTransaction();
cmd.Transaction = transaction;
try
{

transaction.Commit();
}
catch
{
transaction.Rollback();
}
B.    var transaction = conn.BeginTransaction();
cmd.Transaction = transaction;
try
{

transaction.Commit();
}
catch
{
transaction.Dispose();
}
C.    var transaction = conn.BeginTransaction();
cmd.Transaction = transaction;
try
{

}
catch
{
transaction.Commit();
}
D.    var transaction = conn.BeginTransaction();
cmd.Transaction = transaction;
try
{

transaction.Rollback();
}
catch
{
transaction.Dispose();
}

Answer: A

QUESTION 58
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You create a stored procedure to insert a new record in the Categories table according to following code segment:
CREATE PROCEDURE dbo.InsertCategory
@CategoryName navrchar(15),
@Identity int OUT
AS
  INSERT INTO Categories(CategoryName) VALUES (@CategoryName)
  SET @Identity = SCOPE_IDENTITY()
  RETURN @@ROWCOUNT
You add the following code fragment. (Line numbers are included for reference only.)
01 private static void ReturnIdentity(string connectionString)
02 {
03    using(SqlConnection connection = new SqlConnection(connectionString))
04  {
05 SqlDataAdpater adapter = new SqlDataAdapter(“SELECT CategoryID, CategoryName FROM dbo.Categories”, connection);
06 adapter.InsertCommand = new SqlCommand(“InsertCategory”, connection);
07 adapter.InsertCommand.CommandType = CommandType.StoredProcedure;
08 SqlParameter rowcountParameter = adapter.InsertCommand.Parameters.Add(“@RowCount”, SqlDbType.Int);
09 …
10 adapter.InsertCommand.Parameters.Add(“@CategoryName”, SqlDbType.NChar, 15, “CategoryName”);
11 SqlParameter identityParameter = adapter.InsertCommand.Parameters.Add(“@Identity”, SqlDbType.Int, 0, “CategoryID”);
12 …
13 DataTable categories = new DataTable();
14 adapter.Fill(categories);
15 DataRow ctegoryRow = categories.NewRow();
16 categoryRow[“CategoryName”] = “New beverages”;
17 categories.Rows.Add(categoryRow);
18 adapter.Update(categories);
19 Int32 rowCount = (Int32)adapter.InsertCommand.Parameters[“@RowCount”].Value;
20  }
21 }
Which code elements needs to be added in the empty lines?

A.    Insert the following code segment at line 09:
rowcountParameter.Direction = ParameterDirection.ReturnValue;
Insert the following code segment at line 12:
identityParameter.Direction = ParameterDirection.ReturnValue;
B.    Insert the following code segment at line 09:
rowcountParameter.Direction = ParameterDirection.Output;
Insert the following code segment at line 12:
identityParameter.Direction = ParameterDirection.Output;
C.    Insert the following code segment at line 09:
rowcountParameter.Direction = ParameterDirection.ReturnValue;
Insert the following code segment at line 12:
identityParameter.Direction = ParameterDirection.Output;
D.    Insert the following code segment at line 09:
rowcountParameter.Direction = ParameterDirection.Output;
Insert the following code segment at line 12:
identityParameter.Direction = ParameterDirection.ReturnValue;

Answer: C

QUESTION 59
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the EntityFramework. The application has an entity named Person. A Person instance named person1 and an ObjectContext instance named model exist. You need to delete the person1 instance. Which code segment should you use?

A.    model.DeleteObject(person1);
model.SaveChanges();
B.    model.Detach(person1);
model.SaveChanges();
C.    model.ExecuteStoreCommand(“Delete”,
new []{new ObjectParameter(“Person”, person1)};
model.SaveChanges();
D.    model.ExecuteStoreCommand(“Detach”,
new []{new ObjectParameter(“Person”, person1)};
model.SaveChanges();

Answer: A
Explanation:
ObjectContext.DeleteObject Marks an object for deletion from the ObjectStateManager. The object is deleted in the data source when the SaveChanges method is called. ObjectContext.ExecuteStoreCommand Method executes an arbitrary command directly against the data source using the existing connection.

QUESTION 60
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that connects to a MS SQL server 2008 database by User Authentication. The application contains the following connection string:
SERVER=DBSERVER-01; DATABASE=pubs; uid=sa; pwd=secret;
You need to ensure that the password value in the connection string property of a SqlConnection object does not exist after is called. What should you add to the connection string?

A.    Persist Security Info = True
B.    Trusted_Connection = True
C.    Persist Security Info = False
D.    Trusted_Connection = False

Answer: C
Explanation:
The Persist Security Info property specifies whether the data source can persist sensitive authentication information such as a password.
Persist Security Info Property
http://msdn.microsoft.com/en-us/library/aa214039(v=sql.80).aspx


http://www.passleader.com/70-516.html

[Pass Ensure VCE Dumps] Free Share 286q 70-516 Exam Questions From PassLeader (61-80)

$
0
0

100% Pass 70-516 Exam: if you are preparing 70-516 exam and want to pass it exam easily, we recommend you to get the new 286q 70-516 exam questions from PassLeader, we PassLeader now are sharing the latest and updated 70-516 braindumps with VCE and PDF file, we have corrected all the new questions of our 70-516 VCE dumps and 70-516 PDF dumps and will help you 100% passing 70-516 exam.

keywords: 70-516 exam,286q 70-516 exam dumps,286q 70-516 exam questions,70-516 pdf dumps,70-516 vce dumps,70-516 braindumps,70-516 practice tests,70-516 study guide,TS: Accessing Data with Microsoft .NET Framework 4 Exam

QUESTION 61
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. You add the following table to the database:
CREATE TABLE ObjectCache (Id INT IDENTITY PRIMARY KEY, SerializedObjectData XML)
You write the following code segment to retreive records from the ObjectCache table. (Line numbers are included for reference only.)
01 string s = GetConnectionStringFromConfigFile(“xmldb”);
02 using (SqlConnection conn = new SqlConnection(s))
03    using (SqlCommand cmd = new SqlCommand(“select * from ObjectCache”, conn))
04    {
05       conn.Open();
06       SqlDataReader rdr = cmd.ExecuteReader();
07       while(rdr.Read())
08       {
09          …
10          DeserializeObject(obj);
11       }
12    }
You need to retreive the data from the SerializedObjectData column and pass it to a method named DeserializeObject. Which line of code should you insert at line 09?

A.    XmlReader obj  = (XmlReader)rdr[1];
B.    SByte obj = (SByte)rdr[1];
C.    String obj = (String)rdr[1];
D.    Type obj = (Type)rdr[1];

Answer: C

QUESTION 62
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application contains following XML document:
<feed>
<title>Products</title>
<entry>
<title>Entry title 1</title>
<author>Author 1</author>
<content>
<properties>
<description>some description</description>
<notes>some notes</notes>
<comments>some comments</comments>
</properties>
</content>
</entry>

</feed>
You plan to add localization features to the application. You add the following code segment. (Line numbers are included for reference only.)
01 public IEnumerable <XNode> GetTextNodesForLocalization(XDocument doc)
02 {
03    …
04    return from n in nodes
05           where n.NodeType = XmlNodeType.Text
06           select n;
07 }
You need to ensure that the GetTextNodeForLocalization method returns all the XML text nodes of the XML document. Which code segment should you inser at line 03?

A.    IEnumerable <XNode> nodes = doc.Descendants();
B.    IEnumerable <XNode> nodes = doc.Nodes();
C.    IEnumerable <XNode> nodes = doc.DescendantNodes();
D.    IEnumerable <XNode> nodes = doc.NodesAfterSelf();

Answer: C
Explanation:
DescendantNodes() Returns a collection of the descendant nodes for this document or element, in document order.
Descendants() Returns a collection of the descendant elements for this document or element, in document order.
Nodes() Returns a collection of the child nodes of this element or document, in document order.
NodesAfterSelf() Returns a collection of the sibling nodes after this node, in document order.

QUESTION 63
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. The application includes two ObjectContext instances named context1 and context2. You need to persist the changes in both object contexts within a single transaction. Which code segment should you use?

A.    using (TransactionScope scope = new TransactionScope())
{
  context1.SaveChanges();
  context2.SaveChanges();
}
B.    using (TransactionScope scope = new TransactionScope())
{
  context1.SaveChanges();
  context2.SaveChanges();
  scope.Complete();
}
C.    using (TransactionScope scope = new TransactionScope())
{
  using (TransactionScope scope1 = new TransactionScope(TransactionScopeOption.RequireNew))
  {
    context1.SaveChanges();
    scope1.Complete();
  }
  using (TransactionScope scope2 = new TransactionScope(TransactionScopeOption.RequireNew))
  {
    context2.SaveChanges();
    scope2.Complete();
  }
  scope.Complete();
}
D.    using (TransactionScope scope = new TransactionScope())
{
  using (TransactionScope scope1 = new TransactionScope(TransactionScopeOption.RequireNew))
  {
    context1.SaveChanges();
  }
  using (TransactionScope scope2 = new TransactionScope(TransactionScopeOption.RequireNew))
  {
    context2.SaveChanges();
  }
}

Answer: B
Explanation:
TransactionScope.Complete Indicates that all operations within the scope are completed successfully.
TransactionScope Class
http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx

QUESTION 64
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. The application includes self-tracking entities as shown in the following diagram. There is a Person entity names person1 that has TrackChanges turned on. You need to delete all e-mail addresses that are associated with person1 by using an ObjectContext. What are two possible code segments that you can use to achieve this goal? (Each correct answer presents a complete solution. Choose two).

A.    foreach(var email in person1.EMailAddresses){
email.MarkAsDeleted();
}
context.SaveChanges();
B.    while(person1.EMailAddresses.Count>0){
person1.EmailAddresses.RemoveAt(0);
}
context.SaveChanges();
C.    person1.EMailAddresses = null;
context.SaveChanges();
D.    person1.EMailAddresses = new TrackableCollection<EMailAddress>();
context.SaveChanges();

Answer: AB
Explanation:
Working with Self-Tracking Entities
http://msdn.microsoft.com/en-us/library/ff407090.aspx
Working with Sets of Self-Tracking Entities
http://blogs.msdn.com/b/adonet/archive/2010/06/02/working-with-sets-of-self-tracking-entities.aspx

QUESTION 65
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses LINQ to SQL. You create a data model name AdvWorksDataContext, and you add the Product table to the data model. The Product table contains a decimal column named ListPrice and a string column named Color. You need to update ListPrice column where the product color is Black or Red. Which code segment should you use?

A.    string[] colorList = new string[] {“Black”, “Red”};
AdvWorksDataContext dc =  new AdvWorksDataContext();
var prod = from p in dc.Products
          where colorList.Contains(p.Color)
          select p;
foreach(var product in prod){
product.ListPrice = product.StandardCost * 1.5M;
}
dc.SubmitChanges();
B.    AdvWorksDataContext dc =  new AdvWorksDataContext(“…”);
var prod = from p in dc.Products
          select p;
var list = prod.ToList();
foreach(Product product in list){
if(product.Color == “Black, Red”){
product.ListPrice = product.StandardCost * 1.5M;
}
}
dc.SubmitChanges();
C.    AdvWorksDataContext dc =  new AdvWorksDataContext(“…”);
var prod = from p in dc.Products
          where p.Color == “Black, Red”
          select p;
foreach(var product in prod){
product.ListPrice = product.StandardCost * 1.5M;
}
dc.SubmitChanges();
D.    AdvWorksDataContext dc =  new AdvWorksDataContext(“…”);
var prod = from p in dc.Products
          select p;
var list = prod.ToList();
foreach(Product product in list){
if((product.Color == “Black) && (product.Color == “Red”)){
product.ListPrice = product.StandardCost * 1.5M;
}
}
dc.SubmitChanges();

Answer: A

QUESTION 66
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. You create an Entity Data Model (EDM) by using the Microsoft ADO.NET Entity Data Model Designer (Entity Designer). The EDM contains a complex type. You need to map a stored procedure to the complex type by using the Entity Designer. What should you do?

A.    Add an association to the stored procedure.
B.    Add a code generation item that has the name of the stored procedure.
C.    Add a function import for the stored procedure.
D.    Add an entity that mirrors the properties of the complex type.

Answer: C

QUESTION 67
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The configuration file contains the following code segment.
<configuration>
<connectionStrings>
<add name=”AdventureWorksLT”
        connectionString=”DataSource=SQL01;InitialCatalog=AdventureWorksLT;IntegratedSecurity=True;”
providerName=”System.Data.SqlClient”/>
</connectionStrings>
</configuration>
You need to retrieve the connection string named AdventureWorksLT from the configuration file. Which line of code should you use?

A.    varconnectionString=ConfigurationManager.
ConnectionStrings[“AdventureWorksLT”].ConnectionString;
B.    varconnectionString=ConfigurationManager.
ConnectionStrings[“AdventureWorksLT”].Name;
C.    varconnectionString=ConfigurationManager.
AppSettings[“AdventureWorksLT”];
D.    varconnectionString=ConfigurationSettings.
AppSettings[“AdventureWorksLT”];

Answer: A

QUESTION 68
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the Entity Framework. You create an Entity Data Model (EDM) named Model. You need to ensure that the Storage Schema Definition Language (SSDL) of the EDM can be modified without rebuilding the application. What should you do?

A.    Set the Metadata Artifact Processing property to Embed in Output Assembly and use the following connection string:
metadata=res://*/Model.csdl|
res://*/Model.ssdl|
res://*/Model.msl;
provider=System.Data.SqlClient;
provider connection string=”& “
B.    Set the Metadata Artifact Processing property to Copy to Output Directory and use the following connection string:
metadata=res://*/Model.csdl|
res://*/Model.ssdl|
res://*/Model.msl;
provider=System.Data.SqlClient;
provider connection string =”& “
C.    Set the Metadata Artifact Processing property to Embed in Output Assembly and use the following connection string:
metadata=.\Model.csdl|
.\Model.ssdl|
.\Model.msl;
provider=System.Data.SqlClient;
provider connection string=”& “
D.    Set the Metadata Artifact Processing property to Copy to Output Directory and use the following connection string:
metadata=.\Model.csdl|
.\Model.ssdl|
.\Model.msl;
provider=System.Data.SqlClient;
provider connection string =”& “

Answer: D
Explanation:
How to: Copy Model and Mapping Files to the Output Directory (Entity Data Model Tools)
http://msdn.microsoft.com/en-us/library/cc716709.aspx

QUESTION 69
You use Microsoft .NET Framework 4.0 to develop an application that connects to a Microsoft SQL Server 2008 database. You need to prevent dirty or phantom reads. Which IsolationLevel should you use?

A.    Serializable
B.    Snapshot
C.    ReadCommited
D.    ReadUncommited

Answer: B

QUESTION 70
You have a ContosoEntities context object named context and a Color object stored in a variable named color. You write the following code:
context.Colors.DeleteObject(color);
context.SaveChanges();
When the code runs, it generates the following exception:
System.Data.UpdateException: An error occurred while updating the entries.
System.Data.SqlClient.SqlException: The DELETE satement conflicted with the REFERENCE constraint “FK_PartColor”.
The conflict occurred in database “Contoso”, table “dbo.Parts”, column ‘ColorId’. You need to resolve the exception without negatively impacting the rest of the application. What should you do?

A.    In the database, remove the foreign key association between the Parts table and the Colors table, and then update the entity data model.
B.    Add a transation around the call to the SaveChanges() method and handle the exception by performing a retry.
C.    Add code before the call to the DeleteObject() method to examine the collection of Part objects a ssociated with the Color object and then assign null to the Color property for each Part object.
D.    Change the End2 OnDelete proprety of the FK_PartColor association from None to Cascade.
E.    Change the End1 OnDelete proprety of the FK_PartColor association from None to Cascade.

Answer: C


http://www.passleader.com/70-516.html

QUESTION 71
The application user interface displays part names or color names in many plases as ‘## Name ##’. You need to provide a method named FormattedName() to format part names and color names throughout the application. What should you do?

A.    Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
public static string FormattedName (this IName entity)
{
return string.Format(“## {0} ##”, entity.Name)
}
B.    Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
public static string FormattedName (this Color entity)
{
return string.Format(“## {0} ##”, entity.Name)
}
C.    Add the following code segment to the ExtensionMethods class in ExtensionMethods.cs:
public static string FormattedName (this Part entity)
{
return string.Format(“## {0} ##”, entity.Name)
}
D.    Add the following code segmend to the Color class in Color.cs:
public string FormattedName()
{
return string.Format(“## {0} ##”, this.Name);
}
E.    Add the following code segmend to the Part class in Part.cs:
public string FormattedName()
{
return string.Format(“## {0} ##”, this.Name);
}

Answer: A

QUESTION 72
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application that uses the Entity Framework. Entity types in the model are generated by the Entity Data Model generator tool (EdmGen.exe). You write the following code. (Line numbers are included for reference only.)
01 MemoryStream stream = new MemoryStream();
02 var query = context.Contacts.Include(“SalesOrderHeaders.SalesOrderDetails”);
03 var contact = query.Where(“it.LastName = @lastname”, new ObjectParameter(“lastname”, lastName)).First();
04 ….
You need to serialize the contact and all of its related objects to the MemoryStream so that the contact can be deserialized back into the model. Which code segment should you insert at line 04?

A.    var formatter = new XmlSerializer(typeof(Contact), new Type[]
{
typeof(SalesOrderHeader),
typeof(SalesOrderDetail)
});
formatter.Serialize(stream, contact);
B.    var formatter = new XmlSerializer(typeof(Contact));
formatter.Serialize(stream, contact);
C.    var formatter = new BinaryFormatter();
formatter.Serialize(stream, contact);
D.    var formatter = new SoapFormatter();
formatter.Serialize(stream, contact);

Answer: A

QUESTION 73
The entity data model must be configured to provide a way you cal the sp_FindObsolete stored procedure. The returned data must implement the Descendants property. In Visual Studio 2010, you open the Add functions Import dialog box from the EDMX diagram and enter the information shown in the following graphic. You need to complete the configuration in the dialog box. What should you do?

A.    Click the Get Column Information button, click Create New Complex Type and then, in the Complex box, enter Parts
B.    In the Returns a Collection Of area, click Scalars and then, in the Scalars list, click string
C.    In the Returns a Collection Of area, click Entities and then, in the Entities list, click Component
D.    In the Returns a Collection Of area, click Scalars and then, in the Scalars list, click Int32

Answer: C

QUESTION 74
You use Microsoft Visual Studio 2010 to create a Microsoft .NET Framework 4.0 application. You create an Entity Data Model for the database tables shown in the following diagram. You need to modify the .edmx file so that a many-to-many association can exist between the Address and Customer entities. Which storage Model section of the .edmx file should you include?

A.    <EntityType Name=”CustomerAddress”>
<Key>
<PropertyRef Name=”CustomerAddressID” />
<PropertyRef Name=”CustomerID” />
<PropertyRef Name=”AddressID” />
</Key>
<Property Name=”CustomerAddressID” Type=”int” Nullable=”false” StoreGeneratedPattern=”Identity” />
<Property Name=”CustomerID” Type=”int” Nullable=”false”/>
<Property Name=”AddressID” Type=”int” Nullable=”false”/>
<Property Name=”AddressType” Type=”nvarchar” Nullable=”false” MaxLength=”50″/>
</EntityType>
B.    <EntityType Name=”CustomerAddress”>
<Key>
<PropertyRef Name=”CustomerID” />
<PropertyRef Name=”AddressID” />
</Key>
<Property Name=”CustomerID” Type=”int” Nullable=”false” />
<Property Name=”AddressID” Type=”int” Nullable=”false” />
<Property Name=”AddressType” Type=”nvarchar” Nullable=”false” MaxLength=”50″ DefaultValue=”Home” />
</EntityType>
C.    <EntityType Name=”CustomerAddress”>
<Key>
<PropertyRef Name=”CustomerAddressID” />
</Key>
<Property Name=”CustomerAddressID” Type=”int” Nullable=”false” StoreGeneratedPattern=”Identity” />
<Property Name=”CustomerID” Type=”int” Nullable=”false”/>
<Property Name=”AddressID” Type=”int” Nullable=”false” />
<Property Name=”AddressType” Type=”nvarchar” Nullable=”false” MaxLength=”50″/>
</EntityType>
D.    <EntityType Name=”CustomerAddress”>
<Key>
<PropertyRef Name=”CustomerID” />
<PropertyRef Name=”AddressID” />
</Key>
<Property Name=”CustomerID” Type=”int” Nullable=”false”/>
<Property Name=”AddressID” Type=”int” Nullable=”false”/>
<Property Name=”AddressType” Type=”nvarchar” Nullable=”false” MaxLength=”50” />
</EntityType>

Answer: D

QUESTION 75
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. You need to ensure that the entities are self-tracking. What should you do in the ADO.NET Entity Framework Designer?

A.    Change the Code Generation Strategy option from Default to None.
B.    Change the Transform Related Text Templates On Save option to False.
C.    Add an ADO.NET Self-Tracking Entity Generator to the model.
D.    Add an ADO.NET EntityObject Generator to the model.

Answer: C
Explanation:
The ADO.NET Self-Tracking Entity Generator text template generates the object-layer code that consists of a custom typed ObjectContext and entity classes that contain self-tracking state logic so that the entities themselves keep track of their state instead of ObjectContext doing so. Probably the best usage of self-tracking entities is when working with N-tier applications.
CHAPTER 6 ADO.NET Entity Framework
Lesson 1: What Is the ADO.NET Entity Framework?
The Self-Tracking Entity Generator (page 405)
ADO.NET Self-Tracking Entity Generator Template
http://msdn.microsoft.com/en-us/library/ff477604.aspx

QUESTION 76
You are developing an ADO.NET 4.0 application that interacts with a Microsoft SQL Server 2008 server through the SQL Server Native Client. You create a trace DLL registry entry and you register all of the trace schemas. You need to trace the application data access layer. Which control GUID file should you use?

A.    ctrl.guid.snac10
B.    ctrl.guid.mdac
C.    ctrl.guid.adonet
D.    ctrl.guid.msdadiag

Answer: A
Explanation:
ctrl.guid.adonet-ADO.NET only
ctrl.guid.msdadiag-MSDADIAG only
ctrl.guid.snac10-SQL Server Native Client Providers only (SQL Server 2008)
ctrl.guid.mdac-Windows Data Access Components (formerly Microsoft Data Access Components) on Windows 7 only
Data Access Tracing in SQL Server 2008
http://msdn.microsoft.com/en-us/library/cc765421.aspx

QUESTION 77
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application. The application connects to several SQL Server databases. You create a function that modifies customer records that are stored in multiple databases. All updates for a given record are performed in a single transaction. You need to ensure that all transactions can be recovered. What should you do?

A.    Call the RecoveryComplete method of the TransactionManager class.
B.    Call the EnlistDurable method of the Transaction class.
C.    Call the Reenlist method of the TransactionManager class.
D.    Call the EnlistVolatile method of the Transaction class.

Answer: B

QUESTION 78
You are developing a WCF data service that will expose an existing Entity Data Model (EDM). You have the following requirements:
– Users must be able to read all entities that are exposed in the EDM.
– Users must be able to update or replace the SalesOrderHeader entities.
– Users must be prevented from inserting or deleting the SalesOrderHeader entities
You need to ensure that the data service meets the requirements. Which code segment should you use in the Initialize method?

A.    config.SetEntitySetAccessRule(“*”, EntitySetRights.AllRead);
config.SetEntitySetAccessRule(“SalesOrderHeader”, EntitySetRights.AllWrite);
B.    config.SetEntitySetAccessRule(“*”, EntitySetRights.AllRead);
config.SetEntitySetAccessRule(“SalesOrderHeader”, EntitySetRights.WriteMerge | EntitySetRights.WriteReplace);
C.    config.SetEntitySetAccessRule(“*”, EntitySetRights.AllRead);
config.SetEntitySetAccessRule(“SalesOrderHeader”, EntitySetRights.WriteAppend | EntitySetRights.WriteDelete);
D.    config.SetEntitySetAccessRule(“*”, EntitySetRights.AllRead);
config.SetEntitySetAccessRule(“SalesOrderHeader”, EntitySetRights.All);

Answer: B
Explanation:
http://msdn.microsoft.com/en-us/library/system.data.services.entitysetrights.aspx
http://msdn.microsoft.com/en-us/library/ee358710.aspx

QUESTION 79
You use Microsoft .NET Framework 4.0 to develop an application that uses LINQ to SQL. The LINQ to SQL model contains the Product entity. A stored procedure named GetActiveProducts performs a query that returns the set of active products from the database. You need to invoke the stored procedure to return the active products, and you must ensure that the LINQ to SQL context can track changes to these entities. What should you do?

A.    Select the Product entity, view the entity’s property window, and change the Name for the entity to GetActiveProducts.
B.    Add a property named GetActiveProducts to the Product entity.
C.    Navigate to the GetActiveProducts stored procedure in Server Explorer, and drag the procedure onto the Product entity in the LINQ to SQL model designer surface.
D.    Select the Product entity, view the entity’s property window, and change the Source for the entity to GetActiveProducts.

Answer: C
Explanation:
http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx

QUESTION 80
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to develop an application. You use the ADO.NET Entity Framework Designer to model entities. You retrieve an entity from an object context. A different application updates the database. You need to update the entity instance to reflect updated values in the database. Which line of code should you use?

A.    context.Refresh(RefreshMode.StoreWins, entity);
B.    context.LoadProperty(entity, “Client”, MergeOption.OverwriteChanges);
C.    context.AcceptAllChanges();
D.    context.LoadProperty(entity, “Server”, MergeOption.OverwriteChanges);

Answer: A
Explanation:
LoadProperty(Object, String) Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option. AcceptAllChanges Accepts all changes made to objects in the object context. Refresh(RefreshMode, Object) Updates an object in the object context with data from the data source.
ObjectContext.Refresh Method (RefreshMode, Object)
http://msdn.microsoft.com/en-us/library/bb896255.aspx


http://www.passleader.com/70-516.html

[New Exam Dumps] PassLeader Real 145q 300-070 Exam VCE Dumps Help You Passing Exam Easily

$
0
0

New Updated 300-070 Exam Questions from PassLeader 300-070 PDF dumps! Welcome to download the newest PassLeader 300-070 VCE dumps: http://www.passleader.com/300-070.html (145 Q&As)

Keywords: 300-070 exam dumps, 300-070 exam questions, 300-070 VCE dumps, 300-070 PDF dumps, 300-070 practice tests, 300-070 study guide, 300-070 braindumps, Implementing Cisco IP Telephony & Video, Part 1 v1.0 Exam

NEW QUESTION 72
What are the two benefits of using SIP dial rules on an IP phone? (Choose two)

A.    The phone can initiate dialing without sending any signaling messages to Cisco Unified CommunicationsManager.
B.    The phone can detect invalid numbers and play a reorder tone without sending any signaling messages toCisco Unified Communications Manager.
C.    If dialed digits match an entry of a SIP dial rule, the dialed string is sent in a single SIP 200 OK message toCisco Unified Communications Manager.
D.    If Cisco Unified Communications Manager requires more digits, KPML can be used to send the remainingdigits from the SIP phone to Cisco Unified Communications Manager one-by-one.
E.    If Cisco Unified Communications Manager requires more digits, another en bloc message is used to sendthe remaining digits from the SIP.

Answer: BD

NEW QUESTION 73
Which three Cisco Unified CallManager configuration steps are required to support third party SIP phones? (Choose three.)

A.    Configure the device in Cisco Unified CallManager.
B.    Change the proxy address in the SIP phone to an IP address or the Fully Qualified Domain Name (FQDN)of Cisco Unified CallManager.
C.    Associate the device with the end user.
D.    Configure the phone with the TLS username and password.
E.    Configure the end user in Cisco Unified CallManager.
F.    Add the MAC address of the Cisco Unified CallManager server to the SIP phone configuration page.

Answer: ACE

NEW QUESTION 74
Which four software based media resources require that the Cisco IP voice media stream Application be activated?

A.    MOH.
B.    SIP.
C.    H.323 Gateways.
D.    Annunciator.
E.    Gatekeeper.
F.    MTP.
G.    Audio conferencing.

Answer: ADFG

NEW QUESTION 75
Which protocol is recommended to be used between Cisco Unified Communications Manager and the voice gateway to simplify the dial plan?

A.    SIP.
B.    SCCP.
C.    H323.
D.    RSVP.
E.    MGCP.

Answer: E

NEW QUESTION 76
Which protocol can Cisco Unified Communications Manager not use to monitor the status of the gateway?

A.    H.323
B.    SIP
C.    MGCP
D.    SCCP

Answer: A

NEW QUESTION 77
In a centralized call-processing solution, there are five sites connected through an IP WAN. To optimize the utilization of the IP WAN, CAC needs to be implemented. How should CAC be implemented?

A.    Use a gatekeeper to control allocated bandwidth properly.
B.    Use locations CAC with a single location.
C.    Use a gatekeeper and Cisco Unified Border Element to provide CAC to sites that use a combination of SIPand MGCP gateways.
D.    Use a gatekeeper to only control those locations that use H.323 gateways and a Cisco Unified BorderElement to control those sites that use MGCP or SIP gateways.
E.    Use locations CAC with five locations in addition to Hub none.

Answer: E

NEW QUESTION 78
Which two features are advantages of deploying a cluster over WAN? (Choose two.)

A.    Shared line appearances
B.    CentralizedDSP resources
C.    Extension mobility within the cluster
D.    Scalability up to 20 sites, if thereis sufficient IP WAN bandwidth
E.    Failover to co-resident Cisco UnifiedCall Manager Express platforms

Answer: AC

NEW QUESTION 79
The Ajax Corporation is designing an IP telephony network using Cisco MCS 7845 Series servers, each one capable of supporting 7500 devices. The design must meet these requirements:
– Be cost-effective
– Support up to 7500 phones
– Provide a minimal level of redundancy
Which configuration will meet Ajax Corporation needs?

A.    Two Cisco Unified Communications Manager servers:
1 publisher and TFTP server combined.
1 primary subscriber.
B.    Three Cisco Unified Communications Manager servers:
1 publisher and TFTP server combined.
1 primary subscriber.
1 backup subscriber.
C.    Four Cisco Unified Communications Manager servers:
1 publisher.
1 TFTP server.
1 primary subscriber.
1 backup subscriber.
D.    Five Cisco Unified Communications Manager servers:
1 publisher.
1 TFTP server.
1 primary subscriber.
2 backup subscribers.

Answer: B

NEW QUESTION 80
How are Cisco Unified CallManager location parameters used?

A.    Assign directory numbers to devices as they connect to the IP telephony network.
B.    Specify the bandwidth used for audio and video calls.
C.    Implement call admission control in a centralized call processing deployment.
D.    Provide alternate call routing when the primary call path is unavailable.

Answer: C

NEW QUESTION 81
Which statement regarding Cisco IP voice media streaming application is correct?

A.    It should be activated on the gateway in cluster that supports the TFTP service.
B.    It should be activated on the gatekeeper in cluster that supports the TFTP service.
C.    It should be activated on the node in cluster that does not support the TFTP service.
D.    It should be activated on the node in cluster that supports the TFTP service.

Answer: D

NEW QUESTION 82
Which option describes how you add software conference bridges to Cisco Unified Communications Manager?

A.    By adding a Cisco Unified CM server to the cluster.
B.    By adding a software conference bridge using Conference Bridge Configuration.
C.    By installing DSP to a Cisco Unified CM server.
D.    By reassigning other media resources to conference resources.

Answer: A

NEW QUESTION 83
Which of these media resources can be configured in Cisco Unified Communication manager? (Choose Three)

A.    MOH Server
B.    Voice Termination Point DSP
C.    Transcoder
D.    Auto Attendant
E.    Conference Bridge

Answer: ACE

NEW QUESTION 84
What is the relationship between a Region and a Location?

A.    The Region codec parameter is used between a Region and its configured Locations.
B.    The Region setting for a Location sets the number of audio and video calls that Location can support.
C.    The codec parameter configured in the Region is only used between Regions and Location bandwidth isonly used between Locations.
D.    The Region codec parameter is combined with Location bandwidth when communicating with otherRegions.

Answer: C

NEW QUESTION 85
……


Download the newest PassLeader 300-070 dumps from passleader.com now! 100% Pass Guarantee!

300-070 PDF dumps & 300-070 VCE dumps: http://www.passleader.com/300-070.html (145 Q&As)


[New Exam Dumps] Testing PassLeader 300-085 Exam Questions and Answers To 100% Pass 300-085 Exam

$
0
0

New Updated 300-085 Exam Questions from PassLeader 300-085 PDF dumps! Welcome to download the newest PassLeader 300-085 VCE dumps: http://www.passleader.com/300-085.html (110 Q&As)

Keywords: 300-085 exam dumps, 300-085 exam questions, 300-085 VCE dumps, 300-085 PDF dumps, 300-085 practice tests, 300-085 study guide, 300-085 braindumps, Implementing Cisco Collaboration Application v1.0 Exam

NEW QUESTION 61
Which CCC action applies only to the Cisco TelePresence MPS Series?

A.    block fast update requests
B.    Status Duo Video
C.    move back
D.    release floor

Answer: A

NEW QUESTION 62
Which protocol is prioritized by Cisco TMS for conferencing?

A.    SIP
B.    MGCP
C.    H.323
D.    SCCP

Answer: C

NEW QUESTION 63
How does Cisco TMS set up a call with an endpoint that is registered with Cisco Unified Communications Manager and that is connected to Cisco VCS?

A.    Cisco TMS uses an IP dialing plan.
B.    Cisco TMS uses a SIP trunk.
C.    Cisco TMS removes the top-level domain from calls that go through Cisco Unified Communications Manager.
D.    Cisco TMS drops the call, because it can verify that the trunk between Cisco Unified Communications Manager and Cisco VCS is down.

Answer: B

NEW QUESTION 64
On Cisco TelePresence Management Suite, which two call control devices are supported for call control and setup? (Choose two.)

A.    Cisco Unified Communications Manager Express
B.    Cisco TelePresence Video Communication Server
C.    Cisco Unified Border Element
D.    Cisco Unified Communications Manager
E.    any SIP-capable call control system

Answer: BD

NEW QUESTION 65
Which three are valid system connectivity statuses for systems that are automatically added to Cisco TelePresence Management Suite? (Choose three.)

A.    Inaccessible
B.    Failed
C.    Connected
D.    Reachable on Public Internet
E.    Behind Firewall
F.    Online
G.    Remote Site

Answer: ADE

NEW QUESTION 66
To have a Provisioning menu section available on Cisco TelePresence Management Suite, what must you do?

A.    You must configure an active ISDN zone.
B.    You must install Cisco TelePresence Management Suite Provisioning Extension and activate it on the system.
C.    You must license Cisco TelePresence Management Suite Analytics Extension.
D.    You must set up Cisco TelePresence deployment to support Cisco CMR Hybrid.

Answer: B

NEW QUESTION 67
Which two actions must you take to enable provisioning on Cisco TMS and Cisco VCS? (Choose two.)

A.    Apply a Device Provisioning option key on Cisco VCS.
B.    Enable provisioning on Cisco VCS under Applications > Provisioning.
C.    Configure Users, FindMe, Phonebooks, and Devices individually, as these all have different settings.
D.    Configure a separate server to run provisioning extension services.
E.    Ensure that a service account is able to connect.
F.    Set the polling intervals on Users, FindMe, Phonebooks, and Devices to the same value, in order for the synchronization to work.

Answer: AE

NEW QUESTION 68
What must you do to activate the provisioning feature on a Cisco VCS endpoint?

A.    Install the Device Provisioning option key.
B.    Set a SIP trunk between Cisco VCS and Cisco Unified Communications Manager.
C.    Add the Cisco VCS on the Cisco TMS, and enable Cisco Extension Mobility.
D.    Install Cisco VCS Starter Pack Express.

Answer: A

NEW QUESTION 69
Refer to the exhibit. Which statement about the jabber-config.xml partial output is true?
691_thumb[5]

A.    10.255.10.10 is the LDAP server address.
B.    The client connects to the directory server by using SSH.
C.    10.255.10.10 is the Cisco Unified Communications Manager IM and Presence Service address.
D.    The client connects to the directory server by using HTTPS.

Answer: D

NEW QUESTION 70
The UDS for contact resolution is enabled in the service profile configuration of the Cisco Unified Communications Manager. Which action can you execute with your Jabber Desktop?

A.    modify users
B.    search users
C.    change users
D.    delete users

Answer: B

NEW QUESTION 71
Which profile must you add to an end user record, if the end user wants to access voicemail and wants to control a deskphone via CTI with Cisco Jabber?

A.    remote destination profile
B.    device profile
C.    SIP profile
D.    service profile
E.    phone service

Answer: D

NEW QUESTION 72
……


Download the newest PassLeader 300-085 dumps from passleader.com now! 100% Pass Guarantee!

300-085 PDF dumps & 300-085 VCE dumps: http://www.passleader.com/300-085.html (110 Q&As)

[New Exam Dumps] Latest PassLeader 141q 300-080 Exam Dumps Collection

$
0
0

New Updated 300-080 Exam Questions from PassLeader 300-080 PDF dumps! Welcome to download the newest PassLeader 300-080 VCE dumps: http://www.passleader.com/300-080.html (141 Q&As)

Keywords: 300-080 exam dumps, 300-080 exam questions, 300-080 VCE dumps, 300-080 PDF dumps, 300-080 practice tests, 300-080 study guide, 300-080 braindumps, Troubleshooting Cisco IP Telephony & Video v1.0 Exam

NEW QUESTION 76
Phone A is able to dial the directory number of Phone B and complete a call. However, when Phone B dials the directory number of Phone A, Phone B receives a fast-busy tone. What is causing this issue?

A.    Phone A and Phone B are in different partitions.
B.    Phone B does not have Phone A in its partition.
C.    Phone B is not in the CSS of Phone A.
D.    Phone B does not have the CSS of Phone A in its partition.
E.    Phone B is not registered.
F.    Phone B has the incorrect CSS to dial Phone A.

Answer: F

NEW QUESTION 77
An inbound call from the PSTN is not reaching the directory number that it is calling. When the PSTN phone calls the correct DID, only a dial tone is heard. Which command resolves this issue?

A.    (config-dial-peer)#direct-inward-dial
B.    (config-controller)# no provide-outside-dialtone
C.    (config-if)#no dial-tone
D.    (config-dial-peer)# no dial-tone
E.    (config-if)#direct-inward-dial
F.    (config) allow inbound dial-peer 1

Answer: A

NEW QUESTION 78
When a caller dials 9 plus an external seven-digit number, the caller hears a fast-busy tone after a period of silence. What is causing the silence?

A.    There is no dial route for 9XXXXXXX on Cisco Unified Communications Manager.
B.    The gateway is not dropping the leading 9, and the PSTN fails.
C.    The T302 timer is waiting to expire.
D.    The caller does not have the PSTN partition in the CSS.
E.    The caller dialed the wrong number.
F.    To dial successfully, the caller must enter a Forced Authorization Code.

Answer: C

NEW QUESTION 79
In a single-site deployment model, the internal endpoints are unable to dial from one to the other. What are two possible causes? (Choose two.)

A.    The PSTN gateway is not configured.
B.    The called endpoint does not have the SIP trunk enabled.
C.    The called endpoint is not registered.
D.    The calling endpoint is not in the CSS of the called endpoint.
E.    The called endpoint is not in the partition of the calling endpoint.
F.    The calling endpoint is not configured for the correct CoS.

Answer: CF

NEW QUESTION 80
What is the default interval for SAF hello packets?

A.    15 seconds
B.    15 seconds on links with speeds that are slower than T1 speeds
C.    40 seconds
D.    40 seconds onlinks with speeds that are slower than T1 speeds
E.    60 seconds
F.    60 seconds onlinks with speeds that are slower than T1 speeds

Answer: F

NEW QUESTION 81
Which configuration can be dynamically set using the Cisco Unified Communications Manager Device Mobility feature?

A.    phone model and protocol
B.    SRST reference and directory number
C.    CSS and local gateway
D.    partition and CSS
E.    media resources and permanent bridges

Answer: C

NEW QUESTION 82
Which configuration is required on Cisco TelePresence Server, in order to support 1080p resolution?

A.    Screen licenses must be configured.
B.    Cisco TelePresence Server must be in remotely managed mode.
C.    Cisco TelePresence Server must be in HD mode.
D.    Cisco TelePresence Server must be configured with Cisco TelePresence Conductor.
E.    Cisco TelePresence Server must be in Full HD mode.

Answer: E

NEW QUESTION 83
A user is dialing an external PSTN number with a prefix of 01 from a Cisco TelePresence SX10 Quick Set in a Cisco VCS environment. In the past, the Cisco VCS and the ISDN gateway were correctly configured with a prefix of 01, but the calls are now failing. What are three possible causes? (Choose three.)

A.    The Cisco VCS Control is down.
B.    The interworking setting is turned off.
C.    The audio feature in the Cisco TelePresenceSX10 is turned off.
D.    The SIP trunk is not configured on the gateway.
E.    01 is not a valid prefix.
F.    ISDN is not enabled on the Cisco TelePresenceSX10.
G.    The Cisco TelePresenceSX10 is not registered to the Cisco VCS Control.
H.    The Cisco TelePresenceSX10 is not registered to the Cisco Express C.

Answer: ABG

NEW QUESTION 84
When the command utils dbreplication status is executed on the Cisco Unified Communications Manager CLI, which step should be taken next to check the database replication status?

A.    View the activelog file.
B.    Run the same command on all nodes of the cluster.
C.    Restart the Cisco CallManager service.
D.    The command utils dbreplication runtimestate must be run on the publisher.
E.    The command utils dbreplication runtimestate must be run on the subscriber.

Answer: A

NEW QUESTION 85
Which tool can you use to see SAF advertisements in Cisco Unified Communications Manager?

A.    Cisco Unified Real-Time Monitoring Tool
B.    show eigrp neighbors command
C.    debug eigrp commands
D.    Terminal Monitor

Answer: A

NEW QUESTION 86
URI dialing is enabled between two clusters with the default options. The engineer that set up the URI dialing verified that all was working properly. However, a user from one of the clusters cannot dial using URI to a user in the same cluster. What do you do to resolve this issue?

A.    Verify the password that is used by the authentication under Intercluster Lookup Service configuration.
B.    Find out if the URI address of the called user has a capital letter in the URI string.
C.    Verify that Intercluster Lookup Service is set up correctly.
D.    Verify USN Data Synchronization Status.

Answer: B

NEW QUESTION 87
……


Download the newest PassLeader 300-080 dumps from passleader.com now! 100% Pass Guarantee!

300-080 PDF dumps & 300-080 VCE dumps: http://www.passleader.com/300-080.html (141 Q&As)

[New Exam Dumps] 406q 350-080 VCE and PDF Exam Dumps — Must Download For 100% Passing Exam

$
0
0

New Updated 350-080 Exam Questions from PassLeader 350-080 PDF dumps! Welcome to download the newest PassLeader 350-080 VCE dumps: http://www.passleader.com/350-080.html (406 Q&As)

Keywords: 350-080 exam dumps, 350-080 exam questions, 350-080 VCE dumps, 350-080 PDF dumps, 350-080 practice tests, 350-080 study guide, 350-080 braindumps, CCIE Data Center Written Exam

NEW QUESTION 395
Refer to the components below:
– Cisco UCS 6100 Fabric Interconnect
– Cisco Nexus 1000V
– Cisco UCS 5100 Blade Chassis
Which data center design layer contains these components?

A.    the Virtualization layer
B.    the Management layer
C.    the Compute layer
D.    the Services layer

Answer: C

NEW QUESTION 396
Which two options describe virtualized multi-tenancy? (Choose two.)

A.    dedicated infrastructure for each tenant
B.    shares a common infrastructure between tenants
C.    agreement between tenants with rules about sharing DC resources
D.    tenants using virtualization technologies to separate from each other
E.    data centers using virtualization technologies to separate tenants

Answer: BE

NEW QUESTION 397
Which three statements best describe the Cisco Unified Fabric solution for the data center? (Choose three.)

A.    Cisco Nexus 5000 Series Switches provide the capability to consolidate LAN and SAN traffic on a unified fabric over Ethernet.
B.    The unified fabric is delivered throug h technologies such as FCoE and DCB.
C.    FCoE allows transmission of Fibre Channel traffic over Ethernet by encapsulating native Fibre Channel frames into GRE and transporting them across the Ethernet network.
D.    FCoE allows consolidating Fibre Channel traffic from multiple VSANs into the same Ethernet VLAN to be transported across the fabric. PFC ensures lossless transport of the FC traffic over Ethernet.
E.    PFC allows user priorities to be defined on a single physical link, each of which can have its own logical lane that can be paused independently of the others.

Answer: ABE

NEW QUESTION 398
Cisco Nexus 5000 Series Switches are best positioned at which layer?

A.    access layer, as an end-of -row switch for FCIP and iSCSI aggregation
B.    distribution layer, with multiples of 10 Gb/s ports
C.    access layer, as a top-of – rack switch for server I/O consolidation with FCoE
D.    aggregation layer, supporting virtual security and application services

Answer: C

NEW QUESTION 399
Which component of the Cisco Nexus 7010 architecture provides out-of-band management, an always-on microprocessor for disaster recovery, and remote restart capabilities?

A.    central arbiter
B.    Connectivity Management Processor
C.    supervisor engine
D.    dedicated s ervice modules

Answer: B

NEW QUESTION 400
Which two Cisco devices form the virtual access layer in the Cisco Data Center Architecture? (Choose two.)

A.    Cisco Nexus 7000
B.    Cisco Nexus 5000
C.    Cisco Nexus 1010
D.    Cisco Nexus 2000
E.    Cisco Nexus 1000V

Answer: CE

NEW QUESTION 401
Which three components does a data center network layer have? (Choose three.)

A.    Cisco GSR
B.    Cisco CRS – 1
C.    Cisco Nexus 7000
D.    Cisco Nexus 1000V
E.    Cisco Nexus 2000
F.    Cisco ASR 9000
G.    Cisco Nexus 5000

Answer: CEG

NEW QUESTION 402
……


Download the newest PassLeader 350-080 dumps from passleader.com now! 100% Pass Guarantee!

350-080 PDF dumps & 350-080 VCE dumps: http://www.passleader.com/350-080.html (406 Q&As)

[New Exam Dumps] First Try Free PassLeader 1Y0-401 Exam Dumps and First Pass 1Y0-401 Exam

$
0
0

New Updated 1Y0-401 Exam Questions from PassLeader 1Y0-401 PDF dumps! Welcome to download the newest PassLeader 1Y0-401 VCE dumps: http://www.passleader.com/1y0-401.html (438 Q&As)

Keywords: 1Y0-401 exam dumps, 1Y0-401 exam questions, 1Y0-401 VCE dumps, 1Y0-401 PDF dumps, 1Y0-401 practice tests, 1Y0-401 study guide, 1Y0-401 braindumps, Designing Citrix XenDesktop 7.6 Solutions Exam

Case Study Questions
Executive Summary
CGE is a global, diversified, upstream (exploration and production) oil and gas company headquartered in North America. CGE’s three main operating areas are North America, Europe, and Southeast Asia. CGE also has a portfolio of international exploration opportunities.
CGE began in North America as a small, upstream oil and gas company. Through acquisitions, CGE grew quickly and acquired companies globally. This led to a decentralized IT model, both from systems and personnel perspectives.
CGE currently utilizes several Citrix technologies to provide application virtualization to a global end-user base spread across several continents. Its current IT model for application virtualization is based on regional locations; each region hosts its own Citrix environment to support its local end-user base. CGE is moving toward a global IT model in which the entire application and desktop virtualization environment will be hosted in three data centers, each with a highly available NetScaler pair. CGE would like to provide dedicated desktops to some end-user groups to alleviate past issues with applications and performance. In addition, an Internet upgrade project is underway to eliminate slow connections at all sites. This will improve latency and bandwidth issues throughout the environments.
CGE engaged Citrix Consulting to determine whether best practices are being followed in its existing Citrix environments; to provide a design document for a new, consolidated Citrix environment; and to point out risks that should be resolved before moving to this new environment. This deliverable represents the output of the requirements gathering phase and will be used as an input during the architectural design phase of this engagement.
Through interactive meetings, Citrix Consulting obtained information regarding CGE’s existing Citrix XenApp environments and strategic goals. By reviewing this information, CGE can understand and methodically address those areas that represent the most profound risks, improve various facets of its current environments, and prepare for the future design phase of a consolidated environment.

Overview
CGE has locations spread across three primary regions—North America, Europe, and Southeast Asia—with its primary headquarters located in Houston. Sub regions exist within each region, each with its own Citrix infrastructure. Once power and cooling upgrades are complee, Houston will be the primary datacenter and London will be the secondary datacenter. The following diagram details the locations and network connection types.

Business Layer Overview
Since CGE expanded quickly through acquisitions, corporate IT left infrastructure management up to the acquired companies. As a result, some regions have well-run Citrix environments, while others experience critical outages that simultaneously affect hundreds of end users.
CGE’s CIO, who has been with CGE for slightly less than a year, was hired to be the central point for IT across all regions. The CIO has engaged with the various business units to understand their processes and received various complaints about the stability of the existing Citrix infrastructures.
The CIO feels that the majority of Citrix infrastructure issues are due to a lack of centralized control and common platforms. Some regions have older versions of XenApp, while some are more current. As CGE moves forward, the CIO plans to use a single vendor for the entire solution, and wants to ensure that the new infrastructure is virtualized and fault tolerant.
End-User Layer Overview
CGE has 10,350 employees, approximately 4,700 of which access the Citrix environments daily. Peak logon times are Monday through Friday, from 8:00 a.m. – 10:00 a.m., based on local, regional time zones. Technicians and engineers are shift workers who rotate to accommodate a 24 hours a day, seven days a week schedule.
End user distribution is as follows:

The majority of end users connect using CGE-owned HP laptop and desktop devices. Over 90 percent of these devices are Windows 7-based, as CGE is in the process of completing a Windows XP to Windows 7 migration. CGE has standardized all these devices on Citrix Online Plug-in for Windows12.1, and is in the process of testing Receiver for Windows 4.2. In the past, some end users have complained about slowness when typing, which may indicate issues with latency. CGE also allows end users to connect using non-corporate-owned devices. Many end users connect from personal computers and mobile devices such as Apple iPads and iPhones. End users are instructed to download Citrix Receiver from either the Citrix website or the Android or Apple app stores.
End users can be grouped into six separate categories:
• Executives/Management – Regional upper- and mid-level management staff.
• Back Office – End users that provide functions such as accounting, administration, human resources, and finance.
• Research – End users focus mainly on discovering new energy fields and sources.
• Engineers – End users who work with technicians in a senior lead role for both technical and management functions. There is approximately one engineer for every five technicians.
• Technicians – Field workers who service the oil and gas equipment.
• Sales – Primary customer-facing group.
End-user groups and numbers are as follows:

The engineers, technicians, and research groups access Citrix applications primarily in an office-type environment, but may need to access these applications while in the gas and oil fields. In these scenarios, end users connect to Citrix using local Internet connections, ranging from a wireless access point to a tethered mobile device. To prevent printer driver issues and sprawl, CGE tries to limit end users to their default printer when accessing Citrix. The IT department at CGE’s headquarters has mandated that only the Citrix Universal Print Driver be utilized. As each region manages its own Citrix infrastructure, this has been difficult to enforce. Each end user’s home directory is mapped when accessing a Citrix session; the drive-mapping letter varies based on the end user’s region. End-user data is stored on different network device types and shares ranging from a Windows CIFS share to an NAS appliance. Corporate IT is unsure if end-user data is being backed up in all regions. CGE hopes to implement formal, corporate-wide standards in the new Citrix environment.

QUESTION 1
Which component should a Citrix Architect recommend to centrally audit any failed logon attempts to NetScaler Gateway? A Citrix Architect is asked to design a new external access architecture for CGE.

A.    Citrix Studio
B.    Citrix Director
C.    Citrix Command Center
D.    Citrix NetScaler AppFlow

Answer: C

QUESTION 2
A Citrix Architect reviewed CGE’s antivirus policy and found that it does NOT comply with the posted Citrix antivirus recommendations. What should the architect recommend be added to CGE’s antivirus policy?

A.    Enable scanning of network drives.
B.    Disable real-time scanning on Citrix XenApp servers.
C.    Scan all excluded files during the scheduled periodic scan.
D.    Exclude the user profile storage location from antivirus scanning.

Answer: C

QUESTION 3
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. Which type of encryption should a Citrix Architect recommend?

A.    SecureICA
B.    IPsec
C.    SSL
D.    L2TP

Answer: C

QUESTION 4
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. How should the architect recommend that SecureICA be implemented?

A.    By using NetScaler
B.    By implementing secure Delivery Groups
C.    By implementing an Active Directory Group Policy to configure SecureICA
D.    By installing an SSL certificate in the master image

Answer: B

QUESTION 5
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. How should the architect recommend that IPsec be implemented?

A.    By using NetScaler
B.    By implementing secure Delivery Groups
C.    By implementing an Active Directory Group Policy
D.    By configuring a local IPsec policy in the master image

Answer: C

QUESTION 6
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. How should the architect recommend that SSL be implemented?

A.    By installing certificates on Citrix infrastructure components
B.    By configuring an Active Directory Group Policy to distribute SSL certificates
C.    By installing a certificate authority server in the DMZ
D.    By installing an SSL certificate in the master image

Answer: B

QUESTION 7
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. How should the architect recommend that L2TP be implemented?

A.    By using NetScaler
B.    By implementing secure Delivery Groups
C.    By configuring an Active Directory Group Policy to configure L2TP
D.    By installing a Windows Server OS with Routing and Remote Access Service Answer: D

Answer: Visit http://www.passleader.com/1y0-401.html To Get The Newest 1Y0-401 Dumps In PDF And VCE.

QUESTION 8
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. Why does using SecureICA meet CGE’s compliance requirements?

A.    It encrypts internal ICA traffic.
B.    It encrypts ICA traffic from remote end users.
C.    It enables the SSL Relay service.
D.    It complies with industry-standard SSL encryption requirements.

Answer: D

QUESTION 9
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. Why does using IPsec meet CGE’s compliance requirements?

A.    It encrypts internal network traffic.
B.    It encrypts ICA traffic from remote end users.
C.    It enables the SSL Relay service.
D.    It complies with industry-standard SSL encryption requirements.

Answer: B

QUESTION 10
Scenario:
CGE’s security officer states that, for compliance reasons, all network traffic between Delivery Controllers, StoreFront servers, and NetScalers must be encrypted. Why does using SSL meet CGE’s compliance requirements?

A.    It eliminates the need to distribute an internal root certificate.
B.    It encrypts end-to-end traffic from remote end users.
C.    It enables the SSL Relay service.
D.    It encrypts network traffic between XenDesktop, StoreFront, and NetScaler.

Answer: D

QUESTION 11
Scenario:
A Citrix Architect is asked to design a new external access architecture for CGE. The regional datacenters have NetScaler appliances delivering load-balancing services. Security policy mandates that these internal appliances CANNOT connect to the DMZ. Which configuration should the architect recommend for the new external access architecture?

A.    One NetScaler located in all three regional datacenters, configured as a cluster using the same Global Server Load Balancing (GSLB) site, secure.cge.com.
Configure the NetScaler Gateway within StoreFront with the SNIP of each NetScaler device.
B.    A high availability pair of NetScalers located in all three regional datacenters.
Configure a single public DNS server record, including all three NetScaler pairs.
C.    A high availability pair of NetScalers located in all three regional datacenters, each configured to use the same Global Server Load Balancing (GSLB) site.
D.    One NetScaler located in all three regional datacenters.
A single public DNS server record should be configured, including all three NetScaler pairs.

Answer: C

QUESTION 12
……


Download the newest PassLeader 1Y0-401 dumps from passleader.com now! 100% Pass Guarantee!

1Y0-401 PDF dumps & 1Y0-401 VCE dumps: http://www.passleader.com/1y0-401.html (438 Q&As)

[New Exam Dumps] 100% Valid 642-999 Exam Questions and Answers Everyone Want To Download

$
0
0

New Updated 642-999 Exam Questions from PassLeader 642-999 PDF dumps! Welcome to download the newest PassLeader 642-999 VCE dumps: http://www.passleader.com/642-999.html (135 Q&As)

Keywords: 642-999 exam dumps, 642-999 exam questions, 642-999 VCE dumps, 642-999 PDF dumps, 642-999 practice tests, 642-999 study guide, 642-999 braindumps, Implementing Cisco Data Center Unified Computing (DCUCI) Exam

NEW QUESTION 91
Which option does UEFI secure boot provide?

A.    checksum verification of the EFI shell
B.    certificate verification of the EFI shell
C.    checksum verification of the OS
D.    certificate verification of the OS

Answer: D

NEW QUESTION 92
Which component is unsupported by the UEFI boot device in the Cisco UCS C-series standalone?

A.    FlexFlash card
B.    RAID array
C.    FCoE
D.    iSCSI
E.    USB
F.    PXE
G.    PCI SSD

Answer: G

NEW QUESTION 93
Which statement about Cisco Integrated Management Controller secure mode is true?

A.    After you enable it, you cannot disable it.
B.    After you enable it, you cannot downgrade the Cisco Integrated Management Controller firmware.
C.    It verifies the OS before allowing it to boot.
D.    The server must reboot to apply.

Answer: A

NEW QUESTION 94
When implementing a Cisco UCS C-series standalone server, which of the following Cisco Integrated Management Controller NIC modes allow use of the least number of physical ports while providing maximum levels of redundancy?

A.    dedicated
B.    shared LOM
C.    shared LOM 10G
D.    Cisco VIC

Answer: D

NEW QUESTION 95
Which option describes what Cisco Integrated Management Controller Network Security provides?

A.    protection against DDoS on the Cisco IMC
B.    a whilelist that specifies the servers allowed to access the Cisco IMC
C.    802.1x support, allowing the Cisco IMC to log in to a port security network
D.    user-configured ACLs to block known bad servers from accessing the Cisco IMC

Answer: A

NEW QUESTION 96
Which port type mode must be used on a Cisco UCS Manager for a SPAN port?

A.    eth-traffic-mon
B.    eth-uplink
C.    eth-server
D.    eth-storage

Answer: A

NEW QUESTION 97
Where would you disable or enable Cisco Discovery Protocol?

A.    LAN connectivity policy
B.    service profile
C.    network control policy
D.    LAN uplinks manager

Answer: C

NEW QUESTION 98
Which three statements about default settings for fabric interconnect uplink ports are true? (Choose three.)

A.    When a VLAN is configured, it is trunked on all uplinks.
B.    Specific VLANs are trunked on specific uplinks.
C.    UDLD is enabled.
D.    UDLD is disabled.
E.    Cisco Discovery Protocol is enabled.
F.    Cisco Discovery Protocol is disabled.
G.    They connect to the I/O modules.

Answer: ADE

NEW QUESTION 99
Refer to the exhibit. An admin is configuring VLANs on a Cisco UCS B-Series vNIC. Which two statements about the traffic coming from the operating system with this configuration are true? (Choose two.)
991_thumb[4]

A.    The VLAN must be configured with ID 832 within the operating system.
B.    No VLAN tag should be added in the operating system.
C.    If traffic comes in untagged on this vNIC, it is placed in VLAN 832.
D.    This configuration is not supported when hypervisors are used.
E.    The uplink ports of the fabric interconnect have the native VLAN set to ID 832.

Answer: BC

NEW QUESTION 100
Refer to the exhibit. Which two statements about the fabric interconnect are true? (Choose two.)
1001_thumb[5]

A.    The fabric interconnect forwards all broadcast packets on VLAN 311 out of each interface listed in the Membership.
B.    The fabric interconnect forwards broadcasts on VLAN 311 only when they are received on Po21.
C.    Without any changes to the switch, eth 1/32 could become the designated receiver for VLAN 311.
D.    All multicast traffic from a blade on VLAN 311 goes out of Po21.
E.    IGMP join packets from blades on VLAN 311 goes out Po21.

Answer: BE

NEW QUESTION 101
……


Download the newest PassLeader 642-999 dumps from passleader.com now! 100% Pass Guarantee!

642-999 PDF dumps & 642-999 VCE dumps: http://www.passleader.com/642-999.html (135 Q&As)

Viewing all 1919 articles
Browse latest View live