2014年1月31日星期五

最近作成したMicrosoft 70-545-Csharp認定試験の優秀な過去問

まだMicrosoftの70-545-Csharp認定試験を悩んでいますかこの情報の時代の中で専門なトレーニングを選択するのと思っていますか?良いターゲットのトレーニングを利用すれば有効で君のIT方面の大量の知識を補充 できます。Microsoftの70-545-Csharp認定試験によい準備ができて、試験に穏やかな心情をもって扱うことができます。JPexamの専門家が研究された問題集を利用してください。

JPexamはMicrosoftの70-545-Csharp認定試験について開発された問題集がとても歓迎されるのはここで知識を得るだけでなく多くの先輩の経験も得ます。試験に良いの準備と自信がとても必要だと思います。使用して私たちJPexamが提供した対応性練習問題が君にとってはなかなかよいサイトだと思います。

現在、市場でオンラインのMicrosoftの70-545-Csharp試験トレーニング資料はたくさんありますが、JPexamのMicrosoftの70-545-Csharp試験トレーニング資料は絶対に最も良い資料です。我々JPexamはいつでも一番正確なMicrosoftの70-545-Csharp資料を提供するように定期的に更新しています。それに、JPexamのMicrosoftの70-545-Csharp試験トレーニング資料が一年間の無料更新サービスを提供しますから、あなたはいつも最新の資料を持つことができます。

JPexamを選ぶかどうか状況があれば、弊社の無料なサンプルをダウンロードしてから、決めても大丈夫です。こうして、弊社の商品はどのくらいあなたの力になるのはよく分かっています。JPexamはMicrosoft 70-545-Csharp認証試験を助けって通じての最良の選択で、100%のMicrosoft 70-545-Csharp認証試験合格率のはJPexam最高の保証でございます。君が選んだのはJPexam、成功を選択したのに等しいです。

試験番号:70-545-Csharp問題集
試験科目:TS:Microsoft Visio 2007, Application Development
最近更新時間:2014-01-31
問題と解答:全54問
100%の返金保証。1年間の無料アップデート。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/70-545-Csharp_exam.html

NO.1 You have a drawing that contains custom shape data. You need to export the shape data to a new
Microsoft Office Excel 2007 workbook. What should you do?
A. Use the Database Wizard.
B. Use the Reports command.
C. Use the Export to Database command.
D. Save the file as an XML drawing.
Answer: B

Microsoft認証試験   70-545-Csharp   70-545-Csharp   70-545-Csharp

NO.2 You need to link a master shape to an ODBC database. The master shape must display the Update
Database Record command when you right-click the shape. What should you do?
A. In Office Visio 2007, run the Database Wizard.
B. From Control Panel, add a new ODBC data source.
C. In Office Visio 2007, run the Database Export Wizard.
D. In Office Visio 2007, run the Export to Database command.
Answer: A

Microsoft   70-545-Csharp認証試験   70-545-Csharp   70-545-Csharp   70-545-Csharp認定試験

NO.3 You have a shape that contains a Shape Data row named Grade, where Type=0. You need to modify
the Grade row so that it is visible and read-only within the Shape Data window and the Shape Data dialog
box. What should you do?
A. In the Prop.Grade row, change the value of the Type cell to 9.
B. In the Prop.Grade row, change the value of the Type cell to 1, and the formula in the Format cell to
=Prop.Grade.
C. In the Prop.Grade row, change the formula in the Format cell to =LOCK.
D. Insert a new user-defined cell with the formula =
DEPENDSON(Prop.Grade)+SETF(GetRef(Prop.Grade),Prop.Grade).
Answer: B

Microsoft   70-545-Csharp   70-545-Csharp認定試験   70-545-Csharp認定証

NO.4 An External Data recordset named Computer Inventory contains a column named MachineSN. You
create a new Office Visio 2007 diagram and load the Computers and Monitors stencil. A shape named PC
Master from the Computers and Monitors stencil has a Shape Data row labeled Serial Number. To add
a shape to the Visio 2007 diagram, you select the PC Master shape, and then drag and drop a row from
the External Data window to the Visio 2007 page. You notice that the new shapes Serial Number row is
empty. You need the values from the MachineSN column to be entered automatically into the row
labeled Serial Number when you add the shape. What should you do?
A. Change the name of the External Data recordsets column from MachineSN to Serial Number.
B. Change the name of the External Data recordset from Computer Inventory to Serial Number.
C. Modify the PC Master shape on the document stencil. Change the row name of the shape data row
from Serial Number to MachineSN.
D. Copy the PC Master shape to the document stencil. Change the label of the shape data row from
Serial Number to _visDM_MachineSN.
Answer: A

Microsoft認定資格   70-545-Csharp認証試験   70-545-Csharp   70-545-Csharp

NO.5 You receive an XML data file and a separate XML schema file. The XML schema file describes the XML
data. You need to load the XML data file into the External Data window. Which two actions should
you perform? (Each correct answer presents part of the solution. Choose two.)
A. Transform the XML data file into the classic ActiveX Data Objects (ADO) RowsetSchema format.
B. Verify that the XML data file is well-formed and uses the namespace
http://schemas.microsoft.com/visio/2006/extension.
C. In a code module, use the DataRecordsets object Add method in the Office Visio 2007 document.
D. In a code module, use the DataRecordsets object AddFromXML method in the Office Visio 2007
document.
Answer: AD

Microsoft   70-545-Csharp認証試験   70-545-Csharp参考書   70-545-Csharp認定試験

NO.6 You have an ODBC database that contains information that you want to display in Office Visio 2007.
You need to update the database records by modifying shape data from Visio 2007. What are three
possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose three.)
A. In Visio, use the Link Data to Shapes command from the Data menu.
B. In Visio, point to Visio Extras, start the Database Wizard, and then click Link shapes to database
records.
C. In Visio, click Import Data on the Plan menu.
D. In Visio, point to Visio Extras and click Link to ODBC Database.
E. Create custom code functions to read data from the data source, update the Shape Data rows, and
then write the data to the data source.
Answer: BDE

Microsoft認定証   70-545-Csharp練習問題   70-545-Csharp   70-545-Csharp参考書   70-545-Csharp

NO.7 You need to create an organization chart of employees by using a comma-separated values (CSV) file
and the Organization Chart Wizard. Which two columns must the CSV file contain? (Each correct
answer presents part of the solution. Choose two.)
A. A column that uniquely identifies each employee
B. A column that identifies each employees job title
C. A column that contains each employees department
D. A column that identifies who each employee reports to
Answer: AD

Microsoft参考書   70-545-Csharp   70-545-Csharp練習問題   70-545-Csharp参考書   70-545-Csharp認証試験

NO.8 You need to create two PivotDiagrams in Office Visio 2007 by using the minimum number of Visio
documents and pages. What should you do?
A. Create two new Visio documents by using the PivotDiagram template.
B. Create a new Visio document by using the PivotDiagram template. Insert a PivotDiagram into the
existing page.
C. Create a new Visio document by using the PivotDiagram template. Insert a new page, and then insert
the PivotDiagram into the new page.
D. Create two new Visio documents by using the PivotDiagram template. Copy the PivotDiagram from
one document to a blank page in the other document.
Answer: B

Microsoft認定資格   70-545-Csharp   70-545-Csharp認定資格

NO.9 You plan to create a timeline diagram by using Microsoft Office Project 2007. You need to ensure
that the Project data can be imported into Office Visio 2007 by using the Import Timeline Wizard. What
should you do?
A. In Project, save the data as a Microsoft Project File (*.mpp).
B. In Project, save the data as a Microsoft Project Database (*.mpd).
C. In Project, save the data as a Microsoft Project Workspace (*.mpw).
D. In Project, save the data as a Microsoft Project Exchange (*.mpx).
Answer: A

Microsoft認定証   70-545-Csharp認証試験   70-545-Csharp認定試験   70-545-Csharp   70-545-Csharp

NO.10 You create a shape that has two Shape Data rows named Department and CostCode. Both the
Department and the CostCode rows have the Type =1.
The Department row Format cell has the formula =A;B.
You need to modify the ShapeSheet to meet the following requirements:
When a user selects Department A, only CostCodes A1 and A2 are visible.
When a user selects Department B, only CostCodes B1 and B2 are visible.
What should you do?
A. Insert a new user-defined cell and enter the formula =SETF(GetRef(Prop.CostCode.Format), =
INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|"))
B. Enter the following formula in the Format cell of the CostCode Shape Data row.
=INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2")
C. Enter the following formula in the Format cell of the CostCode Shape Data row.
=""""&INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|")&""""
D. Enter the following formula in the Format cell of the CostCode Shape Data row.
=INDEX(LOOKUP(Prop.Department,Prop.Department.Format),"A1;A2|B1;B2","|")
Answer: D

Microsoft練習問題   70-545-Csharp   70-545-Csharp練習問題   70-545-Csharp   70-545-Csharp

JPexamは最新のC4040-225問題集と高品質の00M-617問題と回答を提供します。JPexamの000-781 VCEテストエンジンとHP2-B101試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質の00M-670 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/70-545-Csharp_exam.html

Microsoft 070-542-Csharp認定試験に対する最も優秀な参考書

Microsoft 070-542-Csharp認証はIT業界にとても重要な地位があることがみんなが、たやすくその証本をとることはではありません。いまの市場にとてもよい問題集が探すことは難しいです。でも、JPexamにいつでも最新な問題を探すことができ、完璧な解説を楽に勉強することができます。

JPexamはきみの貴重な時間を節約するだけでなく、 安心で順調に試験に合格するのを保証します。JPexamは専門のIT業界での評判が高くて、あなたがインターネットでJPexamの部分のMicrosoft 070-542-Csharp資料を無料でダウンロードして、弊社の正確率を確認してください。弊社の商品が好きなのは弊社のたのしいです。

きみはMicrosoftの070-542-Csharp認定テストに合格するためにたくさんのルートを選択肢があります。JPexamは君のために良い訓練ツールを提供し、君のMicrosoft認証試に高品質の参考資料を提供しいたします。あなたの全部な需要を満たすためにいつも頑張ります。

JPexamというサイトは世界的に知名度が高いです。それはJPexamが提供したIT業種のトレーニング資料の適用性が強いですから。それはJPexamのIT専門家が長い時間で研究した成果です。彼らは自分の知識と経験を活かして、絶え間なく発展しているIT業種の状況によってJPexamのMicrosoftの070-542-Csharpトレーニング資料を作成したのです。多くの受験生が利用してからとても良い結果を反映しました。もしあなたはIT認証試験に準備している一人でしたら、JPexamのMicrosoftの070-542-Csharpトレーニング資料を選らんだほうがいいです。利用しないのならメリットが分からないですから、速く使ってみてください。

このインターネットが普及された時代に、どのような情報を得るのが非常に簡単なことだということを我々はよく知っていますが、品質と適用性の欠如が問題です。インターネットでMicrosoftの070-542-Csharp試験トレーニング資料を探す人がたくさんいますが、どれが信頼できるか良く分からないです。ここで私はJPexamのMicrosoftの070-542-Csharp試験トレーニング資料を勧めたいです。この資料はインターネットでのクリック率と好評率が一番高いです。JPexamはMicrosoftの070-542-Csharp試験トレーニング資料の一部の問題と解答を無料に提供しますから、あなたは試用してから買うかどうかを決めることができます。

試験番号:070-542-Csharp問題集
試験科目:MS Office SharePoint Server 2007-Application Development
最近更新時間:2014-01-31
問題と解答:全162問
100%の返金保証。1年間の無料アップデート。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/070-542-Csharp_exam.html

NO.1 You are designing a Microsoft Office SharePoint Server 2007 solution. A Microsoft SQL Server 2005
Analysis Services cube stores key performance indicators (KPIs).
You need to display details of a KPI in a Web Part.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Create a KPI List.
B. Add a List Item Web Part.
C. Create a .odc file for the data connection.
D. Create a .udl file for the data connection.
E. Create a Business Data Catalog (BDC) definition.
Answer: AC

Microsoft   070-542-Csharp   070-542-Csharp   070-542-Csharp

NO.2 You implement a custom function as a user-defined function (UDF) in Excel Services in Microsoft Office
SharePoint Server 2007.
A Microsoft Office Excel 2007 workbook uses the custom function to generate a random number between
100 and 500.
You need to generate a new random number each time you load the workbook.
Which code segment should you use?
A. public class MyUdfs
{
Random rand = new Random();
[UdfMethod]
public int GetRandomNumber()
{
return (rand.Next(100, 500));
}
}
B. [UdfClass]
public class MyUdfs
{
Random rand = new Random();
[UdfMethod(IsVolatile=true)]
public int GetRandomNumber()
{
return (rand.Next(100, 500));
}
}
C. [UdfClass]
public class MyUdfs
{
Random rand = new Random();
public int GetRandomNumber()
{
return (rand.Next(100, 500));
}
}
D. public class MyUdfs
{
Random rand = new Random();
public int GetRandomNumber()
{
return (rand.Next(100, 500));
}
}
Answer: B

Microsoft   070-542-Csharp   070-542-Csharp参考書   070-542-Csharp認定資格

NO.3 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   070-542-Csharp   070-542-Csharp認定証   070-542-Csharp認定証

NO.4 You are creating a Microsoft Office SharePoint Server 2007 Report Center Web site. Your company
stores product data in a Microsoft SQL Server 2005 database named Product Management.
You need to ensure that the product data is available for use in Microsoft Office Excel 2007 reports.
What should you do?
A. Upload a custom Office Data Connection file to the Data Connections library.
B. Upload a custom set of Microsoft SQL Server Reporting Services Report Model files to the Data
Connections library.
C. Create a single sign-on (SSO) provider that manages access to the Product Management database.
D. Create a Business Data Connection for the Product Management database, and define entities in the
Business Data Catalog (BDC) definition.
Answer: A

Microsoft認定試験   070-542-Csharp認定証   070-542-Csharp練習問題   070-542-Csharp

NO.5 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   070-542-Csharp   070-542-Csharp練習問題

JPexamは最新の問題集と高品質のLOT-927問題と回答を提供します。JPexamのHP2-N44 VCEテストエンジンと1z0-559試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質の9L0-620 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/070-542-Csharp_exam.html

最高のMicrosoftの70-573-Csharp試験対策材料を無料でダウンロード

あなたは弊社の商品を買ったら一年間に無料でアップサービスが提供された認定試験に合格するまで利用しても喜んでいます。もしテストの内容が変われば、すぐにお客様に伝えます。弊社はあなた100%合格率を保証いたします。

Microsoftの70-573-Csharp認定試験はIT職員が欠くことができない認証です。IT職員のキャリアと関連しますから。 Microsoftの70-573-Csharp試験トレーニング資料は受験生の皆さんが必要とした勉強資料です。JPexamのトレーニング資料は受験生が一番ほしい唯一なトレーニング資料です。JPexamのMicrosoftの70-573-Csharp試験トレーニング資料を手に入れたら、試験に合格することができるようになります。

試験番号:70-573-Csharp問題集
試験科目:TS: Microsoft SharePoint 2010, Application Development
最近更新時間:2014-01-31
問題と解答:全150問
100%の返金保証。1年間の無料アップデート。

JPexamは実際の環境で本格的なMicrosoftの70-573-Csharpの試験の準備過程を提供しています。もしあなたは初心者若しくは専門的な技能を高めたかったら、JPexamのMicrosoftの70-573-Csharpの試験問題があなたが一歩一歩自分の念願に近くために助けを差し上げます。試験問題と解答に関する質問があるなら、当社は直後に解決方法を差し上げます。しかも、一年間の無料更新サービスを提供します。

70-573-Csharp試験はMicrosoftのひとつの認証試験でIT業界でとても歓迎があって、ますます多くの人が70-573-Csharp認証試験に申し込んですがその認証試験が簡単に合格できません。準備することが時間と労力がかかります。でも、JPexamは君の多くの貴重な時間とエネルギーを節約することを助けることができます。

親愛なる受験生の皆様、何かMicrosoftの70-573-Csharp試験のトレーニング授業に加入したいのですか。実は措置を取ったら一回で試験に合格することができます。JPexamのMicrosoftの70-573-Csharp試験のトレーニング資料はとても良い選択なんですよ。JPexamの仮想ネットワークトレーニングと授業は大量の問題集に含まれていますから、ぜひあなたが気楽に試験に合格することを約束します。

JPexamあなたに 最高のMicrosoftの70-573-Csharp試験問題集を提供して差し上げます。あなたを成功への道に引率します。JPexamのMicrosoftの70-573-Csharp試験トレーニング資料は試験の準備をしているあなたにヘルプを与えます。当社の資料はあなたがIT専門家になるように特別に受験生の皆さんのために作成したものです。JPexamのMicrosoftの70-573-Csharp試験トレーニング資料はあなたに最も適用して、あなたのニーズを満たす資料です。はやくJPexamのサイトを登録してくだい。きっと棚ぼたがありますよ。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/70-573-Csharp_exam.html

JPexamは最新の000-596問題集と高品質の000-502問題と回答を提供します。JPexamのLOT-927 VCEテストエンジンとC_TFIN52_64試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質のMB5-854 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/70-573-Csharp_exam.html

Microsoft 070-521-Csharp認定試験に適した最新問題集が登場

JPexamのトレーニング資料はあなたが試験の準備をしている知識をテストできて、一定の時間にあなたのパフォーマンスを評価することもできますから、あなたの成績と弱点を指示して、弱い点を改善して差し上げます。JPexamのMicrosoftの070-521-Csharp試験トレーニング資料はさまざまなコアロジックのテーマを紹介します。そうしたら知識を習得するだけでなく、色々な技術と科目も理解できます。我々のトレーニング資料は実践の検証に合格したもので、資料の問題集が全面的で、価格が手頃ということを保証します。

IT業界の中でたくさんの野心的な専門家がいって、IT業界の中でより一層頂上まで一歩更に近く立ちたくてMicrosoftの070-521-Csharp試験に参加して認可を得たくて、Microsoft の070-521-Csharp試験が難度の高いので合格率も比較的低いです。JPexamの商品は試験問題を広くカーバして、認証試験の受験生が便利を提供し、しかも正確率100%です。そして、試験を安心に参加してください。

Microsoftの070-521-Csharp認定試験がIT業界には極めて重要な地位があるがよく分かりましょう。試験に合格するのは簡単ではないもよくわかりましょう。“簡単に合格できる方法がありますか?”答えはもちろんですよ。JPexamはこの問題を着々解決できますよ。IT専門家がMicrosoftの070-521-Csharp認定試験に関する特別な問題集を開発しています。それをもって、試験は問題になりませんよ。

あなたは弊社の商品を買ったら一年間に無料でアップサービスが提供された認定試験に合格するまで利用しても喜んでいます。もしテストの内容が変われば、すぐにお客様に伝えます。弊社はあなた100%合格率を保証いたします。

近年、IT技術の急速な発展に伴って、IT技術を勉強し始める人がますます多くなっています。そこで、IT業界で働く人も多くなっています。このように、IT業界の競争が一層激しくなります。同様にIT業界で働いていて、IT夢を持っているあなたは、きっと他の人にキャッチアップされ、追い抜かれることを望まないでしょう。それでは、ずっと自分自身のスキルをアップグレードすることが必要になり、他の人に自分の強さを証明する必要があります。では、どうやって自分の能力を証明するのですか。多くの人々はIT認定試験を受験して認証資格を取ることを通して彼らの強さを証明します。あなたもIT認証資格を取りたいですか。まずMicrosoftの070-521-Csharp認定試験に合格しましょう。これはMicrosoftの最も重要な試験の一つで、業界全体に認証された資格です。

試験番号:070-521-Csharp問題集
試験科目:UPG:Trans MCPD.NET Frmwk 3.5 Dev Skil to .NET 4 Wndws App De
最近更新時間:2014-01-31
問題と解答:全108問
100%の返金保証。1年間の無料アップデート。

「成功っていうのはどちらですか。」このように質問した人がいます。私は答えてあげますよ。JPexamを選んだら成功を選ぶということです。JPexamのMicrosoftの070-521-Csharp試験トレーニング資料はIT認証試験を受ける全ての受験生が試験に合格することを助けるものです。この資料はMicrosoftの070-521-Csharp試験のために特別に研究されたもので、受験生からの良い評価をたくさんもらいました。JPexamのMicrosoftの070-521-Csharp試験トレーニング資料を選んだらぜひ成功するということを証明しました。

今競争の激しいIT業界で地位を固めたいですが、Microsoft 070-521-Csharp認証試験に合格しなければなりません。IT業界ではさらに強くなるために強い専門知識が必要です。Microsoft 070-521-Csharp認証試験に合格することが簡単ではなくて、Microsoft 070-521-Csharp証明書は君にとってはIT業界に入るの一つの手づるになるかもしれません。しかし必ずしも大量の時間とエネルギーで復習しなくて、弊社が丹精にできあがった問題集を使って、試験なんて問題ではありません。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/070-521-Csharp_exam.html

NO.1 Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with
the service.
You need to enable message logging and include all security information such as tokens and nonces in
logged messages.
What should you do?
A. In the application configuration file, add the logKnownPii attribute to the message logging diagnostics
source and set the value of the attribute to true.
Generate the ContosoService class using the Add Service Reference wizard.
Add a reference to System.ServiceModel.Routing.dll.
Add the following code segment.
ContosoService client = new ContosoService();
SoapProcessingBehavior behavior = new SoapProcessingBehavior();
behavior.ProcessMessages = true;
client.Endpoint.Behaviors.Add(behavior);
B. In the application configuration file, add the following XML segment to the system.serviceModel
configuration section group.
<diagnostics>
<messageLogging logMessagesAtTransportLevel="true"
logEntireMessage="true" />
</diagnostics>
C. In the machine configuration file, add the following XML segment to the system.serviceModel
configuration section.
<machineSettings enableLoggingKnownPii="true" />
Generate the ContosoService class using the Add Service Reference wizard.
Add the following code segment.
ContosoService client = new ContosoService();
client.Endpoint.Behaviors.Add(new CallbackDebugBehavior(true));
D. In the machine configuration file, add the following XML segment to the system.serviceModel
configuration section.
<machineSettings enableLoggingKnownPii="true" />
In the application configuration file, add the logKnownPii attribute to the message logging diagnostics
source and set the value of the attribute to true.
In the application configuration file, add the following XML segment to the system.serviceModel
configuration section group.
<diagnostics>
<messageLogging logMessagesAtTransportLevel="true"/>
</diagnostics>
Answer: D

Microsoft   070-521-Csharp   070-521-Csharp

NO.2 A Windows Communication Foundation (WCF) application uses a data contract that has several data
members.
You need the application to throw a SerializationException if any of the data members are not present
when a serialized instance of the data contract is deserialized.
What should you do?
A. Add the KnownType attribute to the data contract. Set a default value in each of the data member
declarations.
B. Add the KnownType attribute to the data contract. Set the Order property of each data member to
unique integer value.
C. Set the EmitDefaultValue property of each data member to false.
D. Set the IsRequired property of each data member to true.
Answer: D

Microsoft   070-521-Csharp認定試験   070-521-Csharp認定証   070-521-Csharp過去問   070-521-Csharp   070-521-Csharp

NO.3 </serviceBehaviors>

NO.4 You are developing a Windows Communication Foundation (WCF) service that reads messages from
a public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?
A. net.msmq://localhost/msmq$;FailedMessages
B. net.msmq://localhost/msmq$;DeadLetter
C. net.msmq://localhost/system$;DeadXact
D. net.msmq://localhost/system$;DeadLetter
Answer: D

Microsoft   070-521-Csharp過去問   070-521-Csharp   070-521-Csharp   070-521-Csharp

NO.5 You are creating a Windows Communication Foundation (WCF) service to process orders. The data
contract for the order is defined as follows.
[DataContract]
public class Order
{
[DataMember]
public string CardHolderName { get; set; }
[DataMember]
public string CreditCardNumber { get; set; }
}
You have the following requirements:
Enable the transmission of the contents of Order from the clients to the service.
Ensure that the contents of CreditCardNumber are not sent across the network in clear text.
Ensure that the contents of CreditCardNumber are accessible by the service to process the order.
You need to implement the service to meet these requirements.
What should you do?
A. Add a DataProtectionPermission attribute to the CreditCardNumber property and set the ProtectData
property to true.
B. Convert the DataContract to a MessageContract and set the ProtectionLevel property to
EncryptAndSign.
C. Change the data type of CreditCardNumber from string to SecureString.
D. Implement the CreditCardNumber property getter and setter. In the setter, run the value of the
CreditCardNumber through the MD5CryptoServiceProvider class TransformBlock method.
Answer: B

Microsoft   070-521-Csharp認定資格   070-521-Csharp   070-521-Csharp認定試験

NO.6 A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents
between systems. The service has the following requirements:
It must minimize the transmission size by attaching the XML document as is without using escape
characters or base64 encoding.
It must interoperate with systems that use SOAP but are not built on the .NET platform.
You need to configure the service to support these requirements.
Which message encoding should you use?
A. Binary message encoding
B. MTOM (Message Transmission Optimization Mechanism) message encoding
C. Text message encoding with message version set to none
D. Text message encoding with message version set to SOAP 1.2
Answer: B

Microsoft   070-521-Csharp   070-521-Csharp練習問題   070-521-Csharp練習問題

NO.7 </behaviors>
...
You need to configure the service to publish the service metadata.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following XML segment between lines 10 and 11.
<endpoint?address=""
binding="mexHttpBinding"
contract="IMetadataExchange"
/>
B. Add the following XML segment between lines 10 and 11.
<endpoint?address=""
binding="basicHttpBinding"
contract="IMetadataExchange"
/>
C. Add the following XML segment between lines15 and 16.
<serviceDiscovery>
<announcementEndpoints>
<endpoint address=""/>
</announcementEndpoints>
</serviceDiscovery>
D. Add the following XML segment between lines 15 and 16
<serviceMetadata httpGetEnabled="true"/>
Answer: AD

Microsoft   070-521-Csharp過去問   070-521-Csharp認定証   070-521-Csharp問題集   070-521-Csharp
17. Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet
Information Services (IIS). No behavior configuration exists in the web.config file.
You need to configure the application so that every service and endpoint limits the number of concurrent
calls to 50 and the number of concurrent sessions to 25.
Which XML segment should you add to the system.serviceModel configuration section of the web.config
file?
A. <behaviors>
<serviceBehaviors>
<behavior name="*">
<serviceThrottling maxConcurrentCalls="50" maxConcurrentSessions="25"/>
</behavior>
</serviceBehaviors>
</behaviors>
B. <behaviors>
<serviceBehaviors>
<behavior name="default">
<serviceThrottling maxConcurrentCalls="50" maxConcurrentSessions="25"/>
</behavior>
</serviceBehaviors>
</behaviors>
C. <behaviors>
<serviceBehaviors>
<behavior name="">
<serviceThrottling maxConcurrentCalls="50" maxConcurrentSessions="25"/>
</behavior>
</serviceBehaviors>
</behaviors>
D. <behaviors>
<serviceBehaviors>
<behavior name="ALL">
<serviceThrottling maxConcurrentCalls="50" maxConcurrentSessions="25"/>
</behavior>
</serviceBehaviors>
</behaviors>
Answer: C

Microsoft   070-521-Csharp   070-521-Csharp   070-521-Csharp
18. The endpoint of a Windows Communication Foundation (WCF) service uses basicHttpBinding for its
binding. Your company's policies have changed to require that messages not be sent in clear text.
You must ensure that all messages are encrypted when traveling across the network.
What should you do?
A. Set the ProtectionLevel property on the service contract and update the binding attribute in the
endpoint element of the configuration file to wsHttpBinding.
B. Set the ProtectionLevel property on the service contract and update the bindingConfiguration attribute
in the endpoint element of the configuration file to webHttpBinding.
C. Set the PrincipalPermissionAttribute on the service contract and update the binding attribute in the
endpoint element of the configuration file to wsHttpBinding.
D. Set the PrincipalPermissionAttribute on the service contract and update the bindingConfiguration
attribute in the endpoint element of the configuration file to wsHttpBinding.
Answer: A

Microsoft認定資格   070-521-Csharp練習問題   070-521-Csharp認定資格   070-521-Csharp参考書

NO.8 You are creating a Windows Communication Foundation (WCF) service that implements operations in
a RESTful manner. You need to add a delete operation.
You implement the delete method as follows.
void DeleteItems(string id);
You need to configure WCF to call this method when the client calls the service with the HTTP DELETE
operation.
What should you do?
A. Add the WebInvoke(UriTemplate = "/Items/{id}", Method="DELETE") attribute to the operation.
B. Add the HttpDelete attribute to the operation.
C. Replace the string parameter with a RemovedActivityAction parameter.
D. Replace the return type with RemovedActivityAction.
Answer: A

Microsoft   070-521-Csharp   070-521-Csharp   070-521-Csharp認定試験

NO.9 You are developing an application to update a user ¯ s soc i a l s t a t us . You need t o consu m e t he se r v i ce
using Windows Communication Foundation (WCF).
The client configuration is as follows.
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="SocialConfig">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Basic"
?realm="Social API" />
</security>
</binding>
</webHttpBinding>
</bindings>
<client>
<endpoint address="http://contoso.com"
binding="webHttpBinding"
bindingConfiguration="SocialConfig"
contract="ISocialStatus"
name="SocialClient" />
</client>
</system.serviceModel>
The service contract is defined as follows.
[ServiceContract]
public interface ISocialStatus
{
[OperationContract]
[WebInvoke(UriTemplate =
"/statuses/update.xml?status={text}")]
void UpdateStatus(string text);
}
Which code segment should you use to update the social status?
A. using (WebChannelFactory<ISocialStatus> factory =
new WebChannelFactory<ISocialStatus>("SocialClient"))
{
factory.Credentials.UserName.UserName = user.Name;
factory.Credentials.UserName.Password = user.Password;
ISocialStatus socialChannel = factory.CreateChannel();
socialChannel.UpdateStatus(newStatus);
}
B. using (ChannelFactory<ISocialStatus> factory =
new WebChannelFactory<ISocialStatus>(typeof(ISocialStatus)))
{
factory.Credentials.UserName.UserName = user.Name;
factory.Credentials.UserName.Password = user.Password;
ISocialStatus socialChannel = factory.CreateChannel();
socialChannel.UpdateStatus(newStatus);
}
C. using (ChannelFactory<ISocialStatus> factory =
new ChannelFactory<ISocialStatus>("POST"))
{
factory.Credentials.Windows.ClientCredential.UserName =
user.Name;
factory.Credentials.Windows.ClientCredential.SecurePassword.
SetAt(0, Convert.ToChar(user.Password));
ISocialStatus socialChannel = factory.CreateChannel();
socialChannel.UpdateStatus(newStatus);
}
D. using (WebChannelFactory<ISocialStatus> factory =
new WebChannelFactory<ISocialStatus>(typeof(ISocialClient)))
{
factory.Credentials.Windows.ClientCredential.UserName =
user.Name;
factory.Credentials.Windows.ClientCredential.SecurePassword.
SetAt(0, Convert.ToChar(user.Password));
ISocialStatus socialChannel = factory.CreateChannel();
socialChannel.UpdateStatus(newStatus);
}
Answer: A

Microsoft   070-521-Csharp参考書   070-521-Csharp   070-521-Csharp認定証   070-521-Csharp

NO.10 You are moving a Windows Communication Foundation (WCF) service into production.
You need to be able to monitor the health of the service. You only want to enable all performance counter
instances exposed by the ServiceModelService 4.0.0.0 counter group.
Which element should you add to the system.serviceModel section in the application configuration file?
A. <diagnostics performanceCounters="ServiceOnly" />
B. <diagnostics wmiProviderEnabled="true" performanceCounters="Off" />
C. <diagnostics performanceCounters="All" />
D. <diagnostics wmiProviderEnabled="true" />
Answer: A

Microsoft   070-521-Csharp問題集   070-521-Csharp   070-521-Csharp認定試験

NO.11 You are consuming a Windows Communication Foundation (WCF) service in an ASP.NET Web
application. The service interface is defined as follows.
[ServiceContract]
public interface ICatalog
{
[OperationContract]
[WebGet(UriTemplate = "/Catalog/Items/{id}",
ResponseFormat = WebMessageFormat.Json)]
string RetrieveItemDescription(int id);
}
The service is hosted at /Catalog.svc.
You need to call the service using jQuery to retrieve the description of an item as indicated by a variable
named itemId.
Which code segment should you use?
A. $.get(String.format("/Catalog.svc/Catalog/Items/?id={0}", itemId)
null,
function (data) {
},
"javascript");
B. $.get(String.format("/Catalog.svc/Catalog/Items/{0}", itemId),
null,
function (data) {
},
"json");
C. $.get(String.format("/Catalog.svc/Catalog/Items/{0}", itemId),
null,
function (data) {
},
"xml");
D. $.get(String.format("/Catalog.svc/Catalog/Items/id={0}", itemId),
null,
function (data) {
},
"json");
Answer: B

Microsoft   070-521-Csharp認定証   070-521-Csharp過去問   070-521-Csharp参考書

NO.12 You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.
(Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]
03 public class OrderService
04 {
05 [OperationContract]
06 public void SubmitOrder(Order anOrder)
07 {
08 try
09 {
10
11 }
12 catch(DivideByZeroException ex)
13 {
14
15 }
16 }
17 }
You need to ensure that the stack trace details of the exception are not included in the error information
sent to the client.
What should you do?
A. Replace line 14 with the following line.
throw;
B. Replace line 14 with the following line.
throw new FaultException<Order>(anOrder, ex.ToString());
C. After line 05, add the following line.
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line.
throw ex;
D. After line 05, add the following line.
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line.
throw new FaultException<Order>(anOrder, "Divide by zero exception");
Answer: D

Microsoft   070-521-Csharp   070-521-Csharp   070-521-Csharp認定試験

NO.13 You are creating a Windows Communication Foundation (WCF) service. You do not want to expose the
internal implementation at the service layer.
You need to expose the following class as a service named Arithmetic with an operation named Sum.
public class Calculator
{
public int Add(int x, int y)
{
}
}
Which code segment should you use?
A. [ServiceContract(Namespace="Arithmetic")]
public class Calculator
{
[OperationContract(Action="Sum")]
public int Add(int x, int y)
{
}
}
B. [ServiceContract(ConfigurationName="Arithmetic")]
public class Calculator
{
[OperationContract(Action="Sum")]
public int Add(int x, int y)
{
}
}
C. [ServiceContract(Name="Arithmetic")]
public class Calculator
{
[OperationContract(Name="Sum")]
public int Add(int x, int y)
{
}
}
D. [ServiceContract(Name="Arithmetic")]
public class Calculator
{
[OperationContract(ReplyAction="Sum")]
public int Add(int x, int y)
{
}
}
Answer: C

Microsoft   070-521-Csharp認定資格   070-521-Csharp認定試験

NO.14 A Windows Communication Foundation (WCF) service has a callback contract. You are developing a
client application that will call this service.
You must ensure that the client application can interact with the WCF service.
What should you do?
A. On the OperationContractAttribute, set the AsyncPattern property value to true.
B. On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the
client.
C. On the client, create a proxy derived from DuplexClientBase<TChannel>.
D. On the client, use GetCallbackChannel<T>.
Answer: C

Microsoft   070-521-Csharp練習問題   070-521-Csharp過去問   070-521-Csharp   070-521-Csharp認定試験

NO.15 You are building a client for a Windows Communication Foundation (WCF) service.
You need to create a proxy to consume this service.
Which class should you use?
A. ChannelFactory<TChannel>
B. ServiceHost
C. ClientRuntime
D. CommunicationObject
Answer: A

Microsoft認定試験   070-521-Csharp問題集   070-521-Csharp   070-521-Csharp

NO.16 You are adding a Windows Communication Foundation (WCF) service to an existing application. The
application is configured as follows. (Line numbers are included for reference only.)
01?<configuration>
02 <system.serviceModel>
03 <services>
04 <service name="Contoso.Sales.StockService"
05 behaviorConfiguration="MetadataBehavior">
06 <host>
07 <baseAddresses>
08 <add
baseAddress="http://contoso.com:8080/StockService" />
09 </baseAddresses>
10 </host>
11 </service>
12 </services>
13 <behaviors>
14 <serviceBehaviors>
15 <behavior name="MetadataBehavior">
16 </behavior>

NO.17 A Windows Communication Foundation (WCF) client uses the following service contract. (Line
numbers are included for reference only.)
01 [ServiceContract]
02 public interface IService
03 {
04 [OperationContract]
05 string Operation1();
06 [OperationContract]
07 string Operation2();
08 }
You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed.
What should you do?
A. Set the ProtectionLevel property in line 01 to EncryptAndSign.
B. Set the ProtectionLevel property in line 04 and line 06 to Sign.
C. Add a SecurityCriticalAttribute for each operation.
D. Add a SecuritySafeCriticalAttribute for each operation.
Answer: A

Microsoft認定証   070-521-Csharp   070-521-Csharp認定資格   070-521-Csharp問題集

NO.18 You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding.
New audit requirements dictate that callers must be authenticated on every call to ensure that their
credentials have not been revoked.
You need to ensure that the service will not cache the security request token.
What should you do?
A. Apply a ServiceBehavior attribute to the service implementation class with the InstanceContextMode
property set to Single.
B. In the message security configuration, change clientCredentialType from IssuedToken to UserName.
C. In the message security configuration, set establishSecurityContext to false.
D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.
Answer: C

Microsoft   070-521-Csharp認定資格   070-521-Csharp   070-521-Csharp認定資格   070-521-Csharp

NO.19 A WCF service code is implemented as follows. (Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(InstanceContextMode =
03 InstanceContextMode.Single)]
04 public class CalculatorService
05 {
06 [OperationContract]
07 public double Calculate(double op1, string op, double op2)
08 {
24 }
25 }
You need to decrease the response time of the service.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution.
Choose two.)
A. Change the service behavior to the following.
[ServiceBehavior(
InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple)]
B. Change the service behavior to the following.
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
C. Require the clients use threads, the Parallel Task Library, or other mechanism to issue service calls in
parallel.
D. Require the clients to use async operations when calling the service.
Answer: AB

Microsoft   070-521-Csharp   070-521-Csharp   070-521-Csharp   070-521-Csharp認定証

NO.20 A Windows Communication Foundation (WCF) service has the following contract.
[ServiceContract(Namespace="http://contoso.com")]
public interface IShipping
{
[OperationContract]
string DoWork(int id);
}
This is one of several service contracts hosted by your application. All endpoints use SOAP 1.2 bindings
with WS-Addressing 1.0. The System.ServiceModel.MessageLogging trace source in the
system.diagnostics configuration section is configured with one listener.
You need to make sure that only the messages that are returned from the DoWork operation are logged.
Which XML segment should you add to the system.serviceModel/diagnostics/messageLogging/filters
configuration element?
A. <add xmlns:addr="http://www.w3.org/2005/08/addressing">
//addr:Action[text() =
'http://contoso.com/IShipping/DoWorkResponse']
</add>
B. <add xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
//soap:Action[text() =
'http://contoso.com/IShipping/DoWorkResponse']
</add>
C. <add xmlns:addr="http://www.w3.org/2005/08/addressing">
//addr:Action[text() =
'http://contoso.com/IShipping/DoWork']
</add>
D. <add xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
//soap:Action[text() =
'http://contoso.com/IShipping/DoWork']
</add>
Answer: A

Microsoft   070-521-Csharp   070-521-Csharp認定資格   070-521-Csharp参考書   070-521-Csharp練習問題

JPexamは最新のHP2-Z26問題集と高品質の74-335問題と回答を提供します。JPexamのHP2-N37 VCEテストエンジンと000-275試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質の70-417 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/070-521-Csharp_exam.html

効率が良い問題集を利用してMicrosoft 70-515-Csharp認定試験に準備しょう

JPexamはIT試験問題集を提供するウエブダイトで、ここによく分かります。最もよくて最新で資料を提供いたします。こうして、君は安心で試験の準備を行ってください。弊社の資料を使って、100%に合格を保証いたします。もし合格しないと、われは全額で返金いたします。

Microsoftの70-515-Csharp認証試験のために少ないお金でよい成果を取られるのJPexamのは最良の選択でございます。JPexamは例年試験内容を提供したあなたに後悔しないように価値があるサイトだけではなく、無料の一年更新サービスも提供するに最も賢明な選択でございます。

今の人材が多い社会中に多くの業界は人材不足でたとえばIT業界はかなり技術的な人材が不足で、Microsoftの70-515-Csharp認定試験はIT技術の認証試験の1つで、JPexamはMicrosoftの70-515-Csharp認証試験に関するの特別な技術を持ってサイトでございます。

試験番号:70-515-Csharp問題集
試験科目:Web Applications Development with Microsoft C#.NET Framework 4 Practice Test
最近更新時間:2014-01-31
問題と解答:全118問
100%の返金保証。1年間の無料アップデート。

Microsoftの70-515-Csharp認定試験の合格証明書はあなたの仕事の上で更に一歩の昇進で生活条件が向上することが助けられます。Microsoftの70-515-Csharp認定試験はIT専門知識のレベルの検査でJPexamの専門IT専門家があなたのために最高で最も正確なMicrosoftの70-515-Csharp試験資料が出来上がりました。JPexamは全面的な最高のMicrosoft 70-515-Csharp試験の資料を含め、きっとあなたの最良の選択だと思います。

短い時間に最も小さな努力で一番効果的にMicrosoftの70-515-Csharp試験の準備をしたいのなら、JPexamのMicrosoftの70-515-Csharp試験トレーニング資料を利用することができます。JPexamのトレーニング資料は実践の検証に合格すたもので、多くの受験生に証明された100パーセントの成功率を持っている資料です。JPexamを利用したら、あなたは自分の目標を達成することができ、最良の結果を得ます。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/70-515-Csharp_exam.html

NO.1 You are implementing an ASP .NET Web site that will be accessed by an international
audience. The site contains global and local resources for display elements that must
be translated into the language that is selected by the user. You need to ensure that the
Label control named lblCompany displays text in the users selected language from the
global resource file. Which control markup should you use?
A. <asp:Label ID="lblCompany" runat="server" meta:resourcekey="lblCompany" />
B. <asp:Label ID="lblCompany" runat="server" Text="meta:lblCompany.Text" />C
C. <asp:Label ID="lblCompany" runat="server" Text="<%$
Resources:lblCompanyText %>" /> D
D. <asp:Label ID="lblCompany" runat="server" Text="<%$
Resources:WebResources, lblCompanyText %>" />
Answer: D

Microsoft認定資格   70-515-Csharp   70-515-Csharp認定資格

NO.2 You are troubleshooting an ASP .NET Web application. System administrators have
recently expanded your web farm from one to two servers. Users are periodically
reporting an error message about invalid view state. You need to fix the problem.
What should you do?
A. Set viewStateEncryptionMode to Auto in web.config on both servers.
B. Set the machineKey in machine.config to the same value on both servers.
C. Change the session state mode to SQLServer on both servers and ensure both
servers use the same connection string.
D. Override the SavePageStateToPersistenceMedium and
LoadPageStateFromPersistenceMedium methods in the page base class to serialize the
view state to a local web server file.
Answer: B

Microsoft   70-515-Csharp認定試験   70-515-Csharp   70-515-Csharp認証試験

NO.3 You are developing an ASP .NET Web application. You create a master page. The
master page requires a region where you can add page-specific content by using the
ASP .NET page designer. You need to add a control to the master page to define the
region. Which control should you add?
A. Content
B. ContentPlaceHolder
C. PlaceHolder
D. Substitution
Answer: B

Microsoft   70-515-Csharp   70-515-Csharp練習問題   70-515-Csharp認証試験

NO.4 You create an ASP .NET page named TestPage.aspx that contains validation controls.
You need to verify that all input values submitted by the user have been validated by
testing the Page.IsValid property. Which page event should you add an event handler
to?
A. Init B.
Load C.
PreInit
D. PreLoad
Answer: B

Microsoft問題集   70-515-Csharp認定試験   70-515-Csharp過去問   70-515-Csharp過去問

NO.5 You are implementing an ASP .NET application that includes a page named
TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master. You add
the following code to the TestPage.aspx code-behind file to read a TestMaster.master
public property named CityName.
protected void Page_Load(object sender, EventArgs e)
{
string s = Master.CityName;
}
You need to ensure that TestPage.aspx can access the CityName property. What
should you do?
A. Add the following directive to TestPage.aspx.
<%@ MasterType VirtualPath="~/TestMaster.master" %>
B. Add the following directive to TestPage.aspx.
<%@ PreviousPageType VirtualPath="~/TestMaster.master" %>
C. Set the Strict attribute in the @ Master directiveof the TestMaster.master page to
true.
D. Set the Explicit attribute in the @ Master directive of the TestMaster.master page to
true.
Answer: A

Microsoft問題集   70-515-Csharp   70-515-Csharp   70-515-Csharp   70-515-Csharp練習問題

NO.6 You are implementing an ASP .NET application that uses data-bound GridView
controls in multiple pages. You add JavaScript code to periodically update specific
types of data items in these GridView controls. You need to ensure that the JavaScript
code can locate the HTML elements created for each row in these GridView controls,
without needing to be changed if the controls are moved from one page to another.
What should you do?
A. Replace the GridView control with a ListView control.
B. Set the ClientIDMode attribute to Predictable in the web.config file.
C. Set the ClientIDRowSuffix attribute of each unique GridView control to a different
value.
D. Set the @ OutputCache directivesVaryByControl attribute to the ID of the
GridView control.
Answer: B

Microsoft認定資格   70-515-Csharp認定試験   70-515-Csharp   70-515-Csharp   70-515-Csharp

JPexamは最新の9L0-010問題集と高品質のJK0-U11問題と回答を提供します。JPexamのLOT-958 VCEテストエンジンと600-199試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質のMB6-872 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/70-515-Csharp_exam.html

Microsoftの070-502-VB認定試験の問題集

ショートカットを選択し、テクニックを使用するのはより良く成功できるからです。070-502-VB認定試験に一発合格できる保障を得たいなら、JPexam の070-502-VB問題集はあなたにとってユニークな、しかも最良の選択です。これは賞賛の声を禁じえない参考書です。この問題集より優秀な試験参考書を見つけることができません。この070-502-VB問題集では、あなたが試験の出題範囲をより正確に理解することができ、よりよく試験に関連する知識を習得することができます。そして、もし試験の準備をするが足りないとしたら、070-502-VB問題集に出る問題と回答を全部覚えたらいいです。この問題集には実際の070-502-VB試験問題のすべてが含まれていますから、それだけでも試験に受かることができます。

Microsoftの070-502-VBは専門知識と情報技術の検査として認証試験で、JPexamはあなたに一日早くMicrosoftの認証試験に合格させて、多くの人が大量の時間とエネルギーを費やしても無駄になりました。JPexamにその問題が心配でなく、わずか20時間と少ないお金をを使って楽に試験に合格することができます。JPexamは君に対して特別の訓練を提供しています。

JPexamのIT業界専門家チームは彼らの経験と知識を利用して絶えないな試験対策材料の品質を高めて、受験者の需要を満たして、受験者のはじめてMicrosoft 070-502-VB試験を順調に合格するを保証します。あなた達はJPexamの商品を購入してもっともはやく正確に試験に関する情報を手に入れます。JPexamの商品は試験問題を広くカーバして、認証試験の受験生が便利を提供し、しかも正確率100%です。そして、試験を安心に参加してください。

JPexamのMicrosoftの070-502-VB試験トレーニング資料が受験生の皆様の評判を取ったのはもう最近のことではないです。これはJPexamのMicrosoftの070-502-VB試験トレーニング資料は確かに信頼できて、受験生の皆様が首尾よく試験に合格することに助けを差し上げられることが証明されました。 JPexamのMicrosoftの070-502-VB試験トレーニング資料がベストセラーになって、他のサイトをずっと先んじて皆様の認可を取りましたから、好評は言うまでもないです。 Microsoftの070-502-VB認定試験を受けたら、速くJPexamというサイトをクリックしてください。あなたがずっとほしいものを手に入れることができますから。最もプロな人々が注目しているIT専門家になりたかったら、後悔しないように速くショッピングカートを入れましょう。

JPexamはたくさんIT関連認定試験の受験者に利便性を提供して、多くの人がJPexamの問題集を使うので試験に合格しますた。彼らはJPexamの問題集が有効なこと確認しました。JPexamが提供しておりますのは専門家チームの研究した問題と真題で弊社の高い名誉はたぶり信頼をうけられます。安心で弊社の商品を使うために無料なサンブルをダウンロードしてください。

試験番号:070-502-VB問題集
試験科目:TS: MS.NET Frmewrk3.5, Wndws Presentation Fndation App Dev
最近更新時間:2014-01-31
問題と解答:全102問
100%の返金保証。1年間の無料アップデート。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.jpexam.com/070-502-VB_exam.html

NO.1 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

Microsoft過去問   070-502-VB認証試験   070-502-VB   070-502-VB   070-502-VB練習問題

NO.2 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?
A. owner.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
Return 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

Microsoft参考書   070-502-VB   070-502-VB過去問   070-502-VB練習問題   070-502-VB

NO.3 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.
<Window
x:Class="myClass" xmlns=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="myWindow" Height="300" Width="300">
<StackPanel Background="Black">
<StackPanel HorizontalAlignment="Center"
Orientation="Horizontal">
<Button Name="btnPlay" Margin="10" Content="Play" />
</StackPanel>
</StackPanel>
</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   070-502-VB   070-502-VB   070-502-VB   070-502-VB練習問題

NO.4 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練習問題   070-502-VB認証試験   070-502-VB

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 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   070-502-VB   070-502-VB過去問   070-502-VB   070-502-VB問題集

NO.6 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練習問題   070-502-VB過去問   070-502-VB認定試験   070-502-VB認証試験
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

Microsoft   070-502-VB過去問   070-502-VB   070-502-VB

NO.7 You are creating a Windows Presentation Foundation application for a car dealer. You use
Microsoft .NET Framework 3.5 to create the application.
You are creating a window that will display a list of available cars. The list will be sorted on the basis of the
Make property.
You try to run the XAML code fragment for the window. The following section of the code fragment does
not compile. (Line numbers are included for reference only.)
01 <Window.Resources>
02 ...
03 <CollectionViewSource x:Key="vw"
04 Source="{StaticResource cars}">
05 <CollectionViewSource.SortDescriptions>
06 <SortDescription PropertyName="Make" />
07 </CollectionViewSource.SortDescriptions>
08 </Window.Resources>
You receive the following error message: "Type 'SortDescriptions' was not found."
You need to ensure that the XAML code fragment sorts the list of available cars correctly.
What should you do?
A. Replace line of the XAML code fragment with the following code fragment.
<componentModel:SortDescription PropertyName="Make" xmlns:componentModel=
"clr-namespace:System.ComponentModel;assembly=System"/>
B. Replace line of the XAML code fragment with the following code fragment.
<componentModel:SortDescription PropertyName="Make" xmlns:componentModel=
"clr-namespace:System.ComponentModel;assembly=WindowsBase"/>
C. Add the following code segment immediately after the IntializeComponent method call in the
constructor.
Dim view As BindingListCollectionView = _
TryCast(CollectionViewSource.GetDefaultView(lst.ItemsSource), _
BindingListCollectionView)
If view IsNot Nothing Then
view.SortDescriptions.Add(New SortDescription("Make", _
ListSortDirection.Ascending))
End If
D. Remove lines through from the XAML code fragment. Add the following code segment
immediately after the InitializeComponent method call in the constructor.
Dim view As BindingListCollectionView = _
TryCast(CollectionViewSource.GetDefaultView(lst.ItemsSource), _
BindingListCollectionView)
If view IsNot Nothing Then
view.SortDescriptions.Add(New SortDescription("Make", _
ListSortDirection.Ascending))
End If
Answer: B

Microsoft   070-502-VB   070-502-VB練習問題   070-502-VB

NO.8 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. End Init()
C. theBitmapImage.BeginInit()
theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage.DecodePixelWidth = 200
theBitmapImage. End Init()
D. theBitmapImage.BeginInit()
theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
theBitmapImage. End Init()
theBitmapImage.DecodePixelWidth = 200
theBitmapImage.DecodePixelHeight = 200
Answer: C

Microsoft   070-502-VB   070-502-VB   070-502-VB

NO.9 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認証試験   070-502-VB認証試験   070-502-VB   070-502-VB認証試験   070-502-VB過去問

NO.10 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認証試験   070-502-VB練習問題   070-502-VB   070-502-VB   070-502-VB

NO.11 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 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認定資格   070-502-VB   070-502-VB過去問   070-502-VB認定資格   070-502-VB

NO.12 You have created a Windows Presentation Foundation application by using Microsoft .NET Framework

NO.13 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application contains a data source and a TextBox control named txtUnitPrice. The Text property of
the txtUnitPrice control is bound to the data source by using two-way binding.
You write the following code segment.
01 Private Sub OverridePrice(ByVal newPrice As Decimal)
02
03 txtUnitPrice.Text = newPrice
04 End Sub
You need to ensure that after the OverridePrice method is called, changes to the data source do not
propagate to txtUnitPrice.
Which code segment should you insert at line 02?
A. txtUnitPrice.Clear()
B. txtUnitPrice.DataContext = Nothing
C. BindingOperations.ClearBinding(txtUnitPrice, TextBox.TextProperty)
D. Dim binding As Binding = BindingOperations.GetBinding(txtUnitPrice, _
TextBox.TextProperty)
binding.NotifyOnSourceUpdated = False
Answer: C

Microsoft   070-502-VB認証試験   070-502-VB認定資格

NO.14 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   070-502-VB   070-502-VB   070-502-VB認定資格

NO.15 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()
service.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認定証   070-502-VB過去問   070-502-VB認定試験   070-502-VB過去問

NO.16 You are creating Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The application has a TreeView class that builds the directory tree for a given directory.
You write the following class that represents a directory.
Class Folder
Public ReadOnly Property Name() As String
Get
...
End Get
End Property
Public ReadOnly Property Subfolders() As List(Of Folder)
Get
...
End Get
End Property
End Class
You write the following code segment. (Line numbers are included for reference only.)
01 Dim tree As New TreeView()
02 Dim folder As New Folder("C:\")
03
04 Dim labelFactory As New
05 FrameworkElementFactory(GetType(TextBlock))
06
07 template.VisualTree = labelFactory
08 tree.ItemTemplate = template
09 tree.ItemsSource = folder.Subfolders
You need to ensure that the TreeView class displays nodes that correspond to the child folders of the C:\
drive.
Which code segments should you insert at lines and 06?
A. 1. Insert the following code segment at line 03.
Dim template As New HierarchicalDataTemplate(folder)
template.ItemsSource = New Binding("Subfolders")
2. Insert the following code segment at line 06.
labelFactory.SetBinding(TextBlock.TextProperty, New Binding("Name"))
B. 1. Insert the following code segment at line 03.
Dim template As New HierarchicalDataTemplate(GetType(Folder))
template.ItemsSource = New Binding("Subfolders")
2. Insert the following code segment at line 06.
labelFactory.SetBinding(TextBlock.TextProperty, New Binding("Name"))
C. 1. Insert the following code segment at line 03.
Dim template As New HierarchicalDataTemplate("Folder")
template.ItemsSource = New Binding("Name")
2. Insert the following code segment at line 06.
labelFactory.SetBinding(TextBlock.TextProperty, _
New Binding("Subfolders"))
D. 1. Insert the following code segment at line 03.
Dim template As New HierarchicalDataTemplate("Folder")
template.ItemsSource = New Binding("Folder.Subfolders")
2. Insert the following code segment at line 06.
labelFactory.SetBinding(TextBlock.TextProperty, _
New Binding("Folder.Name"))
Answer: B

Microsoft   070-502-VB問題集   070-502-VB練習問題   070-502-VB練習問題   070-502-VB   070-502-VB過去問

NO.17 You are creating a Windows Presentation Foundation application by using Microsoft .NET Framework
3.5.
The XAML page for the application will display employee information from an XML file. The following code
fragment is an excerpt from the XML file.
<Employee>
<Manager FirstName="Adam" LastName="Barr" Photo="E1.jpg"/>
<Engineer FirstName="Mu" LastName="Han" Photo="E2.jpg"/>
...
</Employee>
The file is exposed as a resource named employees.
You add the following templates under the Window.Resources element.
<DataTemplate x:Key="Manager">
<Image Source="{Binding XPath=@Photo}" Height="50"/>
</DataTemplate>
<DataTemplate x:Key="Engineer">
<Image Source="{Binding XPath=@Photo}" Height="40"/>
</DataTemplate>
You need to ensure that the selection of templates is dependent on the XML element being rendered.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Add the following ListBox control to the XAML code fragment for the window.
<ListBox ItemsSource="{Binding
Source={StaticResource employees}, XPath=/Employee/*}"/>
B. Add the following template to the Windows.Resources element.
<HierarchicalDataTemplate x:Key="Employee" ItemsSource=
"{Binding XPath=/Employee/*}">
<TextBlock Text="Employees" FontSize="20" />
</HierarchicalDataTemplate>
C. Add the following template to the Windows.Resources element.
<HierarchicalDataTemplate x:Key="Employee" ItemsSource=
"{Binding XPath=*}">
<TextBlock Text="Employees" FontSize="20" />
</HierarchicalDataTemplate>
D. Add the following ListBox control to the XAML code fragment for the page.
<ListBox ItemsSource="{Binding Source=
{StaticResource employees}, XPath=/Employee/*}">
<ListBox.ItemTemplateSelector>
<local:EmployeeTemplateSelector
xmlns:local="clr-namespace:AppNamespace"/>
</ListBox.ItemTemplateSelector>
</ListBox>
E. Add the following class to the code-behind file.
Public Class EmployeeTemplateSelector
Inherits DataTemplateSelector
Public Overloads Overrides Function _
SelectTemplate(ByVal item As Object, _
ByVal container As DependencyObject) As DataTemplate
Dim data As XmlElement = TryCast(item, XmlElement)
Return TryCast(DirectCast(container, _
FrameworkElement).FindResource(data.LocalName), DataTemplate)
End Function
End Class
Answer: D AND E

Microsoft   070-502-VB認定資格   070-502-VB   070-502-VB問題集   070-502-VB

NO.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   070-502-VB   070-502-VB   070-502-VB認定試験

NO.19 You are creating a Windows Presentation Foundation (WPF) application by using Microsoft .NET
Framework 3.5.
The application contains a window that programatically displays an image. The window contains a Grid
control named theGrid. You write the following code segment. (Line numbers are included for reference
only.)
09 theGrid.Children.Add(theImage);
01 Dim theImage As New Image()
02 theImage.Width = 200
03 Dim theBitmapImage As New BitmapImage()
04 theBitmapImage.BeginInit()
05 theBitmapImage.UriSource = New Uri("imageToDisplay.jpg")
06 theBitmapImage.DecodePixelWidth = 200
07 theBitmapImage.EndInit()
08
09 theGrid.Children.Add(theImage)
You need to crop an elliptical region of the image such that the ellipse is centered at the location X=75
and Y=50.
Which code segment should you insert at line 08?
A. Dim croppedBitmap As New CroppedBitmap(theBitmapImage, _
New Int32Rect(75, 50, 105, 50))
theImage.Source = theBitmapImage
B. Dim croppedBitmap As New CroppedBitmap()
croppedBitmap.Source = theBitmapImage
croppedBitmap.SourceRect = New Int32Rect(75, 50, 105, 50)
theImage.Source = theBitmapImage
C. theImage.Source = theBitmapImage
Dim clipGeometry As New EllipseGeometry(New Point(75, 50), 50, 25)
theImage.Clip = clipGeometry
D. theImage.Source = theBitmapImage
Dim clipGeometry As New EllipseGeometry()
clipGeometry.Center = New Point(75, 50)
theImage.Clip = clipGeometry
Answer: C

Microsoft練習問題   070-502-VB   070-502-VB練習問題   070-502-VB認証試験   070-502-VB認定試験   070-502-VB

NO.20 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認定証   070-502-VB   070-502-VB   070-502-VB認定資格   070-502-VB参考書

JPexamは最新の642-467問題集と高品質のVCAW510問題と回答を提供します。JPexamのHP2-N35 VCEテストエンジンとFCNSA.v5試験ガイドはあなたが一回で試験に合格するのを助けることができます。高品質のHP2-E56 PDFトレーニング教材は、あなたがより迅速かつ簡単に試験に合格することを100%保証します。試験に合格して認証資格を取るのはそのような簡単なことです。

記事のリンク:http://www.jpexam.com/070-502-VB_exam.html