2013年7月31日星期三

Microsoft 70-505-Csharp 70-536-Csharp, de formation et d'essai

Le test Microsoft 70-505-Csharp 70-536-Csharp est test certification très répandu dans l'industrie IT. Vous pourriez à améliorer votre niveau de vie, l'état dans l'industrie IT, etc. C'est aussi un test très rentable, mais très difficile à réussir.


Les experts de Pass4Test ont fait sortir un nouveau guide d'étude de Certification Microsoft 70-505-Csharp 70-536-Csharp, avec ce guide d'étude, réussir ce test a devenu une chose pas difficile. Pass4Test vous permet à réussir 100% le test Microsoft 70-505-Csharp 70-536-Csharp à la première fois. Les questions et réponses vont apparaître dans le test réel. Pass4Test peut vous donner une Q&A plus complète une fois que vous choisissez nous. D'ailleurs, la mise à jour gratuite pendant un an est aussi disponible pour vous.


Le Pass4Past possède une équipe d'élite qui peut vous offrir à temps les matériaux de test Certification Microsoft 70-505-Csharp 70-536-Csharp. En même temps, nos experts font l'accent à mettre rapidement à jour les Questions de test Certification IT. L'important est que Pass4Test a une très bonne réputation dans l'industrie IT. Bien que l'on n'ait pas beaucoup de chances à réussir le test de 70-505-Csharp 70-536-Csharp, Pass4Test vous assure à passer ce test par une fois grâce à nos documentations avec une bonne précision et une grande couverture.


Choisir le Pass4Test peut vous aider à réussir 100% le test Microsoft 70-505-Csharp 70-536-Csharp qui change tout le temps. Pass4Test peut vous offrir les infos plus nouvelles. Dans le site de Pass4Test le servie en ligne est disponible toute la journée. Si vous ne passerez pas le test, votre argent sera tout rendu.


Le test Microsoft 70-505-Csharp 70-536-Csharp est bien populaire dans l'Industrie IT. Donc il y a de plus en plus de gens à participer le test Microsoft 70-505-Csharp 70-536-Csharp. En fait, c'est pas facile à passer le test si on n'a pas une formation particulière. Pass4Test peut vous aider à économiser le temps et les efforts à réussir le test Certification.


Code d'Examen: 70-505-Csharp

Nom d'Examen: Microsoft (TS: Microsoft .NET Framework 3.5, Windows Forms Application Development: 70-505Csharp Exam)

Questions et réponses: 111 Q&As

Code d'Examen: 70-536-Csharp

Nom d'Examen: Microsoft (TS:MS.NET Framework 2.0-Application Develop Foundation)

Questions et réponses: 160 Q&As

70-536-Csharp Démo gratuit à télécharger: http://www.pass4test.fr/70-536-Csharp.html


NO.1 You are creating a class named Age.
You need to ensure that the Age class is written such that collections of Age objects can be sorted.
Which code segment should you use?
A. public class Age {
public int Value;
public object CompareTo(object obj) {
if (obj is Age) {
Age _age = (Age) obj;
return Value.CompareTo(obj);
}
throw new ArgumentException("object not an Age");
}
}
B. public class Age {
public int Value;
public object CompareTo(int iValue) {
try {
return Value.CompareTo(iValue);
} catch {
throw new ArgumentException ("object not an Age");
}
}
}
C. public class Age : IComparable {
public int Value;
public int CompareTo(object obj) {
if (obj is Age) {
Age _age = (Age) obj;
return Value.CompareTo(_age.Value);
}
throw new ArgumentException("object not an Age");
}
}
D. public class Age : IComparable {
public int Value;
public int CompareTo(object obj) {
try {
return Value.CompareTo(((Age) obj).Value);
} catch {
return -1;
}
}
}
Answer: C

Microsoft examen   70-536-Csharp   70-536-Csharp examen   70-536-Csharp examen

NO.2 You write the following code.
public delegate void FaxDocs(object sender, FaxArgs args);
You need to create an event that will invoke FaxDocs.
Which code segment should you use?
A. public static event FaxDocs Fax;
B. public static event Fax FaxDocs;
C. public class FaxArgs : EventArgs {
private string coverPageInfo;
public FaxArgs(string coverInfo) {
this.coverPageInfo = coverPageInfo;
}
public string CoverPageInformation {
get {return this.coverPageInfo;}
}
}
D. public class FaxArgs : EventArgs {
private string coverPageInfo;
public string CoverPageInformation {
get {return this.coverPageInfo;}
}
}
Answer: A

Microsoft   70-536-Csharp   certification 70-536-Csharp   certification 70-536-Csharp

NO.3 You develop a service application named FileService. You deploy the service application to multiple
servers on your network.
You implement the following code segment. (Line numbers are included for reference only.)
01 public void StartService(string serverName){
02 ServiceController crtl = new
03 ServiceController("FileService");
04 if (crtl.Status == ServiceControllerStatus.Stopped){
05 }
06 }
You need to develop a routine that will start FileService if it stops. The routine must start FileService on
the server identified by the serverName input parameter.
Which two lines of code should you add to the code segment? (Each correct answer presents part of the
solution. Choose two.)
A. Insert the following line of code between lines 03 and 04:
crtl.ServiceName = serverName;
B. Insert the following line of code between lines 03 and 04:
crtl.MachineName = serverName;
C. Insert the following line of code between lines 03 and 04:
crtl.Site.Name = serverName;
D. Insert the following line of code between lines 04 and 05:
crtl.Continue();
E. Insert the following line of code between lines 04 and 05:
crtl.Start();
F. Insert the following line of code between lines 04 and 05:
crtl.ExecuteCommand(0);
Answer: BE

certification Microsoft   70-536-Csharp   70-536-Csharp   certification 70-536-Csharp

NO.4 You need to write a code segment that will assign the name of the configuration file that the current
application domain uses to a string variable named configFile.
Which two code segments should you use to achieve the goal? (Each correct answer presents a
complete solution. Choose two.)
A. AppDomain domain = AppDomain.CurrentDomain;
configFile =
domain.GetData("APP_CONFIG_FILE").ToString();
B. AppDomain domain = AppDomain.CurrentDomain;
AppDomainSetup setup = domain.SetupInformation;
configFile = setup.ConfigurationFile;
C. AppDomain domain = AppDomain.CurrentDomain;
AppDomainSetup setup = new AppDomainSetup();
configFile = setup.ConfigurationFile;
D. AppDomainSetup setup = new AppDomainSetup();
AppDomain domain = AppDomain.CreateDomain("current",
null, setup);
configFile = setup.ConfigurationFile;
Answer: AB

certification Microsoft   70-536-Csharp   70-536-Csharp examen   70-536-Csharp

NO.5 You create a class library that is used by applications in three departments of your company. The
library contains a Department class with the following definition.
public class Department {
public string name;
public string manager;
}
Each application uses a custom configuration section to store department-specific values in the
application configuration file as shown in the following code.
<Department>
<name>Hardware</name>
<manager>Amy</manager>
</Department>
You need to write a code segment that creates a Department object instance by using the field values
retrieved from the application configuration file.
Which code segment should you use?
A. public class deptElement : ConfigurationElement {
protected override void DeserializeElement(
XmlReader reader, bool serializeCollectionKey) {
Department dept = new Department();
dept.name = ConfigurationManager.AppSettings["name"];
dept.manager =
ConfigurationManager.AppSettings["manager"];
return dept;
}
}
B. public class deptElement: ConfigurationElement {
protected override void DeserializeElement(
XmlReader reader, bool serializeCollectionKey) {
Department dept = new Department();
dept.name = reader.GetAttribute("name");
dept.manager = reader.GetAttribute("manager");
}
}
C. public class deptHandler : IConfigurationSectionHandler {
public object Create(object parent, object configContext,
System.Xml.XmlNode section) {
Department dept = new Department();
dept.name = section.SelectSingleNode("name").InnerText;
dept.manager =
section.SelectSingleNode("manager").InnerText;
return dept;
}
}
D. public class deptHandler : IConfigurationSectionHandler {
public object Create(object parent, object configContext,
System.Xml.XmlNode section) {
Department dept = new Department();
dept.name = section.Attributes["name"].Value;
dept.manager = section.Attributes["manager"].Value;
return dept;
}
}
Answer: C

Microsoft   70-536-Csharp   70-536-Csharp   70-536-Csharp examen

NO.6 You are developing a routine that will periodically perform a calculation based on regularly changing
values from legacy systems. You write the following lines of code. (Line numbers are included for
reference only.)
01 bool exitLoop = false;
02 do {
03
04 exitLoop = PerformCalculation();
05 } while (!exitLoop);
You need to write a code segment to ensure that the calculation is performed at 30-second intervals. You
must ensure that minimum processor resources are used between the calculations.
Which code segment should you insert at line 03?
A. Thread.Sleep(30000);
B. Thread.SpinWait(30000);
C. Thread thrdCurrent = Thread.CurrentThread;
thrdCurrent.Priority = ThreadPriority.BelowNormal;
D. Thread thrdCurrent = Thread.CurrentThread;
thrdCurrent.Priority = ThreadPriority.Lowest;
E. Thread.SpinWait(30);
Answer: A

Microsoft examen   70-536-Csharp   70-536-Csharp   70-536-Csharp

NO.7 You need to write a code segment that will create a common language runtime (CLR) unit of isolation
within an application.
Which code segment should you use?
A. AppDomainSetup mySetup =
AppDomain.CurrentDomain.SetupInformation;
mySetup.ShadowCopyFiles = "true";
B. System.Diagnostics.Process myProcess;
myProcess = new System.Diagnostics.Process();
C. AppDomain domain;
domain = AppDomain.CreateDomain("MyDomain");
D. System.ComponentModel.Component myComponent;
myComponent = new System.ComponentModel.Component();
Answer: C

certification Microsoft   certification 70-536-Csharp   70-536-Csharp examen   certification 70-536-Csharp   70-536-Csharp examen   70-536-Csharp

NO.8 You are developing an application that stores data about your company's sales and technical support
teams.
You need to ensure that the name and contact information for each person is available as a single
collection when a user queries details about a specific team. You also need to ensure that the data
collection guarantees type safety.
Which code segment should you use?
A. Hashtable team = new Hashtable();
team.Add(1, "Hance");
team.Add(2, "Jim");
team.Add(3, "Hanif");
team.Add(4, "Kerim");
team.Add(5, "Alex");
team.Add(6, "Mark");
team.Add(7, "Roger");
team.Add(8, "Tommy");
B. ArrayList team = new ArrayList();
team.Add("1, Hance");
team.Add("2, Jim");
team.Add("3, Hanif");
team.Add("4, Kerim");
team.Add("5, Alex");
team.Add("6, Mark");
team.Add("7, Roger");
team.Add("8, Tommy");
C. Dictionary<int, string> team =
new Dictionary<int, string>();
team.Add(1, "Hance");
team.Add(2, "Jim");
team.Add(3, "Hanif");
team.Add(4, "Kerim");
team.Add(5, "Alex");
team.Add(6, "Mark");
team.Add(7, "Roger");
team.Add(8, "Tommy");
D. string[] team =
new string[] {"1, Hance",
"2, Jim", "3, Hanif",
"4, Kerim", "5, Alex",
"6, Mark", "7, Roger",
"8, Tommy"};
Answer: C

Microsoft examen   70-536-Csharp   70-536-Csharp   70-536-Csharp examen

NO.9 You are writing a custom dictionary. The custom-dictionary class is named MyDictionary.
You need to ensure that the dictionary is type safe.
Which code segment should you use?
A. class MyDictionary : Dictionary<string, string>
B. class MyDictionary : HashTable
C. class MyDictionary : IDictionary
D. class MyDictionary { ... }
Dictionary<string, string> t =
new Dictionary<string, string>();
MyDictionary dictionary = (MyDictionary)t;
Answer: A

Microsoft   70-536-Csharp   70-536-Csharp   certification 70-536-Csharp

NO.10 You are developing an application that dynamically loads assemblies from an application directory.
You need to write a code segment that loads an assembly named Assembly1.dll into the current
application domain.
Which code segment should you use?
A. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.BaseDirectory,
"Assembly1.dll");
Assembly asm = Assembly.LoadFrom(myPath);
B. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.BaseDirectory,
"Assembly1.dll");
Assembly asm = Assembly.Load(myPath);
C. AppDomain domain = AppDomain.CurrentDomain;
string myPath = Path.Combine(domain.DynamicDirectory,
"Assembly1.dll");
Assembly asm = AppDomain.CurrentDomain.Load(myPath);
D. AppDomain domain = AppDomain.CurrentDomain;
Assembly asm = domain.GetData("Assembly1.dll");
Answer: A

Microsoft   certification 70-536-Csharp   certification 70-536-Csharp   70-536-Csharp   70-536-Csharp

NO.11 You are developing an application to perform mathematical calculations. You develop a class named
CalculationValues. You write a procedure named PerformCalculation that operates on an instance of the
class.
You need to ensure that the user interface of the application continues to respond while calculations are
being performed. You need to write a code segment that calls the PerformCalculation procedure to
achieve this goal.
Which code segment should you use?
A. private void PerformCalculation() {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Thread newThread = new Thread(
new ThreadStart(PerformCalculation));
newThread.Start(myValues);
}
B. private void PerformCalculation() {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
ThreadStart delStart = new
ThreadStart(PerformCalculation);
Thread newThread = new Thread(delStart);
if (newThread.IsAlive) {
newThread.Start(myValues);
}
}
C. private void PerformCalculation (CalculationValues values) {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Application.DoEvents();
PerformCalculation(myValues);
Application.DoEvents();
}
D. private void PerformCalculation(object values) {
...
}
private void DoWork(){
CalculationValues myValues = new CalculationValues();
Thread newThread = new Thread(
new ParameterizedThreadStart(PerformCalculation));
newThread.Start(myValues);
}
Answer: D

Microsoft examen   70-536-Csharp   certification 70-536-Csharp   70-536-Csharp examen   70-536-Csharp

NO.12 You are working on a debug build of an application.
You need to find the line of code that caused an exception to be thrown.
Which property of the Exception class should you use to achieve this goal?
A. Data
B. Message
C. StackTrace
D. Source
Answer: C

certification Microsoft   70-536-Csharp examen   70-536-Csharp

NO.13 You are instantiating a variable to store only strings. The variable is named messageStore.
You need to ensure that string messages are read and processed in the order in which they are received.
Which code segment should you use?
A. Stack<string> messageStore = new Stack<string>();
messageStore.Push("This is a test message...");
B. Stack messageStore = new Stack();
messageStore.Push("This is a test message...");
C. Queue messageStore = new Queue();
messageStore.Enqueue("This is a test message...");
D. Queue<string> messageStore = new Queue<string>();
messageStore.Enqueue("This is a test message...");
Answer: D

Microsoft examen   certification 70-536-Csharp   certification 70-536-Csharp   70-536-Csharp

NO.14 You are creating a class named Temperature. The Temperature class contains a public field named F.
The public field F represents a temperature in degrees Fahrenheit.
You need to ensure that users can specify whether a string representation of a Temperature instance
displays the Fahrenheit value or the equivalent Celsius value.
Which code segment should you use?
A. public class Temperature : IFormattable {
public int F;
public string ToString(string format, IFormatProvider fp) {
if ((format == "F")|| (format == null)) return F.ToString();
if (format == "C") return ((F - 32) / 1.8).ToString();
throw new FormatException("Invalid format string");
}
}
B. public class Temperature : ICustomFormatter {
public int F;
public string Format(string format, object arg,
IFormatProvider fp) {
if (format == "C") return ((F - 32) / 1.8).ToString();
if (format == "F") return arg.ToString();
throw new FormatException("Invalid format string");
}
}
C. public class Temperature {
public int F;
public string ToString(string format, IFormatProvider fp) {
if (format == "C") {
return ((F - 32) / 1.8).ToString();
} else {
return this.ToString();
}
}
}
D. public class Temperature {
public int F;
protected string format;
public override String ToString() {
if (format == "C")
return ((F - 32) / 1.8).ToString();
return F.ToString();
}
}
Answer: A

Microsoft   certification 70-536-Csharp   70-536-Csharp   certification 70-536-Csharp

NO.15 You create a class that is derived from the Installer class. The class you create is used to perform a
component installation.
The component installation overwrites the value of a registry key. You create a method named
GetRegValue that returns the current value of the registry key.
You need to add a code segment that preserves the original value of the registry key if the component is
uninstalled.
Which code segment should you use?
A. private void BeforeUninstallEventHandler(
object sender, InstallEventArgs e) {
e.SavedState.Add("original RegValue", GetRegValue());
}
B. private void CommittedEventHandler(
object sender, InstallEventArgs e) {
e.SavedState.Add("original RegValue", GetRegValue());
}
C. public override void Uninstall(
IDictionary savedState) {
base.Uninstall(savedState);
savedState.Add("original RegValue", GetRegValue());
}
D. protected override void OnBeforeInstall(
IDictionary savedState) {
base.OnBeforeInstall(savedState);
savedState.Add("original RegValue", GetRegValue());
}
Answer: D

Microsoft   70-536-Csharp   70-536-Csharp examen

NO.16 You need to write a code segment that will add a string named strConn to the connection string section
of the application configuration file.
Which code segment should you use?
A. Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.ConnectionStrings.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
myConfig.Save();
B. Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.ConnectionStrings.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
ConfigurationManager.RefreshSection(
"ConnectionStrings");
C. ConfigurationManager.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
ConfigurationManager.RefreshSection(
"ConnectionStrings");
D. ConfigurationManager.ConnectionStrings.Add(
new ConnectionStringSettings("ConnStr1", strConn));
Configuration myConfig =
ConfigurationManager.OpenExeConfiguration(
ConfigurationUserLevel.None);
myConfig.Save();
Answer: A

certification Microsoft   70-536-Csharp   certification 70-536-Csharp   70-536-Csharp examen   70-536-Csharp   70-536-Csharp

NO.17 You are writing a method that returns an ArrayList named al.
You need to ensure that changes to the ArrayList are performed in a thread-safe manner.
Which code segment should you use?
A. ArrayList al = new ArrayList();
lock (al.SyncRoot)
{
return al;
}
B. ArrayList al = new ArrayList();
lock (al.SyncRoot.GetType())
{
return al;
}
C. ArrayList al = new ArrayList();
Monitor.Enter(al);
Monitor.Exit(al);
return al;
D. ArrayList al = new ArrayList();
ArrayList sync_al = ArrayList.Synchronized(al);
return sync_al;
Answer: D

certification Microsoft   70-536-Csharp   70-536-Csharp   certification 70-536-Csharp

NO.18 You are developing an application to assist the user in conducting electronic surveys. The survey
consists of 25 true-or-false questions.
You need to perform the following tasks:
ø Initialize each answer to true.
ø Minimize the amount of memory used by each survey.
Which storage option should you choose?
A. BitVector32 answers = new BitVector32(1);
B. BitVector32 answers = new BitVector32(-1);
C. BitArray answers = new BitArray (1);
D. BitArray answers = new BitArray(-1);
Answer: B

Microsoft examen   70-536-Csharp examen   certification 70-536-Csharp   70-536-Csharp   certification 70-536-Csharp

NO.19 You need to write a multicast delegate that accepts a DateTime argument.
Which code segment should you use?
A. public delegate int PowerDeviceOn(bool result,
DateTime autoPowerOff);
B. public delegate bool PowerDeviceOn(object sender,
EventArgs autoPowerOff);
C. public delegate void PowerDeviceOn(DateTime autoPowerOff);
D. public delegate bool PowerDeviceOn(DateTime autoPowerOff);
Answer: C

Microsoft examen   70-536-Csharp   70-536-Csharp   70-536-Csharp examen

NO.20 You are creating an application that retrieves values from a custom section of the application
configuration file. The custom section uses XML as shown in the following block.
<ProjectSection name="Project1">
<role name="administrator" />
<role name="manager" />
<role name="support" />
</ProjectSection>
You need to write a code segment to define a class named Role. You need to ensure that the Role class is
initialized with values that are retrieved from the custom section of the configuration file.
Which code segment should you use?
A. public class Role : ConfigurationElement {
internal string _ElementName = "name";
[ConfigurationProperty("role")]
public string Name {
get {
return ((string)base["role"]);
}
}
}
B. public class Role : ConfigurationElement {
internal string _ElementName = "role";
[ConfigurationProperty("name", RequiredValue = true)]
public string Name {
get {
return ((string)base["name"]);
}
}
}
C. public class Role : ConfigurationElement {
internal string _ElementName = "role";
private string _name;
[ConfigurationProperty("name")]
public string Name {
get {
return _name;
}
}
}
D. public class Role : ConfigurationElement {
internal string _ElementName = "name";
private string _name;
[ConfigurationProperty("role", RequiredValue = true)]
public string Name {
get {
return _name;
}
}
}
Answer: B

Microsoft   70-536-Csharp   70-536-Csharp examen   70-536-Csharp   certification 70-536-Csharp

Les meilleures Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp examen pratique questions et réponses

Les produits de Pass4Test a une bonne qualité, et la fréquence de la mise à jour est bien impressionnée. Si vous avez déjà choisi la Q&A de Pass4Test, vous n'aurez pas le problème à réussir le test Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp.


Aujourd'hui, il y a pleine de professionnels IT dans cette société. Ces professionnels sont bien populaires mais ils ont à être en face d'une grande compétition. Donc beaucoup de professionnels IT se prouver par les tests de Certification très difficile à réussir. Pass4Test est voilà pour offrir un raccourci au succès de test Certification.


Code d'Examen: 70-502-VB

Nom d'Examen: Microsoft (TS: MS.NET Frmewrk3.5, Wndws Presentation Fndation App Dev)

Questions et réponses: 102 Q&As

Code d'Examen: 70-564-Csharp

Nom d'Examen: Microsoft (MCPD: Designing and Developing ASP C#.NET App With .NET Framework Practice Test)

Questions et réponses: 55 Q&As

Code d'Examen: 70-562-Csharp

Nom d'Examen: Microsoft (TS:MS.NET Framework 3.5, ASP.NET Application Development)

Questions et réponses: 98 Q&As

Code d'Examen: 70-515-Csharp

Nom d'Examen: Microsoft (Web Applications Development with Microsoft C#.NET Framework 4 Practice Test)

Questions et réponses: 118 Q&As

Dépenser assez de temps et d'argent pour réussir le test Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp ne peut pas vous assurer à passer le test Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp sans aucune doute. Choisissez le Pass4Test, moins d'argent coûtés mais plus sûr pour le succès de test. Dans cette société, le temps est tellement précieux que vous devez choisir un bon site à vous aider. Choisir le Pass4Test symbole le succès dans le future.


On peut télécharger quelques parties de Q&A gratuites dans le site Pass4Test à propos de test Certification Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp. Vous pouvez tester notre fiabilité via le démo. Choisir Pass4Test, c'est-à-dire que vous êtes proche d'un pic ensuite de l'Industrie IT.


Beaucoup de gens trouvent difficile à passer le test Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp, c'est juste parce que ils n'ont pas bien choisi une bonne Q&A. Vous penserez que le test Microsoft 70-502-VB 70-564-Csharp 70-562-Csharp 70-515-Csharp n'est pas du tout autant dur que l'imaginer. Le produit de Pass4Test non seulement comprend les Q&As qui sont impressionnées par sa grande couverture des Questions, mais aussi le service en ligne et le service après vendre.


70-502-VB Démo gratuit à télécharger: http://www.pass4test.fr/70-502-VB.html


NO.1 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 examen   70-502-VB   70-502-VB examen   certification 70-502-VB

NO.2 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 examen   certification 70-502-VB   70-502-VB   70-502-VB

NO.3 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   70-502-VB examen   certification 70-502-VB

NO.4 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   70-502-VB   70-502-VB

NO.5 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   certification 70-502-VB   70-502-VB

NO.6 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   certification 70-502-VB   70-502-VB   certification 70-502-VB

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

NO.8 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 examen   70-502-VB   70-502-VB examen   certification 70-502-VB

NO.9 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-VB examen   70-502-VB   70-502-VB   certification 70-502-VB

NO.10 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 examen   70-502-VB   70-502-VB examen

NO.11 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   70-502-VB   70-502-VB   70-502-VB

NO.12 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 examen   70-502-VB   70-502-VB   70-502-VB   70-502-VB examen

NO.13 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-VB examen   70-502-VB examen   certification 70-502-VB   70-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   70-502-VB examen   70-502-VB examen   70-502-VB examen

NO.14 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   certification 70-502-VB   70-502-VB

NO.15 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   70-502-VB examen   70-502-VB examen

NO.16 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   70-502-VB   70-502-VB examen

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

certification Microsoft   70-502-VB examen   70-502-VB

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

certification Microsoft   70-502-VB examen   certification 70-502-VB   70-502-VB   70-502-VB   certification 70-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   70-502-VB examen   certification 70-502-VB   70-502-VB examen

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

certification Microsoft   70-502-VB   70-502-VB examen   certification 70-502-VB   certification 70-502-VB

Le dernier examen Microsoft 070-536-VB 070-561-VB 070-545-VB gratuit Télécharger

Généralement, les experts n'arrêtent pas de rechercher les Q&As plus proches que test Certification. Les documentations offertes par les experts de Pass4Test peuvent vous aider à passer le test Certification. Les réponses de nos Q&As ont une précision 100%. C'est facile à obtenir le Certificat de Microsoft après d'utiliser la Q&A de Pass4Test. Vous aurez une space plus grande dans l'industrie IT.


Pass4Test peut offrir la facilité aux candidats qui préparent le test Microsoft 070-536-VB 070-561-VB 070-545-VB. Nombreux de candidats choisissent le Pass4Test à préparer le test et réussir finalement à la première fois. Les experts de Pass4Test sont expérimentés et spécialistes. Ils profitent leurs expériences riches et connaissances professionnelles à rechercher la Q&A Microsoft 070-536-VB 070-561-VB 070-545-VB selon le résumé de test réel Microsoft 070-536-VB 070-561-VB 070-545-VB. Vous pouvez réussir le test à la première fois sans aucune doute.


Pass4Test est un seul site de provider le guide d'étude Microsoft 070-536-VB 070-561-VB 070-545-VB de qualité. Peut-être que vous voyiez aussi les Q&A Microsoft 070-536-VB 070-561-VB 070-545-VB dans autres sites, mais vous allez découvrir laquelle est plus complète. En fait, Pass4Test est aussi une resource de Q&A pour les autres site web.


La grande couverture, la bonne qualité et la haute précision permettent le Pass4Test à avancer les autre sites web. Donc le Pass4Test est le meilleur choix et aussi l'assurance pour le succès de test Microsoft 070-536-VB 070-561-VB 070-545-VB.


Pour réussir le test Microsoft 070-536-VB 070-561-VB 070-545-VB demande beaucoup de connaissances professionnelles IT. Il n'y a que les gens qui possèdent bien les connaissances complètes à participer le test Microsoft 070-536-VB 070-561-VB 070-545-VB. Maintenant, on a les autres façons pour se former. Bien que vous n'ayez pas une connaissance complète maintenant, vous pouvez quand même réussir le test Microsoft 070-536-VB 070-561-VB 070-545-VB avec l'aide de Pass4Test. En comparaison des autres façons, cette là dépense moins de temps et de l'effort. Tous les chemins mènent à Rome.


Les spécialiste profitant leurs expériences et connaissances font sortir les documentations particulière ciblées au test Microsoft 070-536-VB 070-561-VB 070-545-VB pour répondre une grande demande des candidats. Maintenant, la Q&A plus nouvelle, la version plus proche de test Microsoft 070-536-VB 070-561-VB 070-545-VB réel est lancée. C'est possible à réussir 100% avec le produit de Microsoft 070-536-VB 070-561-VB 070-545-VB. Si malheureusement, vous ne passez pas le test, votre argent sera tout rendu. Vous pouvez télécharger le démo gratuit en Internet pour examiner la qualité de Q&A. N'hésitez plus d'ajouter le produit au panier, Pass4Test peut vous aider à réussir le rêve.


Code d'Examen: 070-536-VB

Nom d'Examen: Microsoft (TS:MS.NET Framework 2.0-Application Develop Foundation)

Questions et réponses: 173 Q&As

Code d'Examen: 070-561-VB

Nom d'Examen: Microsoft (TS: MS .NET Framework 3.5, ADO.NET Application Development)

Questions et réponses: 99 Q&As

Code d'Examen: 070-545-VB

Nom d'Examen: Microsoft (TS:Microsoft Visio 2007, Application Development)

Questions et réponses: 54 Q&As

070-545-VB Démo gratuit à télécharger: http://www.pass4test.fr/070-545-VB.html


NO.1 You need to develop an Office Visio 2007 solution for 1,000 computers that run Visio 2007. The solution
must meet the following requirements:
The solution must not require the installation of additional components, tools, or DLLs.
Users must be able to customize the solution without installing additional development tools.
What should you develop?
A. A template and a Visio Solutions Library (VSL)
B. A custom stencil that uses ShapeSheet programming
C. A Windows Forms application that contains the Visio Drawing Control
D. A solution by using Microsoft Visual Studio 2005 Tools for Office Second Edition
Answer: B

Microsoft   certification 070-545-VB   070-545-VB   certification 070-545-VB   070-545-VB

NO.2 You are developing an Office Visio 2007 Shared Add-in. You need to prevent shape deletions by
using custom logic. What should you do?
A. Configure the add-in to listen to the QueryCancelPageDelete event of the Visio 2007 application.
B. Configure the add-in to listen to the QueryCancelSelectionDelete event of the Visio 2007 application.
C. Configure the add-in to listen to the BeforeShapeDelete event of the Visio 2007 application.
D. Configure the add-in to listen to the BeforeSelectionDelete event of the Visio 2007 application.
Answer: B

Microsoft   070-545-VB   070-545-VB examen   070-545-VB   certification 070-545-VB

NO.3 You have a Windows Forms application that contains an embedded Visio Drawing Control. You have
an Office Visio 2007 drawing saved as C:\Template.vsd. You need to configure the application to load
and display the drawing as a template by using the Visio Drawing Control. Which code should you add
to the application?
A. Me.axDrawingControl1. Document. Application.Documents.Open( " C:\Template.VSD " )
B. Me.axDrawingControl1.Window.Application.Documents.Open( " C:\Template.VSD " )
C. Me.axDrawingControl1.Src = " C:\Template.VSD "
D. Dim openDockedFlag As Short = CShort(Visio.VisOpenSaveArgs.visOpenDocked)
Me.axDrawingControl1.Window.Application.Documents. OpenEx("C:\Template.VSD",openDockedFlag)
Answer: C

Microsoft examen   070-545-VB examen   070-545-VB

NO.4 You are creating an application that will be used to connect two two-dimensional (2-D) shapes by
using a Dynamic Connector shape. In your application, you create an object named myVisioApp that
references the Visio Application object. You need to add code to your application to connect the 2-D
shapes. What code should you add?
A. myVisioApp.Active P age.Shapes(1). Cells(PinX). GlueTo( myVisioApp.Active P
age.Shapes(2) .Cells(PinX) )
B. myVisioApp.Active P age. Shapes(1).Cells(BeginX).GlueTo
myVisioApp.ActivePage.Shapes(2).Cells(Connections.X1)
C. myVisioApp.Active P age.Shapes(1).AutoConnect( myVisioApp.Active P age.Shapes(2),
visAutoConnectDirNone)
D. myVisioApp.Active P age.Shapes(1).AutoConnect( myVisioApp.Active P age.Shapes( 1 ) ,
visAutoConnectDirRight )
Answer: C

Microsoft examen   070-545-VB examen   070-545-VB   070-545-VB

NO.5 You are developing an Office Visio 2007 Shared Add-in. You create three objects named objMaster,
objPage, and objWindow. The object objMaster references a local copy of the master. The object objPage
references the current page. The object objWindow references the active window. You need to create
several shape instances of the master on the current page at specific coordinates in the active window.
Which method should you use?
A. objPage.Drop()
B. objPage.DropMany()
C. objWindow.CreateSelection()
D. objMaster.Shapes.Item(1).Copy() objPage.Paste()
Answer: B

Microsoft   070-545-VB   070-545-VB

NO.6 You plan to create an Office Visio 2007 application. You need to prevent Visio 2007 from failing in the
event that there is a fault in the application. What are three possible ways to achieve this goal? (Each
correct answer presents a complete solution. Choose three.)
A. Create a VBA solution.
B. Create a VSL solution.
C. Create an EXE add-on solution.
D. Create a Shared Add-in solution, and then use the COM Shim Wizard to create a DLL.
E. Create a Shared Add-in solution by using Microsoft Visual Studio 2005 Tools for Office Second Edition.
Answer: CDE

Microsoft examen   certification 070-545-VB   070-545-VB examen   070-545-VB examen   070-545-VB

NO.7 You create a custom template and several custom stencils. You need the stencils to open
automatically when a new file is created from the template. What should you do?
A. Deploy the stencils to the My Shapes folder.
B. Deploy the stencils to the same folder as the template.
C. Dock the stencils in the template workspace, and then save the template.
D. Modify the Office Visio 2007 application settings to contain the path to the stencils.
Answer: C

Microsoft examen   070-545-VB examen   070-545-VB examen   070-545-VB   070-545-VB

NO.8 You are developing an Office Visio 2007 Shared Add-in. You need to modify the add-in to perform an
action after the Visio 2007 application flushes its events queue. What should you do?
A. Listen for AppDeactivated.
B. Listen for RunModeEntered.
C. Listen for MustFlushScopeBeginning.
D. Queue a MarkerEvent and then listen for a MarkerEvent.
Answer: D

Microsoft   070-545-VB examen   070-545-VB   070-545-VB

NO.9 You are developing an Office Visio 2007 Shared Add-in.
You construct an event sink class that listens to events from the Visio 2007 Application, Document, Page,
and Shape objects. The VisEventProc function has the following signature:
Public Function VisEventProc(
ByVal eventCode As Short,
ByVal source As Object,
ByVal eventId As Integer,
ByVal eventSequenceNumber As Integer,
ByVal subject As Object,
ByVal moreInformation As Object) As Object
You need to construct a switch to identify the object that raised the event.
Which parameter should you use?
A. eventCode
B. moreInformation
C. source
D. subject
Answer: C

Microsoft   certification 070-545-VB   070-545-VB

NO.10 You are developing an Office Visio 2007 Shared Add-in. You create an object named objShape that
references a new shape. You need to modify the add-in to identify the shape if the shape is moved to a
different page. Which property of objShape should you reference?
A. ID
B. Name
C. NameID
D. UniqueID(visGetOrMakeGUID)
Answer: D

certification Microsoft   070-545-VB examen   070-545-VB examen   certification 070-545-VB   070-545-VB   070-545-VB

Pass4Test offre de Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169 matériaux d'essai

Dans cette société, il y a plein de gens talentueux, surtout les professionnels de l'informatique. Beaucoup de gens IT se battent dans ce domaine pour améliorer l'état de la carrière. Le test 070-506 070-665 070-178 70-516-CSHARP 70-169 est lequel très important dans les tests de Certification Microsoft. Pour être qualifié de Microsoft, on doit obtenir le passport de test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169.


Le Pass4Test est un site qui peut offrir les facilités aux candidats et aider les candidats à réaliser leurs rêve. Si vous êtes souci de votre test Certification, Pass4Test peut vous rendre heureux. La haute précision et la grande couverture de la Q&A de Pass4Test vous aidera pendant la préparation de test. Vous n'aurez aucune raison de regretter parce que Pass4Test réalisera votre rêve.


Pass4Test est un site particulier à offrir les guides de formation à propos de test certificat IT. La version plus nouvelle de Q&A Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169 peut répondre sûrement une grande demande des candidats. Comme tout le monde le connait, le certificat Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169 est un point important pendant l'interview dans les grandes entreprises IT. Ça peut expliquer un pourquoi ce test est si populaire. En même temps, Pass4Test est connu par tout le monde. Choisir le Pass4Test, choisir le succès. Votre argent sera tout rendu si malheureusement vous ne passe pas le test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169.


Code d'Examen: 070-506

Nom d'Examen: Microsoft (Microsoft Silverlight 4, Development)

Questions et réponses: 153 Q&As

Code d'Examen: 070-665

Nom d'Examen: Microsoft (PRO:Microsoft Lync Server 2010,Administrator)

Questions et réponses: 85 Q&As

Code d'Examen: 070-178

Nom d'Examen: Microsoft (Microsoft Project 2010, Managing Projects)

Questions et réponses: 70 Q&As

Code d'Examen: 70-516-CSHARP

Nom d'Examen: Microsoft (TS: Accessing Data with Microsoft .NET Framework 4)

Questions et réponses: 142 Q&As

Code d'Examen: 70-169

Nom d'Examen: Microsoft (TS: Windows Small Business Server 2011 Standard, Configuring)

Questions et réponses: 55 Q&As

Choisir le Pass4Test vous permet non seulement à réussir le test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169, mais encore à enjouir le service en ligne 24h et la mise à jour gratuite pendant un an. Nous allons lancer au premier temps la Q&A Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169 plus nouvelle. Si vous ne passez pas le test, votre argent sera tout rendu.


Si vous travaillez quand même très dur et dépensez beaucoup de temps pour préparer le test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169, mais ne se savez pas du tout c'est où le raccourci pour passer le test certification, Pass4Test peut vous donner une solution efficace. Vous vous sentirez magiquement jouer un effet multiplicateur.


Nous sommes clairs que ce soit necessaire d'avoir quelques certificats IT dans cette industrie de plus en plus intense. Le Certificat IT est une bonne examination des connaissances démandées. Dans l'Industrie IT, le test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169 est une bonne examination. Mais c'est difficile à passer le test Microsoft 070-506 070-665 070-178 70-516-CSHARP 70-169. Pour améliorer le travail dans le future, c'est intélligent de prendre une bonne formation en coûtant un peu d'argent. Vous allez passer le test 100% en utilisant le Pass4Test. Votre argent sera tout rendu si votre test est raté.


70-169 Démo gratuit à télécharger: http://www.pass4test.fr/70-169.html


NO.1 You are the off-site administrator for a network that runs Windows Small Business Server (SBS) 2011
Standard. An on-site user named User1 requires access to the Windows SBS 2011 Standard server
Desktop in order to assist you with your administrative tasks. User1 is currently assigned the Standard
user role. User1 reports that she is unable to log on to the Windows SBS 2011 Standard server, either
locally or remotely. You need to ensure that User1 can access the Windows SBS 2011 Standard server
Desktop both locally and remotely. What should you do?
A. Add the User1 account to the Windows SBS Administrators group.
B. Add the User1 account to the built-in Server Operators group. Create a new user role based on the
User1 account.
C. Change the user role of the User1 account from Standard User to Network Administrator.
D. Change the user role of the User1 account from Standard User to Standard User with
administration links
Answer: C

Microsoft   certification 70-169   certification 70-169   70-169   certification 70-169   70-169

NO.2 You are the administrator for a network that runs Windows Small Business Server (SBS) 2011 Standard.
You create an email-enabled security group named Accounting. You add the user accounts of all
accounting employees and their supervisor to this security group. You need to ensure that all email
messages that are sent to the Accounting security group are retained indefinitely and that all users in the
group can access the messages. What should you do?
A. Enable journaling of all email messages on the Exchange server.
B. Create a public folder and grant the Owner permission level to the Accounting group.
C. Modify the Accounting group properties to place messages in the Accounting public folder.
D. Modify the accounting supervisor's mailbox properties and supply an external delivery address.
Answer: C

Microsoft examen   70-169 examen   70-169   70-169   70-169 examen   70-169

NO.3 You are the administrator for a network that runs Windows Small Business Server (SBS) 2011 Standard.
The Windows Small Business Server 2011 Standard network includes a branch office. Users at this
branch office connect to the network by using either individual VPN connections or by using Remote Web
Access (RWA). The branch office adds four new users and computers. You need to join the four new
computers to the SBS domain. What should you do on each of the new computers?
A. Create a VPN connection, and use http://connect.
B. Create a VPN connection, and run the netdom command.
C. Download the Certificate Distribution package by using RWA. Import the certificate.
D. Download the Certificate Distribution package by using RWA. Run the InstallCertificate
application.
Answer: B

Microsoft   70-169   certification 70-169   70-169

NO.4 You are the administrator for a network that runs Windows Small Business Server (SBS) 2011 Standard.
You need to ensure that User1 can manage standard user accounts. You must achieve this goal without
granting User1 other administrative permissions. What should you do.?
A. In Active Directory Users and Computers, add User1 to the Administrators Group.
B. In Active Directory Users and Computers, add User1 to the Account Operators Group.
C. In the Windows Small Business Server 2011 Standard Console, add User1s account to the Windows
SBS 2011 Administrators Group.
D. In the Windows Small Business Server 2011 Standard Console, change User1s user role from
Standard User to Network Administrator.
Answer: B

Microsoft   70-169   certification 70-169

NO.5 You are the administrator for a network that runs Windows Small Business Server (SBS) 2011 Standard.
The Windows Small Business Server 2011 Standard network has a shared printer that is dedicated to
invoice printing. Only authorized users should be able to print to this printer. You create a security group
named Invoice Printing and add the authorized users to this group. You need to ensure that only the
Invoice Printing group can print to the invoice printer. What should you do?
A. Grant the Invoice Printing group the Print, Manage this printer, and Manage documents
permissions on the invoice printer.
B. Grant the Invoice Printing group the Print permission, only. Deny the Everyone group the Print
permission on the invoice printer.
C. Add the Invoice Printing security group to the Standard User role. Grant the Invoice Printing group the
Print permission.
D. Create a new user role based on Standard User, and add the Invoice Printing security group to the role.
Grant the Invoice Printing group the Print permission, and remove the Everyone group.
Answer: D

certification Microsoft   70-169   70-169 examen   certification 70-169

Dernières Microsoft 070-321 074-679 070-463 70-463 de la pratique de l'examen questions et réponses téléchargement gratuit

Les produits de Pass4Test sont préparés pour le test Certification Microsoft 070-321 074-679 070-463 70-463, y compris les formations et les informations ciblées au test Microsoft 070-321 074-679 070-463 70-463. D'ailleurs, la Q&A de Pass4Test qui est impressionnée par la grande couverture des questions et la haute précision des réponses vous permet à réussir le test avec une haute note.


Aujourd'hui, c'est une société pleine de gens talentueux, la meilleure façon de suivre et assurer la place dans votre carrière est de s'améliorer sans arrêt. Si vous n'augmentez pas dans votre carrière, vous êtes juste sous-développé parce que les autres sont meilleurs que vous. Pour éviter ce cas, vous devez vous former successivement.


Il faut une bonne préparation et aussi une série de connaissances professionnelles complètes pour réussir le test Microsoft 070-321 074-679 070-463 70-463. La ressourece providée par Pass4Test peut juste s'accorder votre demande.


Code d'Examen: 070-321

Nom d'Examen: Microsoft (Deploying Office 365)

Questions et réponses: 74 Q&As

Code d'Examen: 074-679

Nom d'Examen: Microsoft (Windows Server 2008 Hosted Environments, Configuring and Managing)

Questions et réponses: 75 Q&As

Code d'Examen: 070-463

Nom d'Examen: Microsoft (Implementing a Data Warehouse with Microsoft SQL Server 2012)

Questions et réponses: 123 Q&As

Code d'Examen: 70-463

Nom d'Examen: Microsoft (Implementing a Data Warehouse with Microsoft SQL Server 2012)

Questions et réponses: 123 Q&As

Le test Microsoft 070-321 074-679 070-463 70-463 peut bien examnier les connaissances et techniques professionnelles. Pass4Test est votre raccourci amené au succès de test Microsoft 070-321 074-679 070-463 70-463. Chez Pass4Test, vous n'avez pas besoin de dépenser trop de temps et d'argent juste pour préparer le test Microsoft 070-321 074-679 070-463 70-463. Travaillez avec l'outil formation de Pass4Test visé au test, il ne vous demande que 20 heures à préparer.


Pass4Test peut offrir la facilité aux candidats qui préparent le test Microsoft 070-321 074-679 070-463 70-463. Nombreux de candidats choisissent le Pass4Test à préparer le test et réussir finalement à la première fois. Les experts de Pass4Test sont expérimentés et spécialistes. Ils profitent leurs expériences riches et connaissances professionnelles à rechercher la Q&A Microsoft 070-321 074-679 070-463 70-463 selon le résumé de test réel Microsoft 070-321 074-679 070-463 70-463. Vous pouvez réussir le test à la première fois sans aucune doute.


070-321 Démo gratuit à télécharger: http://www.pass4test.fr/070-321.html


NO.1 Your company has three branch offices. The network contains an Active Directory domain that is
synchronized to Office 365. The company uses Microsoft SharePoint Online. You plan to implement
different User Profiles properties for each branch office. You need to ensure that the User Profiles
properties of each branch office have different properties. What should you configure from the User
Profiles section in the SharePoint Online administration center?
A. User Permissions
B. User Sub-types
C. Organization Profiles
D. Audiences
Answer: B

Microsoft   070-321   070-321 examen   certification 070-321

NO.2 HOTSPOT
Your company has a site collection that is hosted on Microsoft SharePoint Online. From the SharePoint
Online administration center, you enable external access. You need to ensure that you can grant
Windows Live ID users access to the site collection. What should you configure from Site Collection
Administration? To answer, select the appropriate link in the answer area.
Answer:

NO.3 You implement an intranet that uses Microsoft SharePoint Online. You activate the Document Sets
feature. The human resources department has a document library. The department wants to create
document sets for the document library. You need to activate the Document Sets feature for the library.
What should you do from the library settings? (Each correct answer presents part of the solution. Choose
all that apply.)
A. Allow the management of content types.
B. Add the link to a document content type.
C. Enable versioning.
D. Enable audience targeting.
E. Add the Document Set content type.
Answer: A, B, E

Microsoft examen   070-321 examen   070-321   070-321

NO.4 DRAG DROP
You plan to deploy Microsoft SharePoint Online. Your company identifies the following requirements for
the planned deployment:
Users must be able to create pages based on page layouts.
Users must be able to edit Microsoft InfoPath forms in a web browser.
You need to identify which features are required to meet the planned deployment requirements. Which
features should you identify? To answer, drag the appropriate feature to the correct requirement in the
answer area.
Answer:

NO.5 Your company has a site that is hosted on Microsoft SharePoint Online. Three months ago, a user
named User1 deleted a document library from the site. You need to recover the document library as soon
as possible. What should you do?
A. Recover the data from the Recycle Bin of the site
B. Create a new document library that has the same URL as the deleted document library.
C. Create a service request.
D. Recover the data from the Recycle Bin of the site collection.
Answer: C

Microsoft   070-321 examen   070-321   certification 070-321

NO.6 Your company has offices in Germany, France, and the United States. The company uses Microsoft
SharePoint Online. You need to ensure that users can view the default ribbon controls and the context
menus in German, French, and English. What should you do?
A. From the SharePoint Online administration center, modify the user profiles.
B. From the SharePoint Online administration center, modify the organization profiles.
C. From Site Settings, modify the Language settings,
D. From Site Settings, modify the Regional settings.
Answer: C

Microsoft   070-321 examen   070-321   070-321

NO.7 Your network contains an Active Directory domain named contoso.com. Microsoft Exchange Server
2010 and Microsoft Lync Server 2010 are deployed on the network. You purchase a subscription to Office
365. Over the next six months, you plan to migrate users to Microsoft Lync Online and Microsoft
Exchange Online. You need to recommend a DNS namespace for the Exchange Online and Lync Online
environments. The solution must minimize changes to the current environment. What should you
recommend?
A. Use contoso.com for Exchange Online and Lync Online.
B. Use contoso.com for Exchange Online. Use im.contoso.com for Lync Online.
C. Use contoso.com for Lync Online. Use service.contoso.com for Exchange Online.
D. Use contoso.com for Exchange Online. Use contoso.onmicrosoft.com for Lync Online.
Answer: C

Microsoft   070-321   070-321   070-321

NO.8 Your company has five departments. The network contains an Active Directory domain that is
synchronized to Office 365. Each user has an Active Directory account. The department property of each
user account contains the work department of that user. You have a site that is hosted on Microsoft
SharePoint Online. The site has a news list that is displayed on the home page of the site. You need to
ensure that when you create an item on the news list, you can specify which department will see the item
on the home page. What should you configure from the User Profiles section in the SharePoint Online
administration center?
A. Term Sets
B. Organization Profiles
C. Audiences
D. Policies
Answer: C

Microsoft   certification 070-321   070-321   070-321   070-321

NO.9 Your company uses Microsoft SharePoint Online. You plan to deploy a site for the human resources
department and a site for the finance department. You need to plan the structure of the sites to meet the
following requirements:
Ensure that Office documents stored in the finance site can be edited online.
Prevent Office documents stored in the human resources site from being edited online.
Ensure that Office documents stored in either site can be edited by using client-side applications.
Which site structure should you include in the plan?
A. Two web applications
B. One site collection that contains two sites
C. One site collection that contains two document libraries
D. Two site collections
Answer: D

Microsoft   070-321   070-321 examen

NO.10 HOTSPOT
Your company uses Microsoft SharePoint Online. The development team creates a Web Part that uses
custom code. You need to deploy the Web Part to SharePoint Online.
What should you configure from Galleries.? To answer, select the appropriate link in the answer area.
Answer: