2013년 9월 30일 월요일

Microsoft 인증한 70-450 덤프

거침없이 발전해나가는 IT업계에서 자신만의 자리를 동요하지 않고 단단히 지킬려면Microsoft인증 70-450시험은 무조건 패스해야 합니다. 하지만Microsoft인증 70-450시험패스는 하늘에 별따기 만큼 어렵습니다. 시험이 영어로 출제되어 공부자료 마련도 좀 힘든편입니다. 여러분들의 고민을 덜어드리기 위해ITExamDump에서는Microsoft인증 70-450시험의 영어버전 실제문제를 연구하여 실제시험에 대비한 영어버전Microsoft인증 70-450덤프를 출시하였습니다.전문적인 시험대비자료이기에 다른 공부자료는 필요없이ITExamDump에서 제공해드리는Microsoft인증 70-450영어버전덤프만 공부하시면 자격증을 딸수 있습니다.

다른 사이트에서도Microsoft 70-450인증시험관련 자료를 보셨다고 믿습니다.하지만 우리 ITExamDump의 자료는 차원이 다른 완벽한 자료입니다.100%통과 율은 물론ITExamDump을 선택으로 여러분의 직장생활에 더 낳은 개변을 가져다 드리며 ,또한ITExamDump를 선택으로 여러분은 이미 충분한 시험준비를 하였습니다.우리는 여러분이 한번에 통과하게 도와주고 또 일년무료 업데이트서비스도 드립니다.

근 몇년간IT산업이 전례없이 신속히 발전하여 IT업계에 종사하는 분들이 여느때보다 많습니다. 경쟁이 이와같이 치열한 환경속에서 누구도 대체할수 없는 자기만의 자리를 찾으려면 IT인증자격증취득은 무조건 해야 하는것이 아닌가 싶습니다. Microsoft인증 70-450시험은 IT인증시험중 가장 인기있는 시험입니다. ITExamDump에서는 여러분이Microsoft인증 70-450시험을 한방에 패스하도록 실제시험문제에 대비한Microsoft인증 70-450덤프를 발췌하여 저렴한 가격에 제공해드립니다.시험패스 못할시 덤프비용은 환불처리 해드리기에 고객님께 아무런 페를 끼치지 않을것입니다.

IT인증시험덤프자료를 제공해드리는 사이트는 너무나도 많습니다. 그중에서 대부분 분들이ITExamDump제품에 많은 관심과 사랑을 주고 계시는데 그 원인은 무엇일가요?바로ITExamDump에서 제공해드리는 덤프자료 품질이 제일 좋고 업데이트가 제일 빠르고 가격이 제일 저렴하고 구매후 서비스가 제일 훌륭하다는 점에 있습니다. ITExamDump 표 Microsoft인증70-450덤프를 공부하시면 시험보는데 자신감이 생기고 시험불합격에 대한 우려도 줄어들것입니다.

시험 번호/코드: 70-450
시험 이름: Microsoft (PRO:MS SQL Serv 08,Design,Optimize, and Maintain DB Admin Solu)
당신이 구입하기 전에 시도
일년동안 무료 업데이트
100% 환불보장약속
100% 합격율 보장
Q&A: 125 문항
업데이트: 2013-09-29

요즘같이 시간인즉 금이라는 시대에, 우리 ITExamDump선택으로Microsoft 70-450인증시험응시는 아주 좋은 딜입니다. 우리는 100%시험패스를 보장하고 또 일년무료 업데이트서비스를 제공합니다. 그리고 시험에서 떨어지셨다고 하시면 우리는 덤프비용전액 환불을 약속 드립니다.

ITExamDump는 여러분이 빠른 시일 내에Microsoft 70-450인증시험을 효과적으로 터득할 수 있는 사이트입니다.Microsoft 70-450인증 자격증은 일상생활에 많은 개변을 가져올 수 있는 시험입니다.Microsoft 70-450인증 자격증을 소지한 자들은 당연히 없는 자들보다 연봉이 더 높을 거고 승진기회도 많아지며 IT업계에서의 발전도 무궁무진합니다.

인재가 넘치는 IT업계에서 자기의 자리를 지켜나가려면 학력보다 능력이 더욱 중요합니다.고객님의 능력을 증명해주는 수단은 국제적으로 승인받은 IT인증자격증이 아니겠습니까? Microsoft인증 70-450시험이 어렵다고 하여 두려워 하지 마세요. IT자격증을 취득하려는 분들의 곁에는ITExamDump가 있습니다. ITExamDump의Microsoft인증 70-450시험준비를 하시고 시험패스하여 자격증을 취득하세요. 국제승인 자격증이라 고객님의 경쟁율을 업그레이드 시켜드립니다.

70-450 덤프무료샘플다운로드하기: http://www.itexamdump.com/70-450.html

NO.1 You administer a SQL Server 2008 Reporting Services (SSRS) instance.
You plan to design an authentication method for SSRS reports that use SQL Server data connections.
You need to ensure that all SSRS reports communicate to the SQL Server instance by using the Kerberos
authentication protocol.
What should you do?
A. Configure the default Web site on the instance to use the Integrated Security type.
B. Configure the application pool used by the default Web site to use a domain account.
C. Configure the default Web site on the instance to use the Secure Sockets Layer (SSL) protocol.
D. Register a service principal name (SPN) in the Active Directory directory service for the SSRS
instance.
Answer: D

Microsoft덤프   70-450   70-450 dumps   70-450기출문제

NO.2 You administer a SQL Server 2008 instance.
You plan to design the security requirements for a new database application. The application uses a code
segment that contains the following components:
A method that accesses the registry on the SQL Server
A method that accesses the file system on a network file server
A class definition that uses public static fields
The code segment uses SQL CLR integration and is implemented as a single assembly.
You need to ensure that the application is successfully deployed to the instance.
What should you do?
A. Use the SAFE code access security for the assembly.
B. Replace all public static fields with public fields.
C. Replace all public static fields with public static read-only fields. Use the EXTERNAL_ACCESS code
access security for the assembly.
D. Replace all public static fields with public static read-only fields. Register the assembly by using the
regasm.exe utility before deployment.
Answer: C

Microsoft   70-450   70-450 pdf   70-450

NO.3 You administer a SQL Server 2008 instance.
You plan to design the security requirements for a new database application that will be deployed to the
instance.
The new database contains a table that is created by using the following code segment:
CREATE TABLE EmpBonusPlan
(
EmployeeID INT NOT NULL IDENTITY(1,1),
NumOptions INT NOT NULL,
BaseSalary MONEY NOT NULL,
BonusPlan VARBINARY(MAX) FILESTREAM
)
You need to ensure that the BonusPlan column is protected from unauthorized access by using the most
secure method.
What should you do?
A. Use Transparent data encryption.
B. Use the Trustworthy option for the database.
C. Use the Advanced Encryption Standard encryption on all columns in the database.
D. Use the NTFS file system security and limit the access of the database files to the SQL Server 2008
Service account.
Answer: D

Microsoft인증   70-450   70-450자료   70-450 dump

NO.4 You administer a SQL Server 2008 instance.
The instance is located on a four-processor, quad-core server. The server frequently experiences CPU
pressure.
The instance contains a very large mission-critical database that is used continuously.
You need to ensure that online index rebuilds do not consume all available CPU cycles.
Which configuration option should you use.?
A. affinity mask
B. affinity I/O mask
C. max degree of parallelism
D. optimize for ad hoc workloads
Answer: C

Microsoft   70-450 pdf   70-450인증   70-450 dump   70-450자료

NO.5 You administer a SQL Server 2008 instance.
The instance hosts a database that is used by a Web-based application. The application processes
15,000 transactions every minute.
A table in the database contains a column that is used only by the application. This column stores
sensitive data.
You need to store the sensitive data in the most secure manner possible. You also need to ensure that
you minimize the usage of memory space and processor time.
Which encryption type should you use?
A. Symmetric key encryption
B. Asymmetric key encryption
C. Certificate-based encryption
D. Transparent data encryption
Answer: A

Microsoft덤프   70-450자료   70-450   70-450자료

NO.6 You administer a SQL Server 2008 instance.
The instance runs on a computer that has the following features:
A 64-GB RAM
Four quad-core processors
Several independent physical raid volumes
You plan to implement a transactional database on the instance. The database is expected to have a high
volume of INSERT, UPDATE, and DELETE activities. The activities include creation of new tables.
You need to optimize the performance of the database by maximizing disk bandwidth and reducing the
contention in the storage allocation structures.
What should you do?
A. Create multiple data files for the database.
B. Place database and log files on the same volume.
C. Configure the affinity mask option appropriately.
D. Configure the affinity I/O mask option appropriately.
Answer: A

Microsoft인증   70-450자료   70-450시험문제   70-450

NO.7 You administer a SQL Server 2008 instance.
You plan to deploy a new database that has the following capacity requirements:
275.GB for the database data file
50 GB for the transaction log file
The storage array has six 100-GB disk drives available for the database. The disks are attached to a
redundant array of independent disks (RAID) controller that supports RAID levels 0, 1, 5, and 10.
The write performance of the transaction log needs to be maximized. The database and transaction log
files must be protected in the event of a drive failure.
You need to design the storage system.
Which storage configuration should you use?
A. A single RAID 5 volume
B. A single RAID 10 volume
C. A RAID 0 volume and a RAID 5 volume
D. A RAID 1 volume and a RAID 5 volume
Answer: D

Microsoft덤프   70-450   70-450기출문제   70-450

NO.8 You administer SQL Server 2008 servers on a single site.
The site contains the following two SQL Server 2008 instances:
An Enterprise Edition server on a server that has a redundant array of independent disks (RAID) 10 disk
system
A Standard Edition server on a server that has a RAID 5 disk system
Each instance hosts a single application.
You need to recommend a high-availability solution for the site to meet the following business
requirements:
The solution can be implemented on the existing systems.
The database is available with minimal downtime.
Data loss is minimal.
There is minimal effect on the existing system.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)
A. Replication
B. Log shipping
C. Failover clustering
D. Database snapshot
Answer: A,B

Microsoft pdf   70-450   70-450   70-450 dumps   70-450시험문제

NO.9 You administer a SQL Server 2008 instance.
You deploy a new database named Engineering. The Engineering database manages large documents
that will be revised occasionally.
You need to design a table structure that allows fast read access. You also need to minimize storage
space requirements.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Use NTFS file system compression on the volume.
B. Use row-level compression on the document table.
C. Use varbinary(MAX) data type with FILESTREAM storage.
D. Enable row-level compression on all columns that use the vardecimal() data type.
Answer: A,C

Microsoft   70-450최신덤프   70-450자격증

NO.10 You administer a SQL Server 2008 instance.
You plan to deploy a new database to the instance. The database will be subject to frequent inserts and
updates. The database will have multiple schemas. One of the schemas will contain a large amount of
read-only refrence data.
You need to design the physical database structure for optimal backup performance.
What should you do?
A. Create the database by using a single data file and a single log file.
B. Create the database by using a single data file and multiple log files.
C. Create the database by using a single log file and multiple filegroups.
D. Create the database by using a single log file and a filegroup that has multiple data files.
Answer: C

Microsoft   70-450   70-450시험문제

NO.11 You administer a SQL Server 2008 instance that will host a new database application.
You plan to design the security requirements for the application. Each application user has a unique login
to the SQL Server 2008 server.
The application database contains stored procedures to execute stored procedures in the MSDB
database.
The stored procedures in the MSDB database schedule SQLAgent jobs.
You need to ensure that the stored procedures in the MSDB database are executed by using the security
context of the application user.
What should you do?
A. Add each user to the public role in the MSDB database.
B. Add each user to the db_dtsltduser database role in the MSDB database.
C. Configure the new database to use the TRUSTWORTHY option, and then add each user to the MSDB
database.
D. Configure the MSDB database to use the TRUSTWORTHY option, and then add each user to the
MSDB database.
Answer: C

Microsoft dump   70-450시험문제   70-450   70-450인증   70-450 dump

NO.12 You administer SQL Server 2008 instances at three sites.
All sites share a mission-critical database. The business requirements specify that users at each site must
be able to perform the following tasks:
Access and modify data on all sites with minimal latency.
Minimize data loss in the event of a server failure.
You need to provide a high-availability solution that meets the business requirements.
Which solution should you implement?
A. Failover clustering
B. Peer-to-Peer replication
C. Asynchronous database mirroring without a witness server
D. Log shipping to servers at two of the sites to provide read-only copies of data
Answer: B

Microsoft덤프   70-450   70-450   70-450시험문제

NO.13 You administer a SQL Server 2008 instance.
You plan to deploy a third-party database application to the instance. The application uses stored
procedures that are developed by using SQL CLR integration.
The application must be configured to enable the EXTERNAL_ACCESS code access security setting.
You need to ensure that the application is deployed to the instance without loss of functionality.
What should you do first?
A. Replace read write non-static fields in the code with static fields.
B. Replace read-only static fields in the code with read write static fields.
C. Use the peverify.exe PEVerify tool to verify whether the code meets the type-safety requirements.
D. Use the regasm.exe assembly registration tool to register the assembly on the server before
deployment.
Answer: C

Microsoft최신덤프   70-450   70-450   70-450

NO.14 You administer a SQL Server 2008 infrastructure.
An instance runs on a computer that has eight quad-core processors and 128-GB RAM. Four different
applications use the instance.
The instance experiences a low number of CXPACKET waits. The instance also experiences a large
number of lazy writer waits.
You need to optimize the performance of the instance.
What should you do?
A. Configure the Resource Governor.
B. Configure the Windows System Resource Manager.
C. Configure software non-uniform memory access (soft-NUMA).
D. Configure an increase in the maximum degree of parallelism option.
Answer: C

Microsoft기출문제   70-450   70-450

NO.15 You administer a SQL Server 2008 instance. The instance hosts a new database application.
You plan to design the data security strategy for the application. You will use Snapshot replication to
replicate the data to another instance of SQL Server 2008.
You need to ensure that all stored data is encrypted by using the least amount of administrative effort.
What should you do?
A. Enable encrypted connections between the instances.
B. Enable Transparent data encryption for the MSDB database on the two instances.
C. Enable Transparent data encryption for the Publisher, Distribution, and Subscriber databases.
D. Enable certificate-based encryption for the Publisher, Distribution, and Subscriber databases.
Answer: C

Microsoft자격증   70-450   70-450   70-450

ITexamdump의 1Z0-027덤프의 VCE테스트프로그램과 C_TFIN52_66덤프는 한방에 시험을 패스하도록 도와드립니다. ITexamdump 에서는 최신버전의 70-481시험에 대비한 고품질 덤프와 70-460시험 최신버전덤프를 제공해드립니다. 최고품질 000-959시험자료는 100% 간단하게 시험패스하도록 최선을 다하고 있습니다. IT인증시험패스는 이토록 간단합니다.

시험자료링크: http://www.itexamdump.com/70-450.html

Microsoft 70-660 인증시험

경쟁율이 치열한 IT업계에서 아무런 목표없이 아무런 희망없이 무미건조한 생활을 하고 계시나요? 다른 사람들이 모두 취득하고 있는 자격증에 관심도 없는 분은 치열한 경쟁속에서 살아남기 어렵습니다. Microsoft인증 70-660시험패스가 힘들다한들ITExamDump덤프만 있으면 어려운 시험도 쉬워질수 밖에 없습니다. Microsoft인증 70-660덤프에 있는 문제만 잘 이해하고 습득하신다면Microsoft인증 70-660시험을 패스하여 자격증을 취득해 자신의 경쟁율을 업그레이드하여 경쟁시대에서 안전감을 보유할수 있습니다.

Microsoft인증70-660시험은 국제적으로 승인해주는 IT인증시험의 한과목입니다. 근 몇년간 IT인사들에게 최고의 인기를 누리고 있는 과목으로서 그 난이도 또한 높습니다. 자격증을 취득하여 직장에서 혹은 IT업계에서 자시만의 위치를 찾으련다면 자격증 취득이 필수입니다. Microsoft인증70-660시험을 패스하고 싶은 분들은ITExamDump제품으로 가보세요.

IT인증시험문제는 수시로 변경됩니다. 이 점을 해결하기 위해ITExamDump의Microsoft인증 70-660덤프도 시험변경에 따라 업데이트하도록 최선을 다하고 있습니다.시험문제 변경에 초점을 맞추어 업데이트를 진행한후 업데이트된Microsoft인증 70-660덤프를 1년간 무료로 업데이트서비스를 드립니다.

만약 아직도Microsoft 70-660인증시험 위하여 많은 시간과 정력을 소모하며 열심히 공부하고 있습니까? 아직도 어덯게하면Microsoft 70-660인증시험을 빠르게 취득할 수 있는 방법을 못찿고 계십니까? 지금ITExamDump에서Microsoft 70-660인증시험을 안전하게 넘을 수 있도록 대책을 내드리겠습니다. 아주 신기한 효과가 있을 것입니다.

Microsoft인증 70-660 시험은 최근 제일 인기있는 인증시험입니다. IT업계에 종사하시는 분들은 자격증취득으로 자신의 가치를 업그레이드할수 있습니다. Microsoft인증 70-660 시험은 유용한 IT자격증을 취득할수 있는 시험중의 한과목입니다. ITExamDump에서 제공해드리는Microsoft인증 70-660 덤프는 여러분들이 한방에 시험에서 통과하도록 도와드립니다. 덤프를 공부하는 과정은 IT지식을 더 많이 배워가는 과정입니다. 시험대비뿐만아니라 많은 지식을 배워드릴수 있는 덤프를ITExamDump에서 제공해드립니다. ITExamDump덤프는 선택하시면 성공을 선택한것입니다.

IT인증자격증은 여느때보다 강렬한 경쟁율을 보이고 있습니다. Microsoft 인증70-660시험을 통과하시면 취직 혹은 승진이나 연봉협상에 많은 도움이 되어드릴수 있습니다. Microsoft 인증70-660시험이 어려워서 통과할 자신이 없다구요? ITExamDump덤프만 있으면 이런 고민은 이제 그만 하지않으셔도 됩니다. ITExamDump에서 출시한 Microsoft 인증70-660덤프는 시장에서 가장 최신버전입니다.

시험 번호/코드: 70-660
시험 이름: Microsoft (TS:Windows Internals)
당신이 구입하기 전에 시도
일년동안 무료 업데이트
100% 환불보장약속
100% 합격율 보장
Q&A: 68 문항
업데이트: 2013-09-29

ITExamDump는 많은 IT인사들이Microsoft인증시험에 참가하고 완벽한70-660인증시험자료로 응시하여 안전하게Microsoft 70-660인증시험자격증 취득하게 하는 사이트입니다. Pass4Tes의 자료들은 모두 우리의 전문가들이 연구와 노력 하에 만들어진 것이며.그들은 자기만의 지식과 몇 년간의 연구 경험으로 퍼펙트하게 만들었습니다.우리 덤프들은 품질은 보장하며 갱신 또한 아주 빠릅니다.우리의 덤프는 모두 실제시험과 유사하거나 혹은 같은 문제들임을 약속합니다.ITExamDump는 100% 한번에 꼭 고난의도인Microsoft인증70-660시험을 패스하여 여러분의 사업에 많은 도움을 드리겠습니다.

70-660 덤프무료샘플다운로드하기: http://www.itexamdump.com/70-660.html

NO.1 You are the IT professional who work in an International company named Wiikigo. You are
experienced in troubleshooting operating systems and applications that are not working correctly,
identifying code defects and so on. You have enough knowledge on windows internals and you provide
technical support for the company. You are in charge of an application service. Because of heap
corruption, it crashes intermittently. When it occurs, you have to detect the heap corruption. Of the
following tolls, which one should be used?
A.You should choose to use Page Heap
B.You should choose to use Special Pool
C.You should choose to use driver Verifier
D.You should choose to use Memory Pool Monitor
Answer:A

Microsoft   70-660   70-660자격증   70-660   70-660

NO.2 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. You have a device driver that has one monitoring thread named ThreadA. The device
driver has three worker threads. They are respectively named ThreadB, ThreadC, and ThreadD. The
worker threads run every 10 seconds and complete within 1 second. If any worker thread does not run at
least once every 30 seconds, ThreadA calls KeBugCheckEx, and then a complete kernel crash dump is
generated. A bug check and a complete kernel dump are generated by the computer. You find the
following after you review the complete kernel dump: You have to find out the root cause of the bug check.
So what caused the bug check to occur?
A.It was caused by the state of ThreadA
B.It was caused by the priority of ThreadA.
C.It was caused by the priority of ThreadD
D.It was caused by the state of ThreadA and ThreadB
E.It was caused by the state of ThreadB and ThreadC
Answer:C

Microsoft pdf   70-660기출문제   70-660

NO.3 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. You are writing a user application that runs on Windows Server 2003. According to the
company requirement, a user application is being written by you. This application runs on Windows
Server 2003. User authentication is need by the design specification for the application. You must make
sure that each time the application is started, a local user name and password is entered by users. So
which routine should be used?
A.CredUIParseUserName()should be used.
B.LsaRegisterLogonProcess()should be used.
C.CredReadDomainCredentials() should be used.
D.CredUIPromptForCredentials()should be used.
Answer:D

Microsoft   70-660   70-660 pdf   70-660   70-660 pdf

NO.4 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. You are in charge of a multithreaded application. Now is being tested by you. You have
to use Perfmon to test the application for heap leaks. Of the following counters, which one should be
monitored?
A.Process\Private Bytes
B.Memory\Available Bytes
C.Memory\Committed Bytes
D.Process\Pool Paged Bytes
Answer:A

Microsoft최신덤프   70-660 pdf   70-660

NO.5 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. You are in charge of an application. This application runs at a customer's site. Because
of heap corruption, the application crashes intermittently. In order to enable yourself to check and resolve
the heap corruption, you ask the customer to have full page heap enabled on the application process. You
receive a user dump file from the customer. What you should do is to make it clear at the time that the
user dump was created, whether the full page heap was enabled. Of the following WinDbg commands,
which one should be used?
A.!vm should be used.
B.!gflag should be used.
C.!heap should be used.
D.!verifier should be used.
Answer:B

Microsoft인증   70-660   70-660 dump   70-660

NO.6 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. There is a computer named c01. Windows Server 2008 is run by C01. Now you are
using WinDbg to debug C01. You find that one thread is waiting for a critical section. This section is
owned by another thread. You have to locate the critical section. Of the following WinDbg commands,
which one should be used?
A.You should choose to use.thread
B.You should choose to use !deadlock
C.You should choose to use!kdext.locks
D.You should choose to use!ntsdexts.locks
Answer:D

Microsoft dumps   70-660자료   70-660   70-660 dumps

NO.7 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. There is a colleague named Jason in the company. He has a computer named C01. C01
runs Windows Vista. He finds that a service process is using 100 percent of the processor. He has to
force a process dump of the service, meanwhile the service is consuming 100 percent of the processor.
He has no idea about which tool he should use. Since you are the technical support, he asks for your
answer. So which of the following tools should be used?
A.He should choose to use Umdh.exe
B.He should choose to use Tlist.exe
C.He should choose to use Pview.exe
D.He should choose to use Adplus.vbs
Answer:D

Microsoft덤프   70-660 dump   70-660   70-660   70-660 dumps

NO.8 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. For a hardware device, you are developing a Windows device driver. You will install the
device driver and hardware device on computers that run Windows Server 2008. Now you have to find out
the amount of time that the processor uses to receive and process interrupts. Which of the following tools
should be used?
A.You should choose to use Pview.exe
B.You should choose to use Taskmgr.exe
C.You should choose to use Eventvwr.msc
D.You should choose to use Perfmon.msc
Answer:D

Microsoft   70-660 dump   70-660   70-660   70-660

NO.9 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. According to the company requirement, you are debugging a Windows device driver. An
unexpectedly long delay occurs on the device driver. You locate the problem in the following
synchronization mechanism. kd> dt var_sema Local var @ 0xf9dfbc48 Type _KSEMAPHORE +0x000
Header : _DISPATCHER_HEADER +0x010 Limit : 2 kd> dt nt!_DISPATCHER_HEADER f9dfbc48
+0x000 Type : 0x5 '' +0x001 Absolute : 0xe6 '' +0x002 Size : 0x5 '' +0x003 Inserted : 0xbb '' +0x004
SignalState : 0 +0x008 WaitListHead : _LIST_ENTRY [ 0x819ca438 - 0x819ca438 ] kd> dt
nt!_KWAIT_BLOCK 0x819ca438 +0x000 WaitListEntry : _LIST_ENTRY [ 0xf9dfbc50 - 0xf9dfbc50 ]
+0x008 Thread : 0x819ca3c8 _KTHREAD +0x00c Object : 0xf9dfbc48 +0x010 NextWaitBlock :
0.819ca480 _KWAIT_BLOCK +0x014 WaitKey : 0 +0x016 WaitType : 1 kd> dt nt!_KWAIT_BLOCK
0xf9dfbc50 +0x000 WaitListEntry : _LIST_ENTRY [ 0x819ca438 - 0x819ca438 ] +0x008 Thread :
0.00000002 _KTHREAD +0x00c Object : 0xfd050f80 +0x010 NextWaitBlock : 0xffffffff _KWAIT_BLOCK
+0x014 WaitKey : 0 +0x016 WaitType : 0 You have to find out the number of threads that the semaphore
currently has waiting. How many threads does the semaphore currently have waiting?
A.0
B.1
C.2
D.4
E.5
Answer:B

Microsoft   70-660   70-660 dump   70-660

NO.10 You are the IT professional who work in an International company named Wiikigo. You are experienced
in troubleshooting operating systems and applications that are not working correctly, identifying code
defects and so on. You have enough knowledge on windows internals and you provide technical support
for the company. According to the company requirement, an I/O dispatch routine is being written by you
for a Windows device driver. buffered I/O is supported by the device driver. 1 KB of data to the user
process is transferred by the dispatch routine. The kernel address of the 1-KB buffer needs to be retrieved
from the I/O request packet (IRP). Which field of the IRP contains the kernel address?
A.Irp->UserBuffer
B.Irp->Overlay.UserApcContext
C.Irp->Tail.Overlay.DriverContext[0]
D.Irp->AssociatedIrp.SystemBuffer
Answer:D

Microsoft자료   70-660인증   70-660

ITexamdump의 1Z0-536덤프의 VCE테스트프로그램과 000-540덤프는 한방에 시험을 패스하도록 도와드립니다. ITexamdump 에서는 최신버전의 000-585시험에 대비한 고품질 덤프와 1z0-599시험 최신버전덤프를 제공해드립니다. 최고품질 EX0-118시험자료는 100% 간단하게 시험패스하도록 최선을 다하고 있습니다. IT인증시험패스는 이토록 간단합니다.

시험자료링크: http://www.itexamdump.com/70-660.html

Microsoft 자격증 70-542 시험문제와 답

ITExamDump의 Microsoft인증 70-542덤프로 시험공부를 하신다면 고객님의 시간은 물론이고 거금을 들여 학원등록하지 않아도 되기에 금전상에서도 많은 절약을 해드리게 됩니다. Microsoft인증 70-542덤프 구매의향이 있으시면 무료샘플을 우선 체험해보세요.

자기한테 딱 맞는 시험준비공부자료 마련은 아주 중요한 것입니다. ITExamDump는 업계에 많이 알려져있는 덤프제공 사이트입니다. ITExamDump덤프자료가 여러분의 시험준비자료로 부족한 부분이 있는지는 구매사이트에서 무료샘플을 다운로드하여 덤프의일부분 문제를 우선 체험해보시면 됩니다. ITExamDump에서 제공해드리는 퍼펙트한 덤프는 여러분이 한방에 시험에서 통과하도록 최선을 다해 도와드립니다.

시험 번호/코드: 70-542
시험 이름: Microsoft (MS Office SharePoint Server 2007.Application Development)
당신이 구입하기 전에 시도
일년동안 무료 업데이트
100% 환불보장약속
100% 합격율 보장
Q&A: 68 문항
업데이트: 2013-09-29

인재도 많고 경쟁도 치열한 이 사회에서 IT업계 인재들은 인기가 아주 많습니다.하지만 팽팽한 경쟁률도 무시할 수 없습니다.많은 IT인재들도 어려운 인증시험을 패스하여 자기만의 자리를 지켜야만 합니다.우리 ITExamDump에서는 마침 전문적으로 이러한 IT인사들에게 편리하게 시험을 패스할수 있도록 유용한 자료들을 제공하고 있습니다. Microsoft 인증70-542인증은 아주 중요한 인증시험중의 하나입니다. ITExamDump의Microsoft 인증70-542로 시험을 한방에 정복하세요.

ITExamDump는 믿을 수 있는 사이트입니다. IT업계에서는 이미 많이 알려져 있습니다. 그리고 여러분에 신뢰를 드리기 위하여 Microsoft 인증70-542 관련자료의 일부분 문제와 답 등 샘플을 무료로 다운받아 체험해볼 수 있게 제공합니다. 아주 만족할 것이라고 믿습니다. ITExamDump제품에 대하여 아주 자신이 있습니다. Microsoft 인증70-542 도 여러분의 무용지물이 아닌 아주 중요한 자료가 되리라 믿습니다. 여러분께서는 아주 순조로이 시험을 패스하실 수 있을 것입니다.

Microsoft인증 70-542시험을 어떻게 공부하면 패스할수 있을지 고민중이시면 근심걱정 버리시고ITExamDump 의 Microsoft인증 70-542덤프로 가보세요. 문항수가 적고 적중율이 높은 세련된Microsoft인증 70-542시험준비 공부자료는ITExamDump제품이 최고입니다.

우리ITExamDump에는 아주 엘리트한 전문가들로 구성된 팀입니다. 우리는 아주 정확하게 또한 아주 신속히Microsoft 70-542관한 자료를 제공하며, 업데이트될경우 또한 아주 빠르게 뉴버전을 여러분한테 보내드립니다. ITExamDump는 관련업계에서도 우리만의 브랜드이미지를 지니고 있으며 많은 고객들의 찬사를 받았습니다. 현재Microsoft 70-542인증시험패스는 아주 어렵습니다, 하지만 ITExamDump의 자료로 충분히 시험 패스할 수 있습니다.

ITExamDump는 IT인증관련덤프를 제공하는 최고의 업체입니다, 덤프들은 ITExamDump의 베터랑의 전문가들이 오랜 풍부한 경험과 IT지식으로 만들어낸 최고의 제품입니다. 그리고 우리는 온라인무료 서비스도 제공되어 제일 빠른 시간에 소통 상담이 가능합니다.

70-542 덤프무료샘플다운로드하기: http://www.itexamdump.com/70-542.html

NO.1 You are creating two user-defined functions (UDFs) of Excel Services in Microsoft Office SharePoint
Server 2007.
You write the following code segment.
Public Class Class1
Public Function MyDouble(ByVal d As Double) As Double
Return d * 9
End Function
Public Function ReturnDateTimeToday() As DateTime
Return (DateTime.Today)
End Function
End Class
You need to ensure that the MyDouble method and the ReturnDateTimeToday method are recognized as
UDFs of Excel Services.
What should you do?
A. Add a reference to the Excel Services DLL.
B. Change the methods from public to private.
C. Add an out parameter to each of the method statements.
D. Mark the class by using the UdfClass attribute and mark the methods by using the UdfMethod attribute.
Answer: D

Microsoft   70-542   70-542   70-542자격증

NO.2 You create a Microsoft Office SharePoint Server 2007 application. The application has a user named
UserA.
You need to retrieve a list of colleagues for UserA.
Which code segment should you use?
A. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim profileManager As UserProfileManager = New _
UserProfileManager(Cntxtobj) Dim profile As UserProfile = _
profileManager.GetUserProfile("abc\UserA")
Dim colleagues As Colleague() = profile.Colleagues.GetItems
Site.Dispose
...
End Sub
B. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abc\UserA")
Dim colleagues As UserProfile() = _
profile.Colleagues.GetCommonColleagues
Site.Dispose
...
End Sub
C. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abc\UserA")
Dim manager As ColleagueManager = _
New ColleagueManager(profile)
Dim profiles As UserProfile() = _
manager.GetColleaguesOfColleagues
Site.Dispose
...
End Sub
D. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername//sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim audMgr As AudienceManager = New AudienceManager(context)
Dim web As SPWeb = site.AllWebs("mainpage")
Dim audienceIDNames As ArrayList = _
audMgr.GetUserAudienceIDs("domain\userA", True, web)
Site.Dispose
...
End Sub
Answer: A

Microsoft pdf   70-542 pdf   70-542덤프   70-542인증   70-542

NO.3 You create a Microsoft Office SharePoint Server 2007 site. A document library named
CompanyWorkbooks on the site contains Microsoft Office Excel workbooks. You need to ensure that
users can access the workbooks in the CompanyWorkbooks document library by using Excel Services in
Microsoft Office SharePoint Server 2007. What should you do?
A. Define the site as a managed path within SharePoint.
B. Add the CompanyWorkbooks URL to the trusted location list.
C. Edit the permissions of the CompanyWorkbooks document library to grant full control to the SharePoint
application pool identity account.
D. Create a custom security policy file for the CompanyWorkbooks document library. Add the file to the
securityPolicy section of the Web.config file for the site.
Answer: B

Microsoft최신덤프   70-542   70-542   70-542 dump   70-542자료

NO.4 Your organization has a department named product testing. You are creating a new membership
named Product Testing. You are adding a distribution list to the new membership. You need to
ensure that the membership is displayed only to managers. What should you do?
A. Call the MemberGroupData method of the UserProfiles object.
B. Call the GetPrivacyPolicy method of the UserProfileManager object.
C. Pass Privacy.Manager as the privacy setting to the Membership.Create method.
D. Pass PrivacyPolicyIdConstants.MembershipsFromDistributionLists to the CreateMemberGroup
method of the user profile.
Answer: C

Microsoft인증   70-542   70-542

NO.5 You are developing a Microsoft Office SharePoint Server 2007 solution that integrates with Microsoft
SQL Server 2005 Reporting Services. You need to configure the SharePoint solution to allow storage
of reports in SharePoint document libraries. What should you do?
A. Specify the Report Server URL in the Report Explorer Web Part.
B. Configure the proxy server endpoint in the Reporting Services Configuration tool.
C. Specify a Report Explorer Web Part as the target for the Report Viewer Web Part.
D. Specify a Report Viewer Web Part as the target for the Report Explorer Web Part.
Answer: B

Microsoft자격증   70-542   70-542 dump   70-542시험문제

NO.6 You are creating a Microsoft Office SharePoint Server 2007 application. The application reads data
from the Microsoft Office Excel 2007 workbook named SalesGoals.xls. SalesGoals.xls is located in a
document library. The first sheet of the SalesGoals.xls workbook contains the following information.
You need to retrieve the values for 2008 from within your application.
Which two actions should you perform? (Each correct answer provides part of the solution. Choose two.)
A. Instantiate a new RangeCoordinates object.
B. Instantiate the Microsoft Office Excel Web Services service.
C. Call the GetRangeA1 method by passing B3:D3 as a parameter.
D. Call the GetRange method along with a RangeCoordinates object by using the following parameters.
column=2, row=3, height=1, width=3
Answer: BC

Microsoft   70-542자격증   70-542기출문제   70-542최신덤프

NO.7 You are creating a Microsoft Office SharePoint Server 2007 site.
You create a Microsoft WinForms application to enter information about a user.
You write the following code segment. (Line numbers are included for reference only.)
01 Shared Sub AddUser(ByVal user_name As String())
02 ' Using
03 Dim site As SPSite = New SPSite("http://sitename")
04 Try
05 Dim context As ServerContext = _
06 ServerContext.GetContext(site)
07 Dim profileManager As UserProfileManager = New _
08 UserProfileManager(context)
09 ...
10 Finally
11 CType(site, IDisposable).Dispose()
12 End Try 13 End Sub
You need to add a user profile to the profile store.
Which code segment should you insert at line 09?
A. Private u As UserProfile = _
profileManager.GetUserProfile(user_name)
...
B. Private profileManager As UserProfileManager = New _
UserProfileManager(context)
Private u As UserProfile = profileManager.GetUserProfile(user_name)
...
u.Commit
C. Private user_name As String = "<UserProfile>"
...
user_name += userProfile + user_name
...
user_name += "</UserProfile>"
profileManager.CreateUserProfile(user_name)
D. Private u As UserProfile = _
profileManager.CreateUserProfile(user_name)
...
u.Commit
Answer: D

Microsoft시험문제   70-542인증   70-542최신덤프   70-542최신덤프   70-542   70-542시험문제

NO.8 You create a Microsoft Office SharePoint Server 2007 site. The site is configured to use a Shared
Services Provider (SSP) that manages user profiles. The user profiles contain user contact information.
You need to retrieve the telephone number of a user. What should you do?
A. Perform a keyword search by using the WorkPhone: prefix.
B. Obtain the value of the WorkPhone node from the SPUser.Xml property of the user.
C. Obtain the value of the UserProfile[PropertyConstants.WorkPhone] property of the user.
D. Obtain the value of the PropertyInformation.Description property where the value of the
PropertyInformation.Name property is WorkPhone.
Answer: C

Microsoft   70-542   70-542   70-542 dumps

NO.9 Your company stores employee details in a Microsoft SQL Server database. You are creating a Report
Center site on a Microsoft Office SharePoint Server 2007 server. You need to ensure that a report on
employee details can be generated in the Report Center site. What should you do?
A. Add the Data Connections library to the trusted file locations.
B. Import the application definition to the Business Data Connector.
C. Import the Office Data Connection file to the trusted data providers.
D. Create an Office Data Connection file in a trusted Data Connections library.
Answer: D

Microsoft   70-542   70-542

NO.10 You create an application for a Microsoft Office SharePoint Server 2007 server. You create a call
center dashboard. You create a Key Performance Indicator (KPI) list that contains KPIs. You add a KPI
Web Part to the dashboard to view KPIs. You need to permit users to view details that make up each
KPI. What should you do?
A. Add a link to each KPI in the list to take the user to a details page.
B. Add data to a custom SharePoint list and use built-in filter and view capabilities.
C. Add a Filter Web Part to the dashboard page and connect the page to the KPI list Web Part.
D. Filter the items in the KPI list Web Part by the indicator that the user wants to view.
Answer: A

Microsoft인증   70-542인증   70-542덤프   70-542자료   70-542 pdf

ITexamdump의 HP5-K01D덤프의 VCE테스트프로그램과 70-561덤프는 한방에 시험을 패스하도록 도와드립니다. ITexamdump 에서는 최신버전의 VCPC510시험에 대비한 고품질 덤프와 000-224시험 최신버전덤프를 제공해드립니다. 최고품질 EX0-101시험자료는 100% 간단하게 시험패스하도록 최선을 다하고 있습니다. IT인증시험패스는 이토록 간단합니다.

시험자료링크: http://www.itexamdump.com/70-542.html

Microsoft 자격증 70-502 시험문제와 답

Microsoft 인증 70-502시험대비덤프를 찾고 계시다면ITExamDump가 제일 좋은 선택입니다.저희ITExamDump에서는 여라가지 IT자격증시험에 대비하여 모든 과목의 시험대비 자료를 발췌하였습니다. ITExamDump에서 시험대비덤프자료를 구입하시면 시험불합격시 덤프비용환불신청이 가능하고 덤프 1년 무료 업데이트서비스도 가능합니다. ITExamDump를 선택하시면 후회하지 않을것입니다.

ITExamDump는 저희 제품을 구매한 분들이 100%통과율을 보장해드리도록 최선을 다하고 있습니다. ITExamDump를 선택한것은 시험패스와 자격증취득을 예약한것과 같습니다. ITExamDump의 믿음직한 Microsoft인증 70-502덤프를 공부해보세요.

만약 아직도Microsoft 70-502시험패스를 위하여 고군분투하고 있다면 바로 우리 ITExamDump를 선택함으로 여러분의 고민을 날려버릴 수 잇습니다, 우리 ITExamDump에서는 최고의 최신의 덤프자료를 제공 합으로 여러분을 도와Microsoft 70-502인증자격증을 쉽게 취득할 수 있게 해드립니다. 만약Microsoft 70-502인증시험으로 한층 업그레이드된 자신을 만나고 싶다면 우리ITExamDump선택을 후회하지 않을 것입니다, 우리ITExamDump과의 만남으로 여러분은 한번에 아주 간편하게Microsoft 70-502시험을 패스하실 수 있으며,Microsoft 70-502자격증으로 완벽한 스펙을 쌓으실 수 있습니다,

시험 번호/코드: 70-502
시험 이름: Microsoft (TS: Microsoft .NET Framework 3.5 – Windows Presentation Foundation)
당신이 구입하기 전에 시도
일년동안 무료 업데이트
100% 환불보장약속
100% 합격율 보장
Q&A: 128 문항
업데이트: 2013-09-29

한번에Microsoft인증70-502시험을 패스하고 싶으시다면 완전 페펙트한 준비가 필요합니다. 완벽한 관연 지식터득은 물론입니다. 우리ITExamDump의 자료들은 여러분의 이런 시험준비에 많은 도움이 될 것입니다.

70-502인증시험은Microsoft사의 인중시험입니다.Microsoft인증사의 시험을 패스한다면 it업계에서의 대우는 달라집니다. 때문에 점점 많은 분들이Microsoft인증70-502시험을 응시합니다.하지만 실질적으로70-502시험을 패스하시는 분들은 너무 적습니다.전분적인 지식을 터득하면서 완벽한 준비하고 응시하기에는 너무 많은 시간이 필요합니다.하지만 우리ITExamDump는 이러한 여러분의 시간을 절약해드립니다.

IT인증자격증을 취득하는 것은 IT업계에서 자신의 경쟁율을 높이는 유력한 수단입니다. 경쟁에서 밀리지 않으려면 자격증을 많이 취득하는 편이 안전합니다.하지만 IT자격증취득은 생각보다 많이 어려운 일입니다. Microsoft인증 70-502시험은 인기자격증을 취득하는데 필요한 시험과목입니다. ITExamDump는 여러분이 자격증을 취득하는 길에서의 없어서는 안될 동반자입니다. ITExamDump의Microsoft인증 70-502덤프로 자격증을 편하게 취득하는게 어떨가요?

70-502 덤프무료샘플다운로드하기: http://www.itexamdump.com/70-502.html

NO.1 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application defines a BrowserWindow class. Each instance of the BrowserWindow class allows the
user to browse a Web site in a separate window. When a new browser window is opened, the user is
redirected to a predefined URL.
You write the following code segment.
01 private void OpenNewWindow(object sender, RoutedEventArgs e)
02 {
03 Thread newWindowThread = new Thread(new
ThreadStart(NewThreadProc));
04
05 newWindowThread.Start();
06 }
07 private void NewThreadProc()
08 {
09 10 ?}
You need to ensure that the following requirements are met:
?The main window of the application is not blocked when an additional browser window is created.
?The application completes execution when the main window of the application is closed.
What should you do?
A. Insert the following code segment at line 04.
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = true;
Insert the following code segment at line 09.
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
Application app = new Application();
app.Run(newWindow);
B. Insert the following code segment at line 04.
newWindowThread.IsBackground = true;
Insert the following code segment at line 09.
newWindowThread.SetApartmentState(ApartmentState.STA);
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
Application app = new Application();
app.Run(newWindow);
C. Insert the following code segment at line 04.
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = false;
Insert the following code segment at line 09.
BrowserWindow newWindow = new BrowserWindow();
System.Windows.Threading.Dispatcher.Run();
newWindow.Show();
D. Insert the following code segment at line 04.
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = true;
Insert the following code segment at line 09.
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
System.Windows.Threading.Dispatcher.Run();
Answer: D

Microsoft기출문제   70-502   70-502   70-502 dumps

NO.2 5.
You add a CommandBinding element to the Window element. The command has a keyboard gesture
CTRL+H. The Window contains the following MenuItem control.
<MenuItem Header="Highlight Content"
Command="local:CustomCommands.Highlight" />
You need to ensure that the MenuItem control is disabled and the command is not executable when the
focus shifts to a TextBox control that does not contain any text.
What should you do?
A. Set the IsEnabled property for the MenuItem control in the GotFocus event handler for the TextBox
controls.
B. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code-behind file for the window.
Private Sub Highlight_CanExecute(ByVal sender As Object, _
ByVal e As CanExecuteRoutedEventArgs)
Dim txtBox As TextBox = CType(sender, TextBox)
e.CanExecute = (txtBox.Text.Length > 0)
End Sub
C. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code-behind file for the window.
Private Sub Highlight_CanExecute(ByVal sender As Object, _
ByVal e As CanExecuteRoutedEventArgs)
Dim txtBox As TextBox
txtBox = CType(e.Source, TextBox)
e.CanExecute = (txtBox.Text.Length > 0)
End Sub
D. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code-behind file for the window.
Private Sub Highlight_CanExecute(ByVal sender As Object, _
?ByVal e As CanExecuteRoutedEventArgs)
Dim Menu As MenuItem = CType(e.Source, MenuItem)
Dim txtBox As TextBox = CType(Menu.CommandTarget, TextBox)
Menu.IsEnabled = (txtBox.Text.Length > 0)
End Sub
Answer: C

Microsoft   70-502   70-502   70-502최신덤프
3. You create a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
The application is named EnterpriseApplication.exe.
You add the WindowSize parameter and the WindowPosition parameter to the Settings.settings file by
using the designer at the User Scope Level. The dimensions and position of the window are read from the
user configuration file.
The application must retain the original window size and position for each user who executes the
application.
You need to ensure that the following requirements are met:
?The window dimensions for each user are saved in the user configuration file.
?The user settings persist when a user exits the application.
Which configuration setting should you use?
A. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
Settings.Default.WindowPosition = new Point (this.Left,
this.Top);
Settings.Default.WindowSize = new Size (this.Width,
this.Height);
Settings.Default.Save();
B. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
RegistryKey appKey =
Registry.CurrentUser.CreateSubKey("Software\\EnterpriseApplication");
RegistryKey settingsKey = appKey.CreateSubKey("WindowSettings");
RegistryKey windowPositionKey =
settingsKey.CreateSubKey("WindowPosition");
RegistryKey windowSizeKey = settingsKey.CreateSubKey("WindowSize");
windowPositionKey.SetValue("X", this.Left);
windowPositionKey.SetValue("Y", this.Top);
windowSizeKey.SetValue("Width", this.Width);
windowSizeKey.SetValue("Height", this.Height);
C. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
XmlDocument doc = new XmlDocument();
doc.Load("EnterpriseApplication.exe.config");
XmlNode nodePosition =
doc.SelectSingleNode("//setting[@name=\'WindowPosition\']");
nodePosition.ChildNodes[0].InnerText = String.Format("{0},{1}",
this.Left, this.Top);
XmlNode nodeSize =
doc.SelectSingleNode("//setting[@name=\'WindowSize\']");
nodeSize.ChildNodes[0].InnerText = String.Format("{0},{1}",
this.Width, this.Height);
doc.Save("UserConfigDistractor2.exe.config");
D. private void Window_Closing(object sender,
System.ComponentModel.CancelEventArgs e){
StreamWriter sw =
new StreamWriter("EnterpriseApplication.exe.config", true);
sw.WriteLine("<EnterpriseApplication.Properties.Settings>");
sw.WriteLine("<setting name=
\"WindowSize\" serializeAs=\"String\">");
sw.WriteLine(String.Format("<value>{0},{1}</value>",
this.Width, this.Height));
sw.WriteLine("</setting>");
sw.WriteLine("<setting name=
\"WindowPosition\" serializeAs=\"String\">");
sw.WriteLine(String.Format("<value>{0},{1}</value>", this.Left,
this.Top));
sw.WriteLine("</setting>");
sw.WriteLine("</UserConfigProblem.Properties.Settings>");
sw.Close();
Answer: A

Microsoft자료   70-502최신덤프   70-502   70-502

NO.3 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application defines a BrowserWindow class. Each instance of the BrowserWindow class allows the
user to browse a Web site in a separate window. When a new browser window is opened, the user is
redirected to a predefined URL.
You write the following code segment.
01 Private Sub OpenNewWindow(ByVal sender As Object, _
02 ?ByVal e As RoutedEventArgs)
03 Dim newWindowThread As New Thread(New _
04 ThreadStart(AddressOf NewThreadProc))
05
06 newWindowThread.Start()
07 End Sub
08 Private Sub NewThreadProc()
09 10 End Sub
You need to ensure that the following requirements are met:
?The main window of the application is not blocked when an additional browser window is created.
?The application completes execution when the main window of the application is closed.
What should you do?
A. Insert the following code segment at line 05.
newWindowThread.SetApartmentState(ApartmentState.STA)
newWindowThread.IsBackground = True
Insert the following code segment at line 09.
Dim newWindow As New BrowserWindow()
newWindow.Show()
Dim app As New Application()
app.Run(newWindow)
B. Insert the following code segment at line 05.
newWindowThread.IsBackground = True
Insert the following code segment at line 09.
newWindowThread.SetApartmentState(ApartmentState.STA)
Dim newWindow As New BrowserWindow()
newWindow.Show()
Dim app As New Application()
app.Run(newWindow)
C. Insert the following code segment at line 05.
newWindowThread.SetApartmentState(ApartmentState.STA)
newWindowThread.IsBackground = False
Insert the following code segment at line 09.
Dim newWindow As New BrowserWindow()
System.Windows.Threading.Dispatcher.Run()
newWindow.Show()
D. Insert the following code segment at line 05.
newWindowThread.SetApartmentState(ApartmentState.STA)
newWindowThread.IsBackground = True
Insert the following code segment at line 09.
Dim newWindow As New BrowserWindow()
newWindow.Show()
System.Windows.Threading.Dispatcher.Run()
Answer: D 7. You are creating a Windows Presentation Foundation application by using Microsoft .NET
Framework 3.5.
The application uses several asynchronous operations to calculate data that is displayed to the user. An
operation named tommorowsWeather performs calculations that will be used by other operations.
You need to ensure that tommorowsWeather runs at the highest possible priority.
Which code segment should you use?
A. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Normal,
new OneArgDelegate(UpdateUserInterface),
weather);
B. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.DataBind,
new OneArgDelegate(UpdateUserInterface),
weather);
C. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Send,
new OneArgDelegate(UpdateUserInterface),
weather);
D. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Render,
new OneArgDelegate(UpdateUserInterface),
weather);
Answer: C 8. You are creating a Windows Presentation Foundation application by using Microsoft .NET
Framework 3.5.
The application uses several asynchronous operations to calculate data that is displayed to the user. An
operation named tommorowsWeather performs calculations that will be used by other operations.
You need to ensure that tommorowsWeather runs at the highest possible priority.
Which code segment should you use?
A. tomorrowsWeather.Dispatcher.BeginInvoke( _
System.Windows.Threading.DispatcherPriority.Normal, _
New OneArgDelegate(AddressOf UpdateUserInterface), weather)
B. tomorrowsWeather.Dispatcher.BeginInvoke( _
?System.Windows.Threading.DispatcherPriority.DataBind, _
?New OneArgDelegate(AddressOf UpdateUserInterface), weather)
C. tomorrowsWeather.Dispatcher.BeginInvoke( _
System.Windows.Threading.DispatcherPriority.Send, _
New OneArgDelegate(AddressOf UpdateUserInterface), weather)
D. tomorrowsWeather.Dispatcher.BeginInvoke( _
System.Windows.Threading.DispatcherPriority.Render, _
New OneArgDelegate(AddressOf UpdateUserInterface), weather)
Answer: C 9. You are creating a Windows Presentation Foundation application by using Microsoft .NET
Framework 3.5.
You create a window for the application.
You need to ensure that the following requirements are met:
?An array of strings is displayed by using a ListBox control in a two-column format.
?The data in the ListBox control flows from left to right and from top to bottom.
What should you do?
A. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="2"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following C# code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString;
B. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following C# code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString;
C. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following C# code to associate the array of strings to the ListBox control.
myListView.ItemsSource = arrayOfString;
D. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following C# code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString;
Answer: A

Microsoft기출문제   70-502덤프   70-502시험문제   70-502
10. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You create a window for the application.
You need to ensure that the following requirements are met:
?An array of strings is displayed by using a ListBox control in a two-column format.
?The data in the ListBox control flows from left to right and from top to bottom.
What should you do?
A. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="2"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following VB.net code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString
B. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following vb.net code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString
C. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following vb.net code to associate the array of strings to the ListBox control.
myListView.ItemsSource = arrayOfString
D. Use a ListBox control defined in the following manner.
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Use the following vb.net code to associate the array of strings to the ListBox control.
myList.ItemsSource = arrayOfString
Answer: A

Microsoft dumps   70-502덤프   70-502최신덤프   70-502
11. You create a form by using Windows Presentation Foundation and Microsoft .NET Framework 3.5.
The form contains a status bar.
You plan to add a ProgressBar control to the status bar.
You need to ensure that the ProgressBar control displays the progress of a task for which you cannot
predict the completion time.
Which code segment should you use?
A. progbar.IsIndeterminate = true;
B. progbar.IsIndeterminate = false;
C. progbar.HasAnimatedProperties = true;
D. progbar.HasAnimatedProperties = false;
Answer: A

Microsoft   70-502 dump   70-502인증   70-502   70-502기출문제
12. You create a form by using Windows Presentation Foundation and Microsoft .NET Framework 3.5.
The form contains a status bar.
You plan to add a ProgressBar control to the status bar.
You need to ensure that the ProgressBar control displays the progress of a task for which you cannot
predict the completion time.
Which code segment should you use?
A. progbar.IsIndeterminate = True
B. progbar.IsIndeterminate = False
C. progbar.HasAnimatedProperties = True
D. progbar.HasAnimatedProperties = False
Answer: A

Microsoft   70-502시험문제   70-502덤프   70-502   70-502최신덤프   70-502
13. You are converting a Windows Forms application to a Windows Presentation Foundation (WPF)
application. You use Microsoft .NET Framework 3.5 to create the WPF application.
The WPF application will reuse 30 forms of the Windows Forms application.
The WPF application contains the following class definition.
public class OwnerWindow :
System.Windows.Forms.IWin32Window
private IntPtr handle;
public IntPtr Handle
get { return handle; }
set { handle=value; }
}
}
You write the following code segment in the WPF application. (Line numbers are included for reference
only.)
01 public DialogResult LaunchWindowsFormsDialog(
02 ?Form dialog, Window wpfParent)
03 {
04 WindowInteropHelper helper=new
05 ?WindowInteropHelper(wpfParent);
06 OwnerWindow owner=new OwnerWindow();
07
08 }
You need to ensure that the application can launch the reusable forms as modal dialogs.
Which code segment should you insert at line 07?
A.owner.Handle = helper.Owner;
return dialog.ShowDialog(owner);
B. owner.Handle = helper.Handle;
return dialog.ShowDialog(owner);
C. owner.Handle = helper.Owner;
bool? result = wpfParent.ShowDialog();
if (result.HasValue)
return result.Value ? System.Windows.Forms.DialogResult.OK :
System.Windows.Forms.DialogResult.Cancel;
else
return System.Windows.Forms.DialogResult.Cancel;
D. owner.Handle = helper.Handle;
bool? result = wpfParent.ShowDialog();
if (result.HasValue)
return result.Value ? System.Windows.Forms.DialogResult.OK :
System.Windows.Forms.DialogResult.Cancel;
else
return System.Windows.Forms.DialogResult.Cancel;
Answer: B

Microsoft   70-502   70-502   70-502 dump
14. You are converting a Windows Forms application to a Windows Presentation Foundation (WPF)
application. You use Microsoft .NET Framework 3.5 to create the WPF application.
The WPF application will reuse 30 forms of the Windows Forms application.
The WPF application contains the following class definition.
Public Class OwnerWindow
Implements System.Windows.Forms.IWin32Window
Private handle_Renamed As IntPtr
Public Property Handle() As IntPtr _
Implements System.Windows.Forms.IWin32Window.Handle
Get
Return handle_Renamed
End Get
Set(ByVal value As IntPtr)
handle_Renamed = value
End Set
End Property
End Class
You write the following code segment in the WPF application. (Line numbers are included for reference
only.)
01 Public Function LaunchWindowsFormsDialog(ByVal dialog As _
02 ?System.Windows.Forms.Form, ByVal wpfParent As Window) As _
03 ?System.Windows.Forms.DialogResult
04 Dim helper As New
05 System.Windows.Interop.WindowInteropHelper(wpfParent)
07 Dim owner As New OwnerWindow()
08
09 End Function
You need to ensure that the application can launch the reusable forms as modal dialogs.
Which code segment should you insert at line 08?
Aowner.Handle = helper.Owner
Dim db As New System.Windows.Forms.DialogResult()
Return db
B. owner.Handle = helper.Owner
Return dialog.ShowDialog(owner)
C. owner.Handle = helper.Owner
Dim result As Nullable(Of Boolean) = wpfParent.ShowDialog()
If result.HasValue Then
eturn If(result.Value, System.Windows.Forms.DialogResult.OK, _
?System.Windows.Forms.DialogResult.Cancel)
Else
Return System.Windows.Forms.DialogResult.Cancel
End If
D. owner.Handle = helper.Handle
Dim result As Nullable(Of Boolean) = wpfParent.ShowDialog()
If result.HasValue Then
Return If(result.Value, System.Windows.Forms.DialogResult.OK, _
?System.Windows.Forms.DialogResult.Cancel)
Else
Return System.Windows.Forms.DialogResult.Cancel
End If
Answer: B 15. You are creating a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 3.5.
The WPF application has a Grid control named rootGrid.
You write the following XAML code fragment.
<Window x:Class="MCP.HostingWinFormsControls"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/
presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="HostingWinFormsControls"
Loaded="Window_Loaded">
<Grid x:Name="rootGrid">
</Grid>
</Window>
You need to ensure that each time the WPF window opens, a Windows Forms control named
MyCustomFormsControl is added to rootGrid.
Which code segment should you use?
A.private void Window_Loaded(object sender, RoutedEventArgs e)
WindowsFormsHost host = new WindowsFormsHost();
MyCustomFormsControl formsControl = new MyCustomFormsControl();
host.Child = formsControl;
rootGrid.Children.Add(host);
B. private void Window_Loaded(object sender, RoutedEventArgs e)
ElementHost host = new ElementHost();
MyCustomFormsControl formsControl=new MyCustomFormsControl();
host.Child=formsControl;
rootGrid.Children.Add(host);
C. private void Window_Loaded(object sender, RoutedEventArgs e)
MyCustomFormsControl formsControl=new MyCustomFormsControl();
formsControl.CreateControl();
HwndSource source = HwndSource.FromHwnd(formsControl.Handle);
UIElement formsElement = source.RootVisual as UIElement;
rootGrid.Children.Add(formsElement);
D. private void Window_Loaded(object sender, RoutedEventArgs e)
MyCustomFormsControl formsControl=new MyCustomFormsControl();
formsControl.CreateControl();
HwndTarget target = new HwndTarget(formsControl.Handle);
UIElement formsElement = target.RootVisual as UIElement;
rootGrid.Children.Add(formsElement);
Answer: A

Microsoft   70-502   70-502 dumps
16.You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET
Framework 3.5.
The WPF application has a Grid control named rootGrid.
You write the following XAML code fragment.
<Window x:Class="MCP.HostingWinFormsControls"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/
presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="HostingWinFormsControls"
Loaded="Window_Loaded">
<Grid x:Name="rootGrid">
</Grid>
</Window>
You need to ensure that each time the WPF window opens, a Windows Forms control named
MyCustomFormsControl is added to rootGrid.
Which code segment should you use?
APrivate Sub Window_Loaded(ByVal sender As Object, ByVal e As _
RoutedEventArgs)
Dim host As New WindowsFormsHost()
Dim formsControl As New MyCustomFormsControl()
host.Child = formsControl;
rootGrid.Children.Add(host);
End Sub
B. Private Sub Window_Loaded(ByVal sender As Object, ByVal e As _
RoutedEventArgs)
Dim host As New ElementHost()
Dim formsControl As New MyCustomFormsControl()
host.Child = formsControl;
rootGrid.Children.Add(host);
End Sub
C. Private Sub Window_Loaded(ByVal sender As Object, ByVal e As _
RoutedEventArgs)
Dim formsControl As New MyCustomFormsControl()
formsControl.CreateControl()
Dim target As New HwndTarget(formsControl.Handle)
Dim formsElement As UIElement = TryCast(target.RootVisual, _
UIElement)
rootGrid.Children.Add(formsElement)
End Sub
D. Private Sub Window_Loaded(ByVal sender As Object, ByVal e As _
RoutedEventArgs)
Dim formsControl As New MyCustomFormsControl()
formsControl.CreateControl()
Dim source As HwndSource = HwndSource.FromHwnd(formsControl.Handle)
Dim formsElement As UIElement = TryCast(source.RootVisual, _
UIElement)
rootGrid.Children.Add(formsElement)
End Sub
Answer: A

Microsoft   70-502 pdf   70-502
17. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You include functionality in the application to troubleshoot the window behavior.
You need to display a list of UI elements at a position in the window that is decided by the mouse click.
You also need to ensure that the list of elements is displayed in a message box.
Which code segment should you include in the code-behind file?
Astring controlsToDisplay = string.Empty;
private void Window_MouseDown(object sender, MouseButtonEventArgs e) {
controlsToDisplay = ((UIElement)sender).ToString();
MessageBox.Show(controlsToDisplay);
B. string controlsToDisplay = string.Empty;
private void Window_MouseDown(object sender, MouseButtonEventArgs e) {
for (int i = 0; i < this.VisualChildrenCount; i++) {
controlsToDisplay + = this.GetVisualChild(i).ToString() + "\r\n";
MessageBox.Show(controlsToDisplay);
C. string controlsToDisplay = string.Empty;
private void Window_MouseDown (object sender, MouseButtonEventArgs e)
Visual myVisual;
for (int i = 0; i < VisualTreeHelper.GetChildrenCount(sender as
Visual); i++) {
myVisual = (Visual)VisualTreeHelper.GetChild(sender as Visual, i);
controlsToDisplay += myVisual.GetType().ToString() + "\r\n";
MessageBox.Show(controlsToDisplay);
D. string controlsToDisplay = string.Empty;
private void Window_MouseDown(object sender, MouseButtonEventArgs e) {
Point pt = e.GetPosition(this);
VisualTreeHelper.HitTest(this, null, new
HitTestResultCallback(HitTestCallback), new
PointHitTestParameters(pt));
MessageBox.Show(controlsToDisplay);
private HitTestResultBehavior HitTestCallback(HitTestResult result) {
controlsToDisplay += result.VisualHit.GetType().ToString() + "\r\n";
return HitTestResultBehavior.Continue;
Answer: D

Microsoft   70-502자격증   70-502   70-502자격증
18. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You include functionality in the application to troubleshoot the window behavior.
You need to display a list of UI elements at a position in the window that is decided by the mouse click.
You also need to ensure that the list of elements is displayed in a message box.
Which code segment should you include in the code-behind file?
A.Dim controlsToDisplay As String = String.Empty
Private Sub Window_MouseDown(ByVal sender As Object, _
ByVal e As MouseButtonEventArgs)
controlsToDisplay = CType(sender, UIElement).ToString()
MessageBox.Show(controlsToDisplay)
End Sub
B. Dim controlsToDisplay As String = String.Empty
Private Sub Window_MouseDown(ByVal sender As Object, _
ByVal e As MouseButtonEventArgs)
For i = 0 To VisualChildrenCount - 1
controlsToDisplay += GetVisualChild(i).ToString() + "\r\n"
Next
MessageBox.Show(controlsToDisplay)
End Sub
C. Dim controlsToDisplay As String = String.Empty
Private Sub Window_MouseDown(ByVal sender As Object, _
ByVal e As MouseButtonEventArgs)
Dim myVisual As Visual()
For i = 0 To VisualTreeHelper.GetChildrenCount(CType(sender, _
Visual)) - 1
myVisual(i) = CType(VisualTreeHelper.GetChild(CType(sender, _
Visual), i), Visual)
controlsToDisplay += myVisual.GetType().ToString() + "\r\n"
Next
MessageBox.Show(controlsToDisplay)
End Sub
D. Dim controlsToDisplay As String = String.Empty
Private Sub Window_MouseDown(ByVal sender As Object, _
ByVal e As MouseButtonEventArgs)
Dim pt As Point = e.GetPosition(Me)
VisualTreeHelper.HitTest(Me, Nothing, _
New HitTestResultCallback(AddressOf HitTestCallback), _
New PointHitTestParameters(pt))
MessageBox.Show(controlsToDisplay)
End Sub
Private Function HitTestCallback(ByVal result As HitTestResult) As _
HitTestResultBehavior
controlsToDisplay += result.VisualHit.GetType().ToString() + "\r\n"
Return HitTestResultBehavior.Continue
End Function
Answer: D

Microsoft덤프   70-502   70-502   70-502기출문제   70-502
19. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You write the following code segment (Line numbers are included for reference only).
01 Dim content As Object
02 Dim fileName As String = "theFile"
03 Using xamlFile As New FileStream(fileName & ".xaml", _
04 FileMode.Open, FileAccess.Read)
06 content = TryCast(XamlReader.Load(xamlFile), Object)
07 End Using
08 Using container As Package = Package.Open(fileName & ".xps", _
09 FileMode.Create)1011 End Using
You need to ensure that the following requirements are met:
The application converts an existing flow document into an XPS document.
The XPS document is generated by using the flow document format.
The XPS document has the minimum possible size.
Which code segment should you insert at line 10?
A
Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As XpsSerializationManager = New _
System.Windows.Xps.XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
rsm.SaveAsXaml(paginator)
End Using
B. Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
rsm.Commit()
End Using
C. Using xpsDoc As New XpsDocument(container, _
CompressionOption.Maximum)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
Dim paginator As DocumentPaginator = (CType(content, _
IDocumentPaginatorSource)).DocumentPaginator
rsm.SaveAsXaml(paginator)
End Using
D. Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
Dim paginator As DocumentPaginator = (CType(content, _
IDocumentPaginatorSource)).DocumentPaginator
rsm.SaveAsXaml(paginator)
End Using
Answer: C

Microsoft   70-502   70-502 pdf
20. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You write the following code segment (Line numbers are included for reference only).
01 Dim content As Object
02 Dim fileName As String = "theFile"
03 Using xamlFile As New FileStream(fileName & ".xaml", _
04 ?FileMode.Open, FileAccess.Read)
06 content = TryCast(XamlReader.Load(xamlFile), Object)
07 End Using
08 Using container As Package = Package.Open(fileName & ".xps", _
09 ?FileMode.Create)10 11 End Using
You need to ensure that the following requirements are met:
The application converts an existing flow document into an XPS document.
The XPS document is generated by using the flow document format.
The XPS document has the minimum possible size.
Which code segment should you insert at line 10?
A.Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As XpsSerializationManager = New _
System.Windows.Xps.XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
rsm.SaveAsXaml(paginator)
End Using
B. Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
rsm.Commit()
End Using
C. Using xpsDoc As New XpsDocument(container, _
CompressionOption.Maximum)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
Dim paginator As DocumentPaginator = (CType(content, _
IDocumentPaginatorSource)).DocumentPaginator
rsm.SaveAsXaml(paginator)
End Using
D. Using xpsDoc As New XpsDocument(container, _
CompressionOption.SuperFast)
Dim rsm As New XpsSerializationManager(New _
XpsPackagingPolicy(xpsDoc), False)
Dim paginator As DocumentPaginator = (CType(content, _
IDocumentPaginatorSource)).DocumentPaginator
rsm.SaveAsXaml(paginator)
End Using
Answer: C

Microsoft인증   70-502 dump   70-502자격증   70-502
21. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application displays documents by using an instance of the FlowDocumentPageViewer class. The
instance is named fdpv. Users can highlight and annotate the content of the documents.
You need to ensure that annotations made to a document are saved and rendered when the document is
displayed again.
Which code segment should you use?
A.protected void OnTextInput(object sender, RoutedEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service == null) {
AnnotationStream = new FileStream("annotations.xml",
FileMode.Open, FileAccess.ReadWrite);
service = new AnnotationService(fdpv);
AnnotationStore store = new XmlStreamStore(AnnotationStream);
service.Enable(store);
}
}
private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service != null && service.IsEnabled) {
service.Store.Flush();
service.Disable();
AnnotationStream.Close();
}
}
B. protected void OnLoaded(object sender, RoutedEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service == null) {
AnnotationStream = new FileStream("annotations.xml",
FileMode.Open, FileAccess.ReadWrite);
service = new AnnotationService(fdpv);
}
}
private void OnClosing(object sender,
?System.ComponentModel.CancelEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service != null && service.IsEnabled) {
service.Store.Flush();
service.Disable();
AnnotationStream.Close();
}
}
C. protected void OnLoaded(object sender, RoutedEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service == null) {
AnnotationStream = new FileStream("annotations.xml",
FileMode.Open, FileAccess.ReadWrite);
service = new AnnotationService(fdpv);
AnnotationStore store = new XmlStreamStore(AnnotationStream);
service.Enable(store);
}
}
private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service != null && service.IsEnabled) {
service.Store.Flush();
service.Disable();
AnnotationStream.Close();
}
}
D. protected void OnLoaded(object sender, RoutedEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service == null) {
AnnotationStream = new FileStream("annotations.xml",
FileMode.Open, FileAccess.ReadWrite);
service = new AnnotationService(fdpv);
AnnotationStore store = new XmlStreamStore(AnnotationStream);
service.Enable(store);
}
}
private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e) {
AnnotationService service = AnnotationService.GetService(fdpv);
if (service != null && service.IsEnabled) {
service.Disable();
AnnotationStream.Close();
}
}
Answer: C

Microsoft dumps   70-502   70-502자료
22. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application will display documents by using an instance of the FlowDocumentPageViewer class. The
instance is named fdpv. Users can highlight and annotate the content of the documents.
You need to ensure that annotations made to a document are saved and rendered when the document is
displayed again.
Which code segment should you use?
A. Protected Sub OnTextInput(ByVal sender As Object, _
ByVal e As RoutedEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If service Is Nothing Then
AnnotationStream = New FileStream("annotations.xml", _
FileMode.Open, FileAccess.ReadWrite)
service = New AnnotationService(fdpv)
Dim store As AnnotationStore = _
New XmlStreamStore(AnnotationStream)
service.Enable(store)
End If
End Sub
Private Sub OnClosing(ByVal sender As Object, _
ByVal e As System.ComponentModel.CancelEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If Not service Is Nothing AndAlso service.IsEnabled Then
service.Store.Flush()
srvice.Disable()
AnnotationStream.Close()
End If
End Sub
B. Protected Sub OnLoaded(ByVal sender As Object, _
ByVal e As RoutedEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If service Is Nothing Then
AnnotationStream = New FileStream("annotations.xml", _
FileMode.Open, FileAccess.ReadWrite)
service = New AnnotationService(fdpv)
End If
End Sub
Private Sub OnClosing(ByVal sender As Object, _
ByVal e As System.ComponentModel.CancelEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If Not service Is Nothing AndAlso service.IsEnabled Then
service.Store.Flush()
service.Disable()
AnnotationStream.Close()
End If
End Sub
C. Protected Sub OnLoaded(ByVal sender As Object, _
ByVal e As RoutedEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If service Is Nothing Then
AnnotationStream = New FileStream("annotations.xml", _
FileMode.Open, FileAccess.ReadWrite)
service = New AnnotationService(fdpv)
Dim store As AnnotationStore = New _
XmlStreamStore(AnnotationStream)
service.Enable(store)
End If
End Sub
Private Sub OnClosing(ByVal sender As Object, _
ByVal e As System.ComponentModel.CancelEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If Not service Is Nothing AndAlso service.IsEnabled Then
service.Store.Flush()
service.Disable()
AnnotationStream.Close()
End If
End Sub
D. Protected Sub OnLoaded(ByVal sender As Object, _
ByVal e As RoutedEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If service Is Nothing Then
AnnotationStream = New FileStream("annotations.xml", _
FileMode.Open, FileAccess.ReadWrite)
service = New AnnotationService(fdpv)
Dim store As AnnotationStore = New _
XmlStreamStore(AnnotationStream)
service.Enable(store)
End If
End Sub
Private Sub OnClosing(ByVal sender As Object, _
ByVal e As System.ComponentModel.CancelEventArgs)
Dim service As AnnotationService = _
AnnotationService.GetService(fdpv)
If Not service Is Nothing AndAlso service.IsEnabled Then
service.Disable()
AnnotationStream.Close()
End If
End Sub
Answer: C

Microsoft   70-502기출문제   70-502   70-502시험문제
23. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You plan to use the application to preview video files.
You write the following XAML code fragment.
01 <Window
01 x:Class="myClass" xmlns=
01 "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
01 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
01 Title="myWindow" Height="300" Width="300">
02 <StackPanel Background="Black">
03
04 <StackPanel HorizontalAlignment="Center"
04 Orientation="Horizontal">
05 ?<Button Name="btnPlay" Margin="10" Content="Play" />
06 </StackPanel>
07
08 </StackPanel>
09 </Window>
You need to ensure that the application plays only the first 10 seconds of a video that you want to preview.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Insert the following XAML fragment at line 03.
<MediaElement Name="myMediaElement" Stretch="Fill" />
B. Insert the following XAML fragment at line 03.
<MediaElement Name="myMediaElement"
Source="MediaFileSelected.wmv" Stretch="Fill" />
C. Create the following method in the code-behind file.
public void PlayMedia(object sender, RoutedEventArgs args) {
myMediaElement.Play();
}
D. Insert the following XAML fragment at line 07.
<StackPanel.Triggers>
<EventTrigger RoutedEvent="Button.Click" SourceName="btnPlay">
<EventTrigger.Actions>
<BeginStoryboard Name= "myBegin">
<Storyboard SlipBehavior="Slip">
<MediaTimeline Source="MediaFileSelected.wmv"
Storyboard.TargetName="myMediaElement"
BeginTime="0:0:0" Duration="0:0:10" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</StackPanel.Triggers>
E. Insert the following XAML fragment at line 07.
<StackPanel.Triggers>
<EventTrigger RoutedEvent="Button.Click" SourceName="btnPlay">
<EventTrigger.Actions>
<BeginStoryboard Name= "myBegin">
<Storyboard SlipBehavior="Slip">
<MediaTimeline
Storyboard.TargetName="myMediaElement"
BeginTime="0:0:0" Duration="0:0:10" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</StackPanel.Triggers>
Answer: A AND D

Microsoft   70-502   70-502최신덤프   70-502
24. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You plan to use the application to preview video files.
You write the following XAML code fragment.
01 <Window
01 x:Class="myClass" xmlns=
01 "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
01 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
01 Title="myWindow" Height="300" Width="300">
02 <StackPanel Background="Black">
03
04 <StackPanel HorizontalAlignment="Center"
04 Orientation="Horizontal">
05 ?<Button Name="btnPlay" Margin="10" Content="Play" />
06 </StackPanel>
07
08 </StackPanel>
09 </Window>
You need to ensure that the application plays only the first 10 seconds of a video that you want to preview.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Insert the following XAML fragment at line 03.
<MediaElement Name="myMediaElement" Stretch="Fill" />
B. Insert the following XAML fragment at line 03.
<MediaElement Name="myMediaElement"
Source="MediaFileSelected.wmv" Stretch="Fill" />
C. Create the following method in the code-behind file.
Public Sub PlayMedia(ByVal sender As Object, _
ByVal args As RoutedEventArgs)
myMediaElement.Play()
End Sub
D. Insert the following XAML fragment at line 07.
<StackPanel.Triggers>
<EventTrigger RoutedEvent="Button.Click" SourceName="btnPlay">
<EventTrigger.Actions>
<BeginStoryboard Name= "myBegin">
<Storyboard SlipBehavior="Slip">
<MediaTimeline Source="MediaFileSelected.wmv"
Storyboard.TargetName="myMediaElement"
BeginTime="0:0:0" Duration="0:0:10" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</StackPanel.Triggers>
E. Insert the following XAML fragment at line 07.
<StackPanel.Triggers>
<EventTrigger RoutedEvent="Button.Click" SourceName="btnPlay">
<EventTrigger.Actions>
<BeginStoryboard Name= "myBegin">
<Storyboard SlipBehavior="Slip">
<MediaTimeline
Storyboard.TargetName="myMediaElement"
BeginTime="0:0:0" Duration="0:0:10" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</StackPanel.Triggers>
Answer: A AND D

Microsoft   70-502   70-502   70-502   70-502기출문제
25. You are creating a Windows Presentation Foundation application.
You create a window for the application. The application contains an audio file named
AudioFileToPlay.wav.
You need to ensure that the audio file is played each time you click the client area of the window.
What should you do?
A. Add the following XAML line of code to the window.
<MediaElement Source="AudioFileToPlay.wav" />
B. Add the following code segment to the window constructor method in the code-behind file.
SoundPlayer player = new SoundPlayer();
player.SoundLocation = "AudioFileToPlay.wav";
player.Play();
C. Add the following code segment to the window MouseDown method in the code-behind file.
MediaPlayer player = new MediaPlayer();
player.SetValue(MediaElement.SourceProperty,new Uri("AudioFileToPlay.wav", UriKind.Relative));
player.Play();
D. Add the following XAML code fragment to the window.
<Window.Triggers>
<EventTrigger RoutedEvent="Window.MouseDown">
<EventTrigger.Actions>
<SoundPlayerAction Source="AudioFileToPlay.wav"/>
</EventTrigger.Actions>
</EventTrigger>
</Window.Triggers>
Answer: D

Microsoft pdf   70-502덤프   70-502 dumps   70-502
26. You are creating a Windows Presentation Foundation application.
You create a window for the application. The application contains an audio file named
AudioFileToPlay.wav.
You need to ensure that the following requirements are met:
The audio file is played each time you click the client area of the window.
The window provides optimal performance when the audio file is being played.
What should you do?
A
Add the following XAML line of code to the window.
<MediaElement Source="AudioFileToPlay.wav" />
B. Add the following code segment to the window constructor method in the code-behind file.
Dim player As New SoundPlayer()
player.SoundLocation = "AudioFileToPlay.wav"
player.Play()
C. Add the following code segment to the window MouseDown method in the code-behind file.
Dim player As New MediaElement()
player.Source = New Uri("AudioFileToPlay.wav", UriKind.Relative)
player.LoadedBehavior = MediaState.Manual
player.Play()
D. Add the following XAML code fragment to the window.
<Window.Triggers>
<EventTrigger RoutedEvent="Window.MouseDown">
<EventTrigger.Actions>
<SoundPlayerAction Source="AudioFileToPlay.wav"/>
</EventTrigger.Actions>
</EventTrigger>
</Window.Triggers>
Answer: D

Microsoft   70-502   70-502인증   70-502 dump   70-502최신덤프   70-502
27. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5. Your project contains a folder named Data.
You add an MP3 file named song.mp3 in the Data folder. You set the Build Action property of the MP3 file
to Resource.
You need to access the MP3 file from the application.
Which code segment should you use?
A. Uri uri = new Uri("/Data/song.mp3", UriKind.Relative);
StreamResourceInfo sri=Application.GetContentStream(uri);
Stream stream=sri.Stream;
B. Uri uri = new Uri("/Data/song.mp3", UriKind.Relative);
StreamResourceInfo sri=Application.LoadComponent(uri);
Stream stream=sri.Stream;
C. Uri uri = new Uri("/Data/song.mp3", UriKind.Relative);
StreamResourceInfo sri=Application.GetRemoteStream(uri);
Stream stream=sri.Stream;
D. Uri uri = new Uri("/Data/song.mp3", UriKind.Relative);
StreamResourceInfo sri=Application.GetResourceStream(uri);
Stream stream=sri.Stream;
Answer: D

Microsoft   70-502   70-502   70-502최신덤프
28. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5. Your project contains a folder named Data.
You add a .MP3 file named song.mp3 in the Data folder. You set the Build Action property of the
application to Resource.
You need to access the .MP3 file from one of the application classes.
Which code segment should you use?
A. Dim uri As New Uri("/Data/song.mp3", UriKind.Relative)
Dim sri As StreamResourceInfo = Application.GetContentStream(uri)
Dim stream As Stream = sri.Stream
B. Dim uri As New Uri("/Data/song.mp3", UriKind.Relative)
Dim sri As StreamResourceInfo = Application.LoadComponent(uri)
Dim stream As Stream = sri.Stream
C. Dim uri As New Uri("/Data/song.mp3", UriKind.Relative)
Dim sri As StreamResourceInfo = Application.GetRemoteStream(uri)
Dim stream As Stream = sri.Stream
D. Dim uri As New Uri("/Data/song.mp3", UriKind.Relative)
Dim sri As StreamResourceInfo = Application.GetResourceStream(uri)
Dim stream As Stream = sri.Stream
Answer: D

Microsoft자격증   70-502자격증   70-502   70-502   70-502
29. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application has a window that programatically displays an image. The window contains a grid named
theGrid.
The window displays images in their actual size of 1024 pixels wide or larger. You want the images to be
200 pixels wide.
You write the following code segment. (Line numbers are included for reference only.)
01 Image theImage=new Image();
02 theImage.Width=200;
03 BitmapImage theBitmapImage=new BitmapImage();
04
05 theImage.Source=theBitmapImage;
06 theGrid.Children.Add(theImage);
You need to ensure that the application meets the following requirements:
The window uses the least amount of memory to display the image.
The image is not skewed.
Which code segment should you insert at line 04?
A. theBitmapImage.UriSource=new Uri(@"imageToDisplay.jpg");
theBitmapImage.DecodePixelWidth=200;
B. theBitmapImage.BeginInit();
theBitmapImage.UriSource=new Uri(@"imageToDisplay.jpg");
theBitmapImage.EndInit();
C. theBitmapImage.BeginInit();
theBitmapImage.UriSource=new Uri(@"imageToDisplay.jpg");
theBitmapImage.DecodePixelWidth=200;
theBitmapImage.EndInit();
D. theBitmapImage.BeginInit();
theBitmapImage.UriSource=new Uri(@"imageToDisplay.jpg");
theBitmapImage.DecodePixelWidth=200;
theBitmapImage.DecodePixelHeight=200;
theBitmapImage.EndInit();
Answer: C

Microsoft   70-502   70-502   70-502최신덤프
30. You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application has a window that programatically displays an image. The window contains a grid named
theGrid.
The window displays images in their actual size. You want the images to be 200 pixels wide. You write the
following code segment.
01 Dim theImage As New Image()
02 theImage.Width = 200
03 Dim theBitmapImage As New BitmapImage()
04
05 theImage.Source = theBitmapImage
06 theGrid.Children.Add(theImage)
You need to ensure that the application meets the following requirements:
The window uses the least amount of memory to display the image.
The image is not skewed.
Which code segment should you insert at line 04?
A. theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage.DecodePixelWidth = 200
B. theBitmapImage.BeginInit()
theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage.EndInit()
C. theBitmapImage.BeginInit()
theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage.DecodePixelWidth = 200
theBitmapImage.EndInit()
D. theBitmapImage.BeginInit()
theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage.EndInit()
theBitmapImage.DecodePixelWidth = 200
theBitmapImage.DecodePixelHeight = 200
Answer: C

Microsoft   70-502인증   70-502   70-502기출문제

NO.4 You have created a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5. The application, named EnterpriseApplication.exe, runs over the network.
You add the WindowSize parameter and the WindowPosition parameter to the Settings.settings file by
using the designer at the User Scope Level. The dimensions and position of the window are read from the
user configuration file.
The application must retain the original window size and position for users executing the application.
You need to ensure that the following requirements are met:
?The window dimensions for each user are saved in the user configuration file.
?User settings persist when a user exits the application.
Which configuration setting should you use?
A. Private Sub OnClosing(ByVal sender As Object, ByVal e _
As System.ComponentModel.CancelEventArgs)
My.Settings.Default.WindowPosition = New Point(Me.Left, Me.Top)
My.Settings.Default.WindowSize = New Size(Me.Width, Me.Height)
My.Settings.Default.Save()
End Sub
B. Private Sub OnClosing(ByVal sender As Object, ByVal e As _
System.ComponentModel.CancelEventArgs)
Dim appKey As RegistryKey = _
Registry.CurrentUser.CreateSubKey("Software\EnterpriseApplication")
Dim settingsKey As RegistryKey = _
appKey.CreateSubKey("WindowSettings")
Dim windowPositionKey As RegistryKey = _
settingsKey.CreateSubKey("WindowPosition")
Dim windowSizeKey As RegistryKey = _
settingsKey.CreateSubKey("WindowSize")
windowPositionKey.SetValue("X", Me.Left)
windowPositionKey.SetValue("Y", Me.Top)
windowSizeKey.SetValue("Width", Me.Width)
windowSizeKey.SetValue("Height", Me.Height)
End Sub
C. Private Sub OnClosing(ByVal sender As Object, ByVal e As _
System.ComponentModel.CancelEventArgs)
Dim doc As New System.Xml.XmlDocument()
doc.Load("EnterpriseApplication.exe.config")
Dim nodePosition As System.Xml.XmlNode = _
doc.SelectSingleNode("//setting[@name='WindowPosition']")
nodePosition.ChildNodes(0).InnerText = String.Format("{0},{1}", _
Me.Left, Me.Top)
Dim nodeSize As System.Xml.XmlNode = _
doc.SelectSingleNode("//setting[@name='WindowSize']")
nodeSize.ChildNodes(0).InnerText = String.Format("{0},{1}", _
Me.Width, Me.Height)
doc.Save("UserConfigDistractor2.exe.config")
End Sub
D. Private Sub Window_Closing(ByVal sender As Object, ByVal e As _
System.ComponentModel.CancelEventArgs)
Dim sw As New StreamWriter("EnterpriseApplication.exe.config", True)
sw.WriteLine("<EnterpriseApplication.Properties.Settings>")
sw.WriteLine("<setting name=""WindowSize"" serializeAs=""String"">")
sw.WriteLine(String.Format("<value>{0},{1}</value>", Me.Width, _
Me.Height))
sw.WriteLine("</setting>")
sw.WriteLine("<setting name=""WindowPosition"" _
serializeAs=""String"">")
sw.WriteLine(String.Format("<value>{0},{1}</value>", Me.Left, _
Me.Top))
sw.WriteLine("</setting>")
sw.WriteLine("</UserConfigProblem.Properties.Settings>")
sw.Close()
End Sub
Answer: A

Microsoft   70-502   70-502자료   70-502 pdf

NO.5 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
You add a CommandBinding element to the Window element. The command has a keyboard gesture
CTRL+H. The Window contains the following MenuItem control.
<MenuItem Header="Highlight Content"
Command="local:CustomCommands.Highlight" />
You need to ensure that the MenuItem control is disabled and the command is not executable when the
focus shifts to a TextBox control that does not contain any text.
What should you do?
A. Set the IsEnabled property for the MenuItem control in the GotFocus event handler for the TextBox
controls.
B. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code-behind file for the window.
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
TextBox txtBox = sender as TextBox;
e.CanExecute = (txtBox.Text.Length > 0);
}
C. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code behind file for the window.
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
TextBox txtBox = e.Source as TextBox;
e.CanExecute = (txtBox.Text.Length > 0);
}
D. Set the CanExecute property of the command to Highlight_CanExecute.
Add the following method to the code behind file for the window.
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
MenuItem menu = e.Source as MenuItem;
TextBox txtBox = menu.CommandTarget as TextBox;
Menu.IsEnabled = (txtBox.Text.Length > 0);
}
Answer: C

Microsoft   70-502   70-502자료   70-502

NO.6 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework

ITexamdump의 000-123덤프의 VCE테스트프로그램과 100-101덤프는 한방에 시험을 패스하도록 도와드립니다. ITexamdump 에서는 최신버전의 70-480시험에 대비한 고품질 덤프와 700-104시험 최신버전덤프를 제공해드립니다. 최고품질 MB6-700시험자료는 100% 간단하게 시험패스하도록 최선을 다하고 있습니다. IT인증시험패스는 이토록 간단합니다.

시험자료링크: http://www.itexamdump.com/70-502.html