显示标签为“070-665”的博文。显示所有博文
显示标签为“070-665”的博文。显示所有博文

2013年9月7日星期六

The latest Microsoft certification 070-665 exam practice questions and answers

Everyone has a utopian dream in own heart. Dreams of imaginary make people feel disheartened. In fact, as long as you take the right approach, everything is possible. You can pass the Microsoft 070-665 exam easily. Why? Because you have IT-Tests.com's Microsoft 070-665 exam training materials. IT-Tests.com's Microsoft 070-665 exam training materials are the best training materials for IT certification. It is famous for the most comprehensive and updated by the highest rate. It also can save time and effort. With it, you will pass the exam easily. If you pass the exam, you will have the self-confidence, with the confidence you will succeed.

IT-Tests.com have a strong It expert team to constantly provide you with an effective training resource. They continue to use their rich experience and knowledge to study the real exam questions of the past few years. Finally IT-Tests's targeted practice questions and answers have advent, which will give a great help to a lot of people participating in the IT certification exams. You can free download part of IT-Tests's simulation test questions and answers about Microsoft certification 070-665 exam as a try. Through the proof of many IT professionals who have use IT-Tests's products, IT-Tests.com is very reliable for you. Generally, if you use IT-Tests's targeted review questions, you can 100% pass Microsoft certification 070-665 exam. Please Add IT-Tests.com to your shopping cart now! Maybe the next successful people in the IT industry is you.

No one wants to own insipid life. Do you want to at the negligible postion and share less wages forever? And do you want to wait to be laid off or waiting for the retirement? This life is too boring. Do not you want to make your life more interesting? It does not matter. Today, I tell you a shortcut to success. It is to pass the Microsoft 070-665 exam. With this certification, you can live the life of the high-level white-collar. You can become a power IT professionals, and get the respect from others. IT-Tests.com will provide you with excellent Microsoft 070-665 exam training materials, and allows you to achieve this dream effortlessly. Are you still hesitant? Do not hesitate, Add the IT-Tests.com's Microsoft 070-665 exam training materials to your shopping cart quickly.

Exam Code: 070-665
Exam Name: Microsoft (PRO:Microsoft Lync Server 2010,Administrator)
Free One year updates to match real exam scenarios, 100% pass and refund Warranty.
Total Q&A: 85 Questions and Answers
Last Update: 2013-09-07

If you have decided to participate in the Microsoft 070-665 exam, IT-Tests.com is here. We can help you achieve your goals. We know that you need to pass your Microsoft 070-665 exam, we promise that provide high quality exam materials for you, Which can help you through Microsoft 070-665 exam.

In this competitive IT industry, having some authentication certificate can help you promote job position. Many companies that take a job promotion or increase salary for you will refer to how many gold content your authentication certificates have. Microsoft 070-665 is a high gold content certification exam. Microsoft 070-665 authentication certificate can meet many IT employees' needs. IT-Tests.com can provide you with Microsoft certification 070-665 exam targeted training. You can free download IT-Tests's trial version of raining tools and some exercises and answers about Microsoft certification 070-665 exam as a try.

070-665 (PRO:Microsoft Lync Server 2010,Administrator) Free Demo Download: http://www.it-tests.com/070-665.html

NO.1 You need to recommend a Lync Server 2010 deployment solution that meets the company availability
requirements for the Detroit office. What should you recommend?
A. Deploy a Standard Edition server and a PSTN gateway in the Detroit office. Deploy an Enterprise
Edition server and a PSTN gateway in the Seattle data center. Assign the Standard Edition server as the
primary registrar. Assign the Enterprise Edition server as the backup registrar.
B. Deploy a Standard Edition server and a PSTN gateway in the Seattle data centers. Deploy a
Survivable Branch Server in the Detroit office. Assign the Survivable Branch Server as the primary
registrar. Assign the Standard Edition server as the backup registrar.
C. Deploy an Enterprise Edition server and a PSTN gateway in the Seattle data centers. Deploy a
Standard Edition server in the Detroit office. Assign the Standard Edition server as the primary registrar.
Assign the Enterprise Edition server as the backup registrar.
D. Deploy a Standard Edition server and a PSTN gateway in the Seattle data centers. Deploy a
Survivable Branch Appliance (SBA) in the Detroit office. Assign the SBA as the primary registrar. Assign
the Standard Edition server as the backup registrar.
Answer: A

Microsoft answers real questions   070-665 practice test   070-665 exam

NO.2 You need to recommend a certificate for the external interface of the Edge pool. Which certificate should
you recommend?
A. a certificate that contains one FQDN from the internal CA
B. a certificate that contains a wildcard from the internal CA
C. a certificate that contains multiple FQDNs from a trusted third-party CA
D. a certificate that contains a wildcard from a trusted third-party CA
Answer: C

Microsoft exam prep   070-665   070-665   070-665 practice test   070-665 exam prep

NO.3 You need to recommend changes to the existing environment to support the planned Lync 2010 Phone
Edition devices. What should you include in the recommendation?
A. Modifications to the DHCP options
B. Modifications to the NTP server configuration
C. Windows Server Update Services (WSUS)
D. Kerberos authentication on the Front End Servers
Answer: A

Microsoft   070-665   070-665   070-665 study guide

NO.4 Your network contains an Active Directory forest. The functional level of both the domain and the forest
is Windows Server 2003. The forest contains the following servers:
A server that runs Microsoft Live Communications Server 2005 Service Pack 1 (SP1)
A Front End Server that runs Microsoft Office Communications Server 2007 R2
An Edge Server that runs Office Communications Server 2007 R2
A Mediation Server that runs Office Communications Server 2007 R2
An Office Communications Server 2007 Communicator Web Access (CWA) server
You plan to migrate all users to Lync Server 2010. You need to recommend changes to the network to
ensure that you can deploy Lync Server 2010 to the Active Directory forest. What should you
recommend?
A. Raise the functional level of the domain to Windows Server 2008.
B. Remove the Live Communications Server 2005 server and the CWA server.
C. Remove the CWA server and the Edge Server.
D. Raise the functional level of the forest to Windows Server 2008.
Answer: B

Microsoft answers real questions   070-665 original questions   070-665 practice test

NO.5 You need to recommend an Enterprise Voice solution that meets the company telephony requirements.
What should you include in the recommendation?
A. Create three User Voice Policies. In the User Voice Policies, configure the calling features and the call
types.
B. Create three Site Voice Policies. In the Site Voice Policies, configure the calling features and the call
types.
C. Create three User Voice Policies and one Site Voice Policy. In the User Voice Policies, configure the
calling features. In the Site Voice Policy, configure the call types.
D. Create three User Voice Policies and one Site Voice Policy. In the User Voice Policies, configure the
call types. In the Site Voice Policy, configure the calling features.
Answer: B

Microsoft test questions   070-665 certification training   070-665   070-665 exam simulations   070-665 certification

NO.6 Your network has Microsoft Office Communications Server 2007 R2 installed. You migrate the Office
Communications Server 2007 R2 infrastructure to Lync Server 2010. The network contains 2,000 users
who use Microsoft Lync 2010 and 100 users who use Microsoft Office Communicator 2007 R2. The
corporate security policy states that when users sign in, they must restrict their presence information so
that it is visible to only their contacts. You need to recommend changes to the Lync Server 2010
infrastructure to meet the corporate security policy requirements. What should you include in the
recommendation?
A. a Monitoring Server and a Client Version Policy
B. Privacy Mode and a Client Version Policy
C. a Monitoring Server and a Client Version Configuration
D. Privacy Mode and a Response Group
Answer: B

Microsoft exam prep   070-665   070-665   070-665 questions

NO.7 You need to recommend a backup solution for the configuration store of the Lync Server 2010
deployment. Which database should you include in the recommendation?
A. RTCLocal\rtc
B. RTCLocal\rtcdyn
C. RTC\xds
D. RTC\rtc
Answer: D

Microsoft exam prep   070-665   070-665

NO.8 You are evaluating the implementation of a SIP trunk in the main office to support the planned Lync
Server 2010 deployment. You need to calculate the minimum amount of bandwidth required for PSTN
calls. How much bandwidth is required on the network connection to the SIP trunk?
A. 33.98 Mbps
B. 58.40 Mbps
C. 41.80 Mbps
D. 25.29 Mbps
Answer: B

Microsoft test   070-665 questions   070-665 study guide   070-665

NO.9 You need to recommend an Enterprise Voice solution for the New York office. What should you include
in the recommendation?
A. a Response Group
B. the Attendant Console
C. a dial plan
D. an IP-PBX gateway
Answer: C

Microsoft test questions   070-665   070-665   070-665   070-665   070-665 exam prep

NO.10 Topic 1, A.Datum Corporation
Company Overview
A. Datum Corporation is a market research company that has 6,000 employees.
Physical Location
The company has a main office and two branch offices. The main office is located in Seattle. The branch
offices are located in Detroit and New York. The main office has 5,000 users. The Detroit office has 900
users. The New York office has 100 users.
Remote users frequently work from locations that only allow Internet access over ports 80 and 443. The
remote users frequently work from client computers that are not joined to the domain.
Existing Environment
Network Infrastructure
The network has the following servers:
An enterprise certification authority (CA)
A DHCP server has that the following DHCP options:
o 003 Router
o 006 DNS Servers
o 015 DNS Domain Name
A Network Time Protocol (NTP) server that is configured to use the User Datagram Protocol
(UDP)
A server in the main office that runs Microsoft Office Communications Server 2007
The network has the following configurations:
All client computers run Microsoft Office Communicator 2007.
AH Internet-accessible servers are located in a perimeter network.
Microsoft Forefront Threat Management Gateway (TMG) is used to publish internal Web sites for
customers.
All servers that have Office Communications Server installed run Windows Server 2003 Service
Pack 2 (SP2).
Telephony Infrastructure
Telephony Infrastructure
The telephony infrastructure is configured as shown in the exhibit. (Click the Case Study Exhibits button.)
Requirements
Business Goals
A. Datum has the following business goals:
Minimize software costs.
Minimize hardware costs.
Minimize the amount of administrative effort required to deploy new technology solutions.
Planned Changes
A. Datum plans to migrate to Lync Server 2010 and implement the following changes:
Enable Enterprise Voice for all internal users and remote users.
In the main office, deploy devices that run Microsoft Lync 2010 Phone Edition.
Enable IM, presence, and conferencing with a federated partner company named Contoso, Ltd.
Create a Lync site for each office.
Add the primary data center and the secondary data center to the Seattle Lync site.
Technical Requirements
A. Datum must meet the following technical requirements:
The number of public IP addresses must be minimized.
The main office must support 1,000 concurrent PSTN calls.
Lync services must be available to remote users over TCP port 443.
Remote users must be able to participate in conferences and make Enterprise Voice calls.
Telephony Requirements
The telephony infrastructure must meet the requirements shown in the following table.
Each office will contain users who are assigned the Manager role and the Employees role.
Security Requirements
A. Datum must meet the following security requirements:
Federation must only be allowed with Contoso.
Lync-related traffic must not be routed over VPN connections
Availability Requirements
If a data center fails, all users in the main office must be able to perform the following tasks
Create a conference.
Place calls to the PSTN.
View the presence status of all users in the Seattle office.
If a WAN link fails, users in the Detroit office must be able to perform the following tasks:
Create a conference.
Place calls to the PSTN.
View the presence status of all users in the Detroit office.
Reference Data
The typical bandwidth utilization for various codecs is listed in the following table.
A T1 interface supports 23 concurrent calls
1.You are evaluating the use of standard gateway devices that support eight T1 interfaces each. The
gateways do not support media bypass.
You need to recommend a solution to support PSTN calls from the main office. The solution must meet
the company technical requirements. What should you include in the recommendation?
A. Deploy four gateways and a single Mediation pool that contains two servers.
B. Deploy six gateways and a single Mediation pool that contains six servers.
C. Deploy four gateways and two Mediation pools that each contains a single server.
D. Deploy six gateways and a single Mediation pool that contains two servers.
Answer: D

Microsoft   070-665   070-665   070-665

IT-Tests.com offer the latest 1z0-593 Questions & Answers and high-quality 74-338 PDF Practice Test. Our 00M-620 VCE testing engine and 000-273 study guide can help you pass the real exam. High-quality EX0-101 Real Exam Questions can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.it-tests.com/070-665.html

2013年8月19日星期一

Microsoft certification 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam best training materials

In order to meet the demand of most of the IT employees, IT-Tests's IT experts team use their experience and knowledge to study the past few years Microsoft certification 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam questions. Finally, IT-Tests's latest Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP simulation test, exercise questions and answers have come out. Our Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP simulation test questions have 95% similarity answers with real exam questions and answers, which can help you 100% pass the exam. If you do not pass the exam, IT-Tests.com will full refund to you. You can also free online download the part of IT-Tests's Microsoft certification 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam practice questions and answers as a try. After your understanding of our reliability, I believe you will quickly add IT-Tests's products to your cart. IT-Tests.com will achieve your dream.


On IT-Tests.com website you can free download part of the exam questions and answers about Microsoft certification 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam to quiz our reliability. IT-Tests's products can 100% put you onto a success away, then the pinnacle of IT is a step closer to you.


Now in such society with a galaxy of talents, stabilizing your job position is the best survival method. But stabilizing job position is not so easy. When others are fighting to improve their vocational ability, if you still making no progress and take things as they are, then you will be eliminated. In order to stabilize your job position, you need to constantly improve your professional ability and keep up with the pace of others to let you not fall far behind others.


Do you want to pass the Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam better and faster? Then please select the IT-Tests.com. It can help you achieve your dreams. IT-Tests.com is a website that provide accurate exam materials for people who want to participate in the IT certification. IT-Tests.com can help a lot of IT professionals to enhance their career blueprint. Our strength will make you incredible. You can try a part of the questions and answers about Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam to test our reliability.


Exam Code: 070-169

Exam Name: Microsoft (TS: Windows Small Business Server 2011 Standard, Configuring)

Exam Code: 070-690

Exam Name: Microsoft (TS: Windows HPC Server 2008, Configuring and Managing (English))

Exam Code: 070-506

Exam Name: Microsoft (Microsoft Silverlight 4, Development)

Exam Code: 070-665

Exam Name: Microsoft (PRO:Microsoft Lync Server 2010,Administrator)

Exam Code: 070-178

Exam Name: Microsoft (Microsoft Project 2010, Managing Projects)

Exam Code: 70-516-CSHARP

Exam Name: Microsoft (TS: Accessing Data with Microsoft .NET Framework 4)

If you want to buy Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam information, IT-Tests.com will provide the best service and the best quality products. Our exam questions have been authorized by the manufacturers and third-party. And has a large number of IT industry professionals and technology experts, based on customer demand, according to the the outline developed a range of products to meet customer needs. Microsoft 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam certification with the highest standards of professional and technical information, as the knowledge of experts and scholars to study and research purposes. All of the products we provide have a part of the free trial before you buy to ensure that you fit with this set of data.


Passing 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam is not very simple. 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP exam requires a high degree of professional knowledge of IT, and if you lack this knowledge, IT-Tests.com can provide you with a source of IT knowledge. IT-Tests's expert team will use their wealth of expertise and experience to help you increase your knowledge, and can provide you practice questions and answers 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP certification exam. IT-Tests.com will not only do our best to help you pass the 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP certification exam for only one time, but also help you consolidate your IT expertise. If you select IT-Tests, we can not only guarantee you 100% pass 070-169 070-690 070-506 070-665 070-178 70-516-CSHARP certification exam, but also provide you with a free year of exam practice questions and answers update service. And if you fail to pass the examination carelessly, we can guarantee that we will immediately 100% refund your cost to you.


070-690 (TS: Windows HPC Server 2008, Configuring and Managing (English)) Free Demo Download: http://www.it-tests.com/070-690.html


NO.1 You are a system administrator for your company. Your company has deployed a Windows HPC Server
2008 cluster. The HPC nodes are deployed by using a node template that is configured to deploy
Windows HPC Pack on each node. You need to modify the node template so that HPC PowerShell and
the HPC Cluster Manager are installed on the new nodes. What should you do?
A. Install HPC PowerShell and the HPC Cluster Manager on the HPC head node.Recreate the node
template by using the same settings.
B. Add a Run OS Command task to the node template after the Install HPC Pack task.Configure the Run
OS Command task to install the utilities.
C. Add a Unicast Copy task to the node template before the Install HPC Pack task.Configure the Unicast
Copy task to copy HPC PowerShell and the HPC Cluster Manager.
D. Add a Unicast Copy task to the node template to copy the utilities.Add a Run OS Command task to the
node template to install the utilities.Delete the original Install HPC Pack task.
Answer: D

Microsoft exam dumps   070-690 answers real questions   070-690 pdf   070-690

NO.2 You are deploying a Windows HPC Server 2008 cluster for your company. The cluster head node is
configured with a network topology that has compute nodes isolated on a private network. You want to
add new servers as compute nodes to the cluster. You open the HPC Management Console, start the Add
Node Wizard, and select an option to add compute nodes from an operating system image. You start the
new servers and discover that the wizard is unable to display any of the new servers on the Select New
Nodes page. You need to ensure that the new servers are displayed on the Select New Nodes page of the
wizard. What should you do?
A. Configure the network switches to support the cut-through switching method.
B. Configure Windows Deployment Services on the head node to respond to all preboot execution
environment (PXE) requests.
C. Configure the compute node servers for preboot execution environment (PXE) boot from the NIC that
is connected to the private network.
D. Prestage computer accounts for the new servers in Active Directory Domain Services.
Answer: C

Microsoft test answers   070-690   070-690 exam simulations   070-690

NO.3 You administer a Windows HPC Server 2008 cluster for your company. You plan to configure a new
node template to deploy the evaluation edition of Windows Server 2008 HPC Edition. You need to ensure
that the deployment of nodes that use the template is successful. What should you do?
A. Add a Tag element to the node XML file. Set the value of the attribute of the Tag element to Evaluation.
B. Add a Template element to the node XML file. Set the value of the Name attribute to Evaluation.
C. Add a Template element to the node XML file. Set the value of the Provisioned attribute to False.
D. Add a Template element to the node XML file. Set the value of the ProductKey attribute to a valid
Windows Server HPC Edition product key.
Answer: D

Microsoft test   070-690 certification   070-690   070-690 certification training   070-690 exam

NO.4 You administer a Windows HPC Server 2008 cluster for your company. You plan to add new nodes to
the cluster by using bare metal provisioning capabilities. You need to ensure the new nodes adhere to
your company naming standards. What should you do?
A. Add a naming series to the head node.
B. Modify the NodeConfigurationFile.xsd file.
C. Modify the NodeInfo.xml file to contain an appropriate name for each node.
D. Create a new node template that contains an appropriate name for each node.
Answer: A

Microsoft   070-690 original questions   070-690   070-690 braindump   070-690   070-690 demo

NO.5 You administer a Windows HPC Server 2008 cluster that has 120 compute nodes. The cluster requires
10 additional compute nodes. You manually install Windows Server 2008 Enterprise Edition on 10 new
servers and connect them to the cluster networks. You open HPC Management Console, start the Add
Node Wizard, and select an option to add preconfigured compute nodes. You discover that the wizard is
unable to list any of the new servers. You need to ensure that all the new servers are available for the
wizard. What should you do before you restart the wizard?
A. Install HPC Pack 2008 on the new servers and specify the name of the head node.
B. Create a node template that does not include a step to deploy an operating system image.
C. Configure Windows Deployment Services to respond to all preboot execution environment (PXE)
requests.
D. Move the computer accounts for the new servers in the same organizational unit (OU) that contains the
computer account of the head node.
Answer: A

Microsoft   070-690 exam simulations   070-690   070-690   070-690

NO.6 You administer a Windows HPC Server 2008 cluster. All jobs submitted to the cluster fail. You discover
that the nodes communicate successfully. You need to ensure that the jobs can be submitted successfully.
What should you do first.?
A. Start the HPC Basic Profile Web Service on all nodes.
B. Start the HPC Cluster Manager and enable job Backfilling.
C. Start the HPC Cluster Manager and run the MPI Lightweight throughput test.
D. Start the HPC Cluster Manager and run the job submission diagnostics tool on all nodes.
Answer: D

Microsoft   070-690   070-690 test questions   070-690 exam prep   070-690

NO.7 You administer a Windows HPC Server 2008 cluster. You plan to deploy new nodes to the cluster by
using an existing node template. A folder and its files are stored on the head node. You need to ensure
that the folder and its files are copied to each node by using the Server Message Block (SMB) protocol.
Which task should you add to the node template?
A. Unicast Copy
B. Multicast Copy
C. Mount Share
D. Apply WIM Image
Answer: A

Microsoft exam   070-690 original questions   070-690 certification training

NO.8 You administer a Windows HPC Server 2008 cluster. You have recently deployed 10 new nodes to the
cluster. Users report that only seven of the new nodes function as part of the cluster. You discover that
three new nodes are in the Unknown state. You need to find out the problem that has prevented the three
nodes from joining the cluster. What should you do?
A. Run the Connectivity diagnostics tool and view the results of the DNS Name Resolution test.
B. Run the Connectivity diagnostics tool and view the results of the Internode Connectivity test.
C. Run the System Configuration diagnostics tool and view the results of the Required Software Updates
test.
D. Run the System Configuration diagnostics tool and view the results of the Application Configuration
test.
Answer: C

Microsoft   070-690   070-690 test questions   070-690 exam

NO.9 You administer a Windows HPC Server 2008 cluster that has 150 nodes. Users report that cluster jobs
take longer than normal to complete. You need to calculate the network latency between the nodes. What
should you do?
A. Run a serial ring test across all nodes by using the mpipingpong.exe utility.
B. Run the ping command on all broker nodes by using the clusrun.exe utility.
C. Run the etl2otf command on all nodes by using the mpiexec.exe utility.
D. Run the etl2clog command on all broker nodes by using the mpiexec.exe utility.
Answer: A

Microsoft exam dumps   070-690   070-690 test answers   070-690

NO.10 You are a system administrator for your company. Your company deploys a new Windows HPC Server
2008 cluster. The company requires a record of performance information over time. The record must
include link latency and throughput statistics. You need to periodically execute a command that collects
the required information. Which command should you run?
A. ping.exe
B. nltest.exe
C. mpipingpong.exe
D. Get-HPCMetric.ps1
Answer: C

Microsoft practice test   070-690 exam   070-690 study guide   070-690   070-690 test answers

2013年8月18日星期日

Microsoft certification 070-506 070-665 070-178 70-516-CSHARP exam free exercises updates

Are you IT person? Do you want to succeed? If you want to succeed, please do to buy Pass4Tes's Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials. Our training materials have through the test of practice. it can help you to pass the IT exam. With the IT-Tests.com's Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials, you will have better development in the IT industry. You can enjoy the treatment of high-level white-collar, and you can carve out a new territory in the internation. Are you still worried about your exam? IT-Tests.com's Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials will satisfy your desire. We are through thick and thin with you and to accept this challenge together .


If you are an IT staff, do you want a promotion? Do you want to become a professional IT technical experts? Then please enroll in the Microsoft 070-506 070-665 070-178 70-516-CSHARP exam quickly. You know how important this certification to you. Do not worry about that you can't pass the exam, and do not doubt your ability. Join the Microsoft 070-506 070-665 070-178 70-516-CSHARP exam, then IT-Tests.com help you to solve the all the problem to prepare for the exam. It is a professional IT exam training site. With it, your exam problems will be solved. IT-Tests.com Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials can help you to pass the exam easily. It has helped numerous candidates, and to ensure 100% success. Act quickly, to click the website of IT-Tests.com, come true you IT dream early.


Exam Code: 070-506

Exam Name: Microsoft (Microsoft Silverlight 4, Development)

Exam Code: 070-665

Exam Name: Microsoft (PRO:Microsoft Lync Server 2010,Administrator)

Exam Code: 070-178

Exam Name: Microsoft (Microsoft Project 2010, Managing Projects)

Exam Code: 70-516-CSHARP

Exam Name: Microsoft (TS: Accessing Data with Microsoft .NET Framework 4)

IT-Tests.com IT Certification has years of training experience. IT-Tests.com Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials is a reliable product. IT elite team continue to provide our candidates with the latest version of the 070-506 070-665 070-178 70-516-CSHARP exam training materials. Our staff made ​​great efforts to ensure that you always get good grades in examinations. To be sure, IT-Tests.com Microsoft 070-506 070-665 070-178 70-516-CSHARP exam materials can provide you with the most practical IT certification material.


IT-Tests.com is a professional IT certification sites, the certification success rate is 100%. This number is proved by candidates through practice. Because IT-Tests.com has a strong IT team of experts, they are committed to study exam questions and answers, and serve the vital interests of the majority of candidates. They use their own professional mind and experience to meet the needs of the candidates. According to the needs of the candidate, they consider the issue from all angles, and manufacturing applicability exam training materials. This material is Microsoft 070-506 070-665 070-178 70-516-CSHARP exam training materials, which including questions and answers.


070-506 (Microsoft Silverlight 4, Development) Free Demo Download: http://www.it-tests.com/070-506.html


NO.1 You are developing a Silverlight 4 application.
You have a collection named ColPeople of the List<Person> type. You define the Person class according
to the following code segment.
public class Person
{
public string Name {get
set }
public string Description { get
set
}
public string Gender { get
set
}
public int Age { get
set
}
public int Weight { get
set
}
}
You need to bind ColPeople to a ComboBox so that only the Name property is displayed.
Which XAML fragment should you use?
A. <ComboBox DataContext="{Binding ColPeople}" ItemsSource="{Binding ColPeople}"
DisplayMemberPath="Name" />
B. <ComboBox DataContext="{Binding Person}" ItemsSource="{Binding Person}"
DisplayMemberPath="ColPeople" />
C. <ComboBox DataContext="{Binding ColPeople}" DisplayMemberPath="Name" />
D. <ComboBox DataContext="{Binding Person}" />
Answer: A

Microsoft study guide   070-506   070-506   070-506 study guide   070-506   070-506 test questions

NO.2 You have a Silverlight 4 application that uses isolated storage. You create an application that has a 5
MB file that must be saved to isolated storage.
Currently, the application has not allocated enough isolated storage to save the file.
You need to ensure that the application prompts the user to increase the isolated storage allocation. You
also need to ensure that only the minimum amount of space needed to save the 5 MB file is requested.
Which code segment should you use?
A. using (var store = IsolatedStorageFile.GetUserStoreForApplication())
{
var neededSpace = 5242880
if (store.IncreaseQuotaTo(neededSpace))
{
...
}
}
B. using (var store = IsolatedStorageFile.GetUserStoreForApplication())
{
var neededSpace = 5242880
if (store.IncreaseQuotaTo(store.Quota + neededSpace))
{
...
}
}
C. using (var store = IsolatedStorageFile.GetUserStoreForApplication())
{
var neededSpace = 5242880
if (store.IncreaseQuotaTo(
store.AvailableFreeSpace + neededSpace
))
{
...
}
}
D. using (var store = IsolatedStorageFile.GetUserStoreForApplication())
{
var neededSpace = 5242880
if (store.IncreaseQuotaTo(
store.UsedSize + neededSpace
))
{
...
}
}
Answer: D

Microsoft braindump   070-506   070-506 test answers

NO.3 }

NO.4 }
You need to ensure that worker can be properly canceled.
Which code segment should you use to replace line 11?
A. var cancel = (sender as BackgroundWorker).CancellationPending
if(cancel) {
(sender as BackgroundWorker).CancelAsync()
break
}
else {
InvokeLongRunningProcessStep()
}
B. var cancel = (sender as BackgroundWorker).CancellationPending
if(cancel) {
e.Cancel = true
break
}
else {
InvokeLongRunningProcessStep()
}
C. var cancel = e.Cancel
if(cancel) {
(sender as BackgroundWorker).CancelAsync()
break
}
else {
InvokeLongRunningProcessStep()
}
D. var cancel = e.Cancel
if(cancel) {
e.Cancel = true
break
}
else {
InvokeLongRunningProcessStep()
}
Answer: B

Microsoft questions   070-506 certification   070-506 demo   070-506 braindump
12.You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You add a BackgroundWorker object named worker to the application. You also add a CheckBox control
named checkBox and a TextBlock control named statusTextBlock.
You add the following code segment. (Line numbers are included for reference only.)
01 public MainPage()
02 {
03 InitializeComponent()
04 worker.WorkerReportsProgress = true
05 worker.DoWork += new DoWorkEventHandler(worker_DoWork)
06 worker.ProgressChanged += new ProgressChangedEventHandler(worker_ProgressChanged)
07 }
08 private void worker_DoWork(object sender, DoWorkEventArgs e)
09 {
10 for (int i = 0
i < 100
i++) {
11 bool isChecked = checkBox.IsChecked.HasValue && checkBox.IsChecked.Value
12 ExecuteLongRunningProcessStep(isChecked)
13 worker.ReportProgress(i)

NO.5 You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You add a BackgroundWorker object named worker to the application.
You add the following code segment. (Line numbers are included for reference only.)
01 public MainPage()
02 {
03 InitializeComponent()
04 worker.WorkerSupportsCancellation = true
05 worker.DoWork += new DoWorkEventHandler(worker_DoWork)
06 worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_Completed)
07 }
08 private void worker_DoWork(object sender, DoWorkEventArgs e)
09 {
10 for (int i = 0
i < 100
i++) {
11 InvokeLongRunningProcessStep()

NO.6 You are developing a Silverlight 4 application. You define the visual behavior of a custom control in the
ControlTemplate by defining a VisualState object named Selected.
You need to change the visual state of the custom control to the Selected state.
Which code segment or XAML fragment should you use?
A. VisualStateManager.GoToState( this, "Selected", true )
B. <VisualTransition To="Selected">
<Storyboard>
...
</Storyboard>
</VisualTransition>
C. <VisualTransition From="Selected">
<Storyboard>
...
</Storyboard>
</VisualTransition>
D. public static readonly DependencyProperty SelectedProperty =
DependencyProperty.Register("Selected", typeof(VisualState), typeof(MyControl), null)
public VisualState Selected
{
get { return (VisualState)GetValue(SelectedProperty)
}
set { SetValue(SelectedProperty, value)
}
}
Answer: A

Microsoft certification   070-506 test questions   070-506   070-506   070-506 pdf

NO.7 }
You attempt to run the application. You receive the following error message:
"Invalid crossthread access."
You need to ensure that worker executes successfully.
What should you do?
A. Replace line 11 with the following code segment.
var b = (bool )checkBox.GetValue(CheckBox.IsCheckedProperty)
bool isChecked = b.HasValue && b.Value
B. Replace line 11 with the following code segment.
bool isChecked = false
Dispatcher.BeginInvoke(() =>
{
isChecked = checkBox.IsChecked.HasValue && checkBox.IsChecked.Value
})
C. Replace line 18 with the following code segment.
statusTextBlock.SetValue(TextBlock.TextProperty, e.ProgressPercentage + "%")
D. Replace line 18 with the following code segment.
Dispatcher.BeginInvoke(() =>
{
statusTextBlock.Text = e.ProgressPercentage + "%"
})
Answer: B

Microsoft   070-506   070-506
13.You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You add the following code segment. (Line numbers are included for reference only.)
01 public class MyControl : Control
02 {
03
04 public string Title
05 {
06 get { return (string)GetValue(TitleProperty)
}
07 set { SetValue(TitleProperty, value)
}
08 }
09 }
You need to create a dependency property named TitleProperty that allows developers to set the Title.
You also need to ensure that the default value of the TitleProperty dependency property is set to Untitled.
Which code segment you add at line 03?
A. public static readonly DependencyProperty TitleProperty =
DependencyProperty.Register("Untitled",
typeof(string),
typeof(MyControl),
null)
B. public static readonly DependencyProperty TitleProperty =
DependencyProperty.Register("Untitled",
typeof(string),
typeof(MyControl),
new PropertyMetadata("Title"))
C. public static readonly DependencyProperty TitleProperty =
DependencyProperty.Register("Title",
typeof(string),
typeof(MyControl),
new PropertyMetadata("Untitled"))
D. public static readonly DependencyProperty TitleProperty =
DependencyProperty.Register("Title",
typeof(string),
typeof(MyControl),
new PropertyMetadata(new PropertyChangedCallback((depObj, args) =>
{
depObj.SetValue(MyControl.TitleProperty, "Untitled")
})))
Answer: C

Microsoft original questions   070-506   070-506   070-506 questions
14.You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You create a control named MyControl in the application. Each instance of the control contains a list of
FrameworkElement objects.
You add the following code segment. (Line numbers are included for reference only.)
01 public class MyControl : Control
02 {
03
04 public List<FrameworkElement> ChildElements
05 {
06 get {
07 return List<FrameworkElement>)GetValue(MyControl.ChildElementsProperty)
08 }
09 }
10
11 public MyControl()
12 {
13
14 }
15 static MyControl()
16 {
17
18 }
19 }
You need to create the ChildElementsProperty dependency property. You also need to initialize the
property by using an empty list of FrameworkElement objects.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following code segment at line 03.
public static readonly DependencyProperty ChildElementsProperty =
DependencyProperty.Register("ChildElements", typeof(List<FrameworkElement>), typeof(MyControl),
new PropertyMetadata(new List<FrameworkElement>()))
B. Add the following code segment at line 03.
public static readonly DependencyProperty ChildElementsProperty =
DependencyProperty.Register("ChildElements", typeof(List<FrameworkElement>), typeof(MyControl),
new PropertyMetadata(null))
C. Add the following code segment at line 13.
SetValue(MyControl.ChildElementsProperty, new List<FrameworkElement>())
D. Add the following code segment at line 17.
ChildElementsProperty =
DependencyProperty.Register("ChildElements", typeof(List<FrameworkElement>), typeof(MyControl),
new PropertyMetadata(new List<FrameworkElement>()))
Answer: B, C

Microsoft test answers   070-506 certification   070-506 study guide   070-506   070-506
15.You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You add the following code segment. (Line numbers are included for reference only.)
01 var outerCanvas = new Canvas()
02 var innerCanvas = new Canvas()
03 innerCanvas.Width = 200
04 innerCanvas.Height = 200
05 outerCanvas.Children.Add(innerCanvas)
06
You need to set the distance between the left of the innerCanvas element and the left of the outerCanvas
element to 150 pixels.
Which code segment should you add at line 06?
A. outerCanvas.Margin = new Thickness(0.0, 150.0, 0.0, 0.0)
B. innerCanvas.Margin = new Thickness(0.0, 150.0, 0.0, 0.0)
C. outerCanvas.SetValue(Canvas.LeftProperty, 150.0)
D. innerCanvas.SetValue(Canvas.LeftProperty, 150.0)
Answer: D

Microsoft   070-506 answers real questions   070-506   070-506 demo
16.You are developing a Silverlight 4 application. The application contains a Product class that has a
public Boolean property named IsAvailable.
You need to create a value converter that binds data to the Visibility property of a Button control.
Which code segment should you use?
A. public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo
culture)
{
bool result = System.Convert.ToBoolean(parameter)
return result Visibility.Visible : Visibility.Collapsed
}
public object ConvertBack(object value, Type targetType, object parameter,
System.Globalization.CultureInfo culture)
{
throw new NotImplementedException()
}
}
B. public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo
culture)
{
bool result = System.Convert.ToBoolean(value)
return result Visibility.Visible : Visibility.Collapsed
}
public object ConvertBack(object value, Type targetType, object parameter,
System.Globalization.CultureInfo culture)
{
throw new NotImplementedException()
}
}
C. public class BoolToVisibilityConverter : PropertyPathConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo
culture)
{
return this.ConvertTo(value, typeof(Visibility))
}
public object ConvertBack(object value, Type targetType, object parameter,
System.Globalization.CultureInfo culture)
{
throw new NotImplementedException()
}
}
D. public class BoolToVisibilityConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo
culture)
{
bool result = System.Convert.ToBoolean(value)
return result Visibility. Visible : Visibility. Collapsed
}
public object ConvertBack(object value, Type targetType, object parameter,
System.Globalization.CultureInfo culture)
{
throw new NotImplementedException()
}
}
Answer: B

Microsoft original questions   070-506 study guide   070-506 exam   070-506 demo   070-506   070-506 practice test
17.You are developing a Silverlight 4 application. The application contains a Product class that has a
public string property named Name.
You create a TextBox control by using the following XAML fragment.
<TextBox Text="{Binding Name, ValidatesOnDataErrors=True}" />
You need to ensure that validation errors are reported to the user interface. You also need to ensure that
a validation error will occur when the TextBox control is empty.
Which code segment should you use?
A. public class Product
{
[Required()]
public string Name { get
set
}
}
B. public class Product : IDataErrorInfo
{
public string Name { get
set
}
public string Error { get { return null
} }
public string this[string columnName]
{
get
{
if (columnName == "Name" && string.IsNullOrEmpty(Name))
{
throw new ValidationException("Name should not be empty!")
}
return string.Empty
}
}
}
C. public class Product : IDataErrorInfo
{
public string Name { get
set
}
public string Error { get { return null
} }
public string this[string columnName]
{
get
{
if (columnName == "Name" && string.IsNullOrEmpty(Name))
{
return "Name should not be empty!"
}
return string.Empty
}
}
}
D. public class Product
{
private string _name
public string Name
{
get { return _name
}
set
{
if (string.IsNullOrEmpty(value))
throw new ValidationException("Name should not be empty!")
_name = value
}
}
}
Answer: C

Microsoft   070-506 answers real questions   070-506 braindump   070-506
18.You are developing a ticketing application by using Silverlight 4. You have a listbox named lstTickets
that contains a list of the tickets. The page contains a button that allows the user to print the tickets. The
PrintView UserControl binds to the type in lstTickets and is designed to fit a standard sheet of paper.
You add the following code segment to the button event handler. (Line numbers are included for
reference only.)
01 var doc = new PrintDocument()
02 var view = new PrintView()
03 doc.PrintPage += (s, args) =>
04 {
05 var ppc = doc.PrintedPageCount
06 if (ppc < lstTickets.Items.Count)
07 {
08 var data = lstTickets.Items[ppc]
09 view.DataContext = data
10 args.PageVisual = view
11
12
13 }
14 }
15 doc.Print("tickets")
You need to use the Silverlight printing API to print each ticket on its own page. You also need to ensure
that all tickets in the listbox are printed.
Which code segment should you insert at lines 11 and 12?
A. if (args.HasMorePages == false)
return
B. if (args.HasMorePages == true)
return
C. if (doc.PrintedPageCount < this.lstTickets.Items.Count 1)
args.HasMorePages = true
D. if (ppc == this.lstTickets.Items.Count 1)
doc.EndPrint += (o, p) => { return
}
Answer: C

Microsoft   070-506 braindump   070-506 dumps   070-506 exam
19.You are developing an outofbrowser
application by using Silverlight 4.
The main page of the application contains the following code segment.
public MainPage()
{
InitializeComponent()
NetworkChange.NetworkAddressChanged += (s, e) => CheckNetworkStatusAndRaiseToast()
CheckNetworkStatusAndRaiseToast()
}
You need to ensure that the application will raise a toast notification when network connectivity changes.
Which two actions should you perform in the CheckNetworkStatusAndRaiseToast method? (Each correct
answer presents part of the solution. Choose two.)
A. Verify that App.Current.IsRunningOutOfBrowser is true.
B. Verify that App.Current.IsRunningOutOfBrowser is false.
C. Verify that App.Current.HasElevatedPermissions is true.
D. Verify that App.Current.HasElevatedPermissions is false.
E. Examine NetworkInterface.GetIsNetworkAvailable().
F. Call App.Current.CheckAndDownloadUpdateAsync() in a try/catch block.
Answer: A, E

Microsoft answers real questions   070-506   070-506   070-506 demo   070-506 pdf

NO.8 You are developing a Silverlight 4 application.
The application defines the following three event handlers. (Line numbers are included for reference
only.)
01 private void HandleCheck(object sender, RoutedEventArgs e)
02 {
03 MessageBox.Show("Checked")
04 }
05
06 private void HandleUnchecked(object sender, RoutedEventArgs e)
07 {
08 MessageBox.Show("Unchecked")
09 }
10
11 private void HandleThirdState(object sender, RoutedEventArgs e)
12 {
13 MessageBox.Show("Indeterminate")
14 }
You need to allow a check box that can be selected, cleared, or set to Indeterminate. You also need to
ensure that the event handlers are invoked when the user changes the state of the control.
Which XAML fragment should you use?
A. <CheckBox x:Name="cb2" Content="Three State CheckBox"
IsChecked="True" Checked="HandleCheck"
Indeterminate="HandleUnchecked" Unchecked="HandleUnchecked" />
B. <CheckBox x:Name="cb2" Content="Three State CheckBox"
IsThreeState="True" Checked="HandleCheck"
Indeterminate="HandleThirdState" Unchecked="HandleUnchecked" />
C. <CheckBox x:Name="cb2" Content="Three State CheckBox"
IsHitTestVisible="True" Checked="HandleCheck"
Indeterminate="HandleThirdState" Unchecked="HandleUnchecked" />
D. <CheckBox x:Name="cb2" Content="Three State CheckBox"
IsEnabled="True" Checked="HandleCheck"
Indeterminate="HandleUnchecked" Unchecked="HandleUnchecked" />
Answer: B

Microsoft original questions   070-506 test answers   070-506 certification training   070-506   070-506   070-506 exam dumps

NO.9 private void worker_ProgressChanged(object sender, ProgressChangedEventArgs e)

NO.10 You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You create a new user control in the application. You add the following XAML fragment to the control.
<StackPanel KeyDown="App_KeyDown"
Orientation="Vertical">
<TextBox x:Name="firstName" />
<TextBox x:Name="lastName" />
<TextBox x:Name="address" />
</StackPanel>
You add the following code segment in the codebehind file of the control. (Line numbers are included for
reference only.)
01 private void App_KeyDown(object sender, KeyEventArgs e)
02 {
03
04 }
05
06 private void FirstAndLastNameKeyDown()
07 {
08...
09 }
You need to ensure that the FirstAndLastNameKeyDown method is invoked when a key is pressed while
the focus is on the firstName or lastName TextBox controls. You also need to ensure that the default
behavior of the controls remains unchanged.
Which code segment should you add at line 03?
A. if (((FrameworkElement)sender).Name == "firstName" ||
((FrameworkElement)sender).Name == "lastName")
{
FirstAndLastNameKeyDown()
}
e.Handled = false
B. if (((FrameworkElement)sender).Name == "firstName" ||
((FrameworkElement)sender).Name == "lastName")
{
FirstAndLastNameKeyDown()
}
e.Handled = true
C. if (((FrameworkElement)e.OriginalSource).Name == "firstName" ||
((FrameworkElement)e.OriginalSource).Name == "lastName")
{
FirstAndLastNameKeyDown()
}
e.Handled = false
D. if (((FrameworkElement)e.OriginalSource).Name == "firstName" ||
((FrameworkElement)e.OriginalSource).Name == "lastName")
{
FirstAndLastNameKeyDown()
}
e.Handled = true
Answer: C

Microsoft   070-506 certification   070-506 original questions

NO.11 You are developing a Silverlight 4 application.
The application defines the following XAML fragment. (Line numbers are included for reference only.)
01 <ComboBox>
02 <ComboBoxItem Content="Item 1" />
03 <ComboBoxItem Content="Item 2" />
04 <ComboBoxItem Content="Item 3" />
05 </ComboBox>
The codebehind file contains the following code segment. (Line numbers are included for reference only.)
06 void PrintText(object sender, SelectionChangedEventArgs args){
07
08 MessageBox.Show( "You selected " + cbi.Content.ToString() + ".")
09 }
You need to ensure that when the user selects an item in a ComboBox control, the content of the item is
displayed.
What should you do?
A. Replace the following XAML fragment at line 01.
<ComboBox SelectionChanged="PrintText">
Add the following code segment at line 07.
ComboBoxItem cbi = ((sender as ComboBox).SelectedItem as ComboBoxItem)
B. Replace the following XAML fragment at line 01.
<ComboBox SelectionChanged="PrintText">
Add the following code segment at line 07.
ComboBoxItem cbi = ((sender as ComboBox).SelectedIndex as ComboBoxItem)
C. Replace the following XAML fragment at line 01.
<ComboBox DropDownClosed="PrintText">
Add the following code segment at line 07.
ComboBoxItem cbi = ((sender as ComboBox).SelectedItem as ComboBoxItem)
D. Replace the following XAML fragment at line 01.
<ComboBox DropDownClosed="PrintText">
Add the following code segment at line 07.
ComboBoxItem cbi = ((sender as ComboBox).SelectedIndex as ComboBoxItem)
Answer: A

Microsoft exam prep   070-506   070-506   070-506

NO.12 You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
The application contains the following XAML fragment.
<TextBlock x:Name="QuoteOfTheDay" />
The application calls a Windows Communication Foundation (WCF) service named MyService that
returns the quote of the day and assigns it to the QuoteOfTheDay TextBlock.
The application contains the following code segment. (Line numbers are included for reference only.)
01 var client = new MyService.MyServiceClient()
02 client.GetQuoteOfTheDayCompleted += (s, args) => QuoteOfTheDay.Text = args.Result
03 client.GetQuoteOfTheDayAsync()
You need to handle errors that might occur as a result of the service call. You also need to provide a
default value of "Unavailable" when an error occurs.
Which code segment should you replace at lines 02 and 03?
A. QuoteOfTheDay.Text = "Unavailable"
client.GetQuoteOfTheDayCompleted += (s, args) => QuoteOfTheDay.Text = args.Result
client.GetQuoteOfTheDayAsync()
B. client.GetQuoteOfTheDayCompleted += (s, args) =>
{
if (args.Result != null)
{
QuoteOfTheDay.Text = args.Result
}
else
{
QuoteOfTheDay.Text = "Unavailable"
}
}
client.GetQuoteOfTheDayAsync()
C. client.GetQuoteOfTheDayCompleted += (s, args) => QuoteOfTheDay.Text = args.Result
try
{
client.GetQuoteOfTheDayAsync()
}
catch (Exception ex)
{
// TODO: handle exception
QuoteOfTheDay.Text = "Unavailable"
}
D. client.GetQuoteOfTheDayCompleted += (s, args) =>
{
if (args.Error == null)
{
QuoteOfTheDay.Text = args.Result
}
else
{
// TODO: handle error
QuoteOfTheDay.Text = "Unavailable"
}
}
client.GetQuoteOfTheDayAsync()
Answer: D

Microsoft   070-506 braindump   070-506 pdf   070-506   070-506

NO.13 statusTextBlock.Text = e.ProgressPercentage + "%"

NO.14 You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4. The
application has a TextBox control named txtName.
You need to handle the event when txtName has the focus and the user presses the F2 key.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. txtName.KeyDown += new KeyEventHandler(txtName_KeyDown)
B. txtName.LostFocus += new RoutedEventHandler(txtName_LostFocus)
C. txtName.TextChanged += new TextChangedEventHandler(txtName_TextChanged)
D. void txtName_TextChanged(object sender, TextChangedEventArgs e)
{
if ((Key)e.OriginalSource == Key.F2)
{
//Custom logic
}
}
E. void txtName_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.F2)
{
//Custom logic
}
}
F. void txtName_LostFocus(object sender, RoutedEventArgs e)
{
if ((Key)e.OriginalSource == Key.F2)
{
//Custom logic
}
}
Answer: A, E

Microsoft test questions   070-506 braindump   070-506 exam simulations   070-506   070-506

NO.15 }

NO.16 You are developing a Silverlight 4 application.
The application contains an XAML page that defines the following Grid control.
<Grid Name="gridBody" >
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Text="Employee Info" />
<TextBlock Text="Please enter employee info" Grid.Row="1" Height="20" VerticalAlignment="Top" />
<TextBox x:Name="EmpInfo" Grid.Row="1" Margin="0,25,0,0" TextWrapping="Wrap" />
...
</Grid>
The codebehind file for myPage.xaml contains the following code segment. (Line numbers are included
for reference only.)
01 public myPage()
02 {
03 InitializeComponent()
04
05 UserControl control = new MyCustomControl()
06
07 }
You need to replace the contents of the second row of gridBody with a user control of the
MyCustomControl type.
Which code segment should you insert at line 06?
A. gridBody.Children.Insert(1, control)
B. gridBody.RowDefinitions.Remove(gridBody.RowDefinitions[1])
gridBody.Children.Insert(1, control)
C. gridBody.Children.Clear()
Grid.SetRow(control, 1)
gridBody.Children.Add(control)
D. List<UIElement> remove = gridBody.Children.Where(c => c is FrameworkElement &&
Grid.GetRow((FrameworkElement)c) == 1).ToList()
foreach (UIElement element in remove)
{
gridBody.Children.Remove(element)
}
Grid.SetRow(control, 1)
gridBody.Children.Add(control)
Answer: D

Microsoft exam simulations   070-506 practice test   070-506 test

NO.17 You are developing a Silverlight 4 application. You define an Invoice object according to the following
code segment.
public class Invoice
{
public int InvoiceId { get
set
}
public double Amount { get
set
}
public Supplier Supplier { get
set
}
public DateTime InvoiceDate { get
set
}
public DateTime PayDate { get
set
}
public string InvoiceDescription { get
set
}
}
You need to display a list of invoices that have the following properties displayed on each line: InvoiceId,
Amount, and InvoiceDate.
Which XAML fragment should you use?
A. <ListBox x:Name="InvoiceListBox">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=InvoiceId}" />
<TextBlock Text="{Binding Path=Amount}" />
<TextBlock Text="{Binding Path=InvoiceDate}" />
</StackPanel>
</ListBox>
B. <ListBox x:Name="InvoiceListBox">
<StackPanel Orientation="Horizontal">
<ListBoxItem>
<TextBlock Text="{Binding Path=InvoiceId}" />
</ListBoxItem>
<ListBoxItem>
<TextBlock Text="{Binding Path=Amount}" />
</ListBoxItem>
<ListBoxItem>
<TextBlock Text="{Binding Path=InvoiceDate}" />
</ListBoxItem>
</StackPanel>
</ListBox>
C. <ListBox x:Name="InvoiceListBox">
<ListBox.Items>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=InvoiceId}" />
<TextBlock Text="{Binding Path=Amount}" />
<TextBlock Text="{Binding Path=InvoiceDate}" />
</StackPanel>
</ItemsPanelTemplate>
</ListBox.Items>
</ListBox>
D. <ListBox x:Name="InvoiceListBox">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=InvoiceId}" />
<TextBlock Text="{Binding Path=Amount}" />
<TextBlock Text="{Binding Path=InvoiceDate}" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
Answer: D

Microsoft   070-506 practice test   070-506

NO.18 {

NO.19 }

NO.20 You are developing an application by using Silverlight 4 and Microsoft.NET Framework 4.
You create a Windows Communication Foundation (WCF) Data Service. You add a service reference to
the WCF Data Service named NorthwindEntities in the Silverlight application. You also add a
CollectionViewSource object named ordersViewSource in the Silverlight application.
You add the following code segment. (Line numbers are included for reference only.)
01 void getOrders_Click(object sender, RoutedEventArgs e)
02 {
03 var context = new NorthwindEntities()
04
05 var query = from order in context.Orders
06 select order
07
08 }
You need to retrieve the Orders data from the WCF Data Service and bind the data to the
ordersViewSource object.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following code segment at line 04.
var obsCollection = new ObservableCollection<Order>()
B. Add the following code segment at line 04.
var dsOrders = new DataServiceCollection<Order>()
dsOrders.LoadCompleted += new EventHandler<LoadCompletedEventArgs>(
(dsc, args) =>
{
ordersViewSource.Source = dsOrders
})
C. Add the following code segment at line 07.
dsOrders.LoadAsync(query)
D. Add the following code segment at line 07.
dsOrders.Load(query)
E. Add the following code segment at line 07.
query.ToList().ForEach(o => obsCollection.Add(o))
ordersViewSource.Source = obsCollection
Answer: B, C

Microsoft   070-506   070-506