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

2014年3月20日星期四

Les meilleures Microsoft 070-564 070-562 070-536 070-505 070-448 examen pratique questions et réponses

Pass4Test est un fournisseur professionnel des documentations à propos du test Certification IT, avec lequel vous pouvez améliorer le future de votre carrière. Vous trouverez que nos Q&As seraient persuadantes d'après d'avoir essayer nos démos gratuits. Le démo de Microsoft 070-564 070-562 070-536 070-505 070-448 (même que les autres démos) est gratuit à télécharger. Vous n'aurez pas aucune hésitation après travailler avec notre démo.

Bien qu'Il y ait plein de talentueux dans cette société, il manque beaucoup de professionnels dans les domaine en cours de développement, l'Industrie IT est l'un de ces domaines. Donc le test Microsoft 070-564 070-562 070-536 070-505 070-448 est un bon l'examination de technique informatique. Pass4Test est un site d'offrir la formation particulière au test Microsoft 070-564 070-562 070-536 070-505 070-448.

Pass4Test est un fournisseur de formation pour une courte terme, et Pass4Test peut vous assurer le succès de test Microsoft 070-564 070-562 070-536 070-505 070-448. Si malheureusement, vous échouez le test, votre argent sera tout rendu. Vous pouvez télécharger le démo gratuit avant de choisir Pass4Test. Au moment là, vous serez confiant sur Pass4Test.

Code d'Examen: 070-564
Nom d'Examen: Microsoft (PRO: Designing and Developing ASP.NET Applications using Microsoft .NET Framework 3.5)
Questions et réponses: 109 Q&As

Code d'Examen: 070-562
Nom d'Examen: Microsoft (TS: Microsoft .NET Framework 3.5, ASP.NET Application Development)
Questions et réponses: 133 Q&As

Code d'Examen: 070-536
Nom d'Examen: Microsoft (TS:MS.NET Framework 2.0-Application Develop Foundation)
Questions et réponses: 155 Q&As

Code d'Examen: 070-505
Nom d'Examen: Microsoft (TS: Microsoft .NET Framework 3.5,Windows Forms Application Development)
Questions et réponses: 103 Q&As

Code d'Examen: 070-448
Nom d'Examen: Microsoft (TS:MS SQL Server 2008.Business Intelligence Dev and Maintenan)
Questions et réponses: 147 Q&As

Le test Microsoft 070-564 070-562 070-536 070-505 070-448 est une examination de techniques professionnelles dans l'Industrie IT. Pass4Test est un site qui peut vous aider à réussir le test Microsoft 070-564 070-562 070-536 070-505 070-448 rapidement. Si vous utiliser l'outil de formation avant le test, vous apprendrez tous essences de test Certification Microsoft 070-564 070-562 070-536 070-505 070-448.

Le produit de Pass4Test que vous choisissez vous met le pied sur la première marche du pic de l'Industrie IT, et vous serez plus proche de votre rêve. Les matériaux offerts par Pass4Test peut non seulement vous aider à réussir le test Microsoft 070-564 070-562 070-536 070-505 070-448, mais encore vous aider à se renforcer les connaissances professionnelles. Le service de la mise à jour pendant un an est aussi gratuit pour vous.

Si vous vous inscriez le test Microsoft 070-564 070-562 070-536 070-505 070-448, vous devez choisir une bonne Q&A. Le test Microsoft 070-564 070-562 070-536 070-505 070-448 est un test Certification très important dans l'Industrie IT. C'est essentielle d'une bonne préparation avant le test.

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

NO.1 You use Reflection to obtain information about a method named My Method. You need to ascertain
whether MyMethod is accessible to a derived class. What should you do.?
A. Call the IsAssembly property of the MethodInfo class.
B. Call the IsVirtual property of the MethodInfo class.
C. Call the IsStatic property of the MethodInfo class.
D. Call the IsFamily property of the MethodInfo class.
Answer: D

Microsoft   070-536   070-536   070-536

NO.2 You are creating a class that uses unmanaged resources. This class maintains references to managed
resources on other objects. You need to ensure that users of this class can explicitly release resources
when the class instance ceases to be needed. Which three actions should you perform? (Each correct
answer presents part of the solution. Choose three.)
A. Define the class such that it inherits from the WeakReference class.
B. Define the class such that it implements the IDisposable interface.
C. Create a class destructor that calls methods on other objects to release the managed resources.
D. Create a class destructor that releases the unmanaged resources.
E. Create a Dispose method that calls System.GC.Collect to force garbage collection.
F. Create a Dispose method that releases unmanaged resources and calls methods on other objects to
release the managed resources.
Answer: BDF

certification Microsoft   certification 070-536   certification 070-536   certification 070-536

NO.3 You are developing a custom event handler to automatically print all open documents. The event
handler helps specify the number of copies to be printed. You need to develop a custom event arguments
class to pass as a parameter to the event handler.
Which code segment should you use?
A. public class PrintingArgs
{
private int copies;
public PrintingArgs(int numberOfCopies)
{
this.copies = numberOfCopies;
}
public int Copies
{
get { return this.copies; }
}
}
B. public class PrintingArgs : EventArgs
{
private int copies;
public PrintingArgs(int numberOfCopies)
{
this.copies = numberOfCopies;
}
public int Copies
{
get { return this.copies; }
}
}
C. public class PrintingArgs
{
private EventArgs eventArgs;
public PrintingArgs(EventArgs ea)
{
this.eventArgs = ea;
}
public EventArgs Args
{
get { return eventArgs; }
}
}
D. public class PrintingArgs : EventArgs
{
private int copies;
}
Answer: B

Microsoft examen   070-536 examen   070-536   070-536

NO.4 You need to create a dynamic assembly named MyAssembly. You also need to save the assembly to
disk.
Which code segment should you use?
A. AssemblyName myAssemblyName =
new AssemblyName();
AssemblyBuilder myAssemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly
(myAssemblyName, AssemblyBuilderAccess.RunAndSave);
myAssemblyBuilder.Save("MyAssembly.dll");
B. AssemblyName myAssemblyName =
new AssemblyName();
myAssemblyName.Name = "MyAssembly";
AssemblyBuilder myAssemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly
(myAssemblyName, AssemblyBuilderAccess.Save);
myAssemblyBuilder.Save("MyAssembly.dll");
C. AssemblyName myAssemblyName =
new AssemblyName("MyAssembly");
AssemblyBuilder myAssemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly
(myAssemblyName, AssemblyBuilderAccess.Save);
myAssemblyBuilder.Save("c:\\MyAssembly.dll");
D. AssemblyName myAssemblyName =
new AssemblyName();
myAssemblyName.Name = "MyAssembly";
AssemblyBuilder myAssemblyBuilder =
AppDomain.CurrentDomain.DefineDynamicAssembly
(myAssemblyName, AssemblyBuilderAccess.Run);
myAssemblyBuilder.Save("MyAssembly.dll");
Answer: B

Microsoft examen   certification 070-536   070-536   070-536

NO.5 You are developing an application that receives events asynchronously. You create a WqlEventQuery
instance to specify the events and event conditions to which the application must respond. You also
create a ManagementEventWatcher instance to subscribe to events matching the query. You need to
identify the other actions you must perform before the application can receive events asynchronously.
Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)
A. Start listening for events by calling the Start method of the ManagementEventWatcher.
B. Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
C. Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
D. Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
E. Set up a listener for events by using the Stopped event of the ManagementEventWatcher.
Answer: AB

Microsoft examen   070-536   070-536 examen   070-536

NO.6 You are writing a method to compress an array of bytes. The array is passed to the method in a
parameter named document.
You need to compress the incoming array of bytes and return the result as an array of bytes.
Which code segment should you use?
A. MemoryStream strm = new MemoryStream(document);
DeflateStream deflate = new DeflateStream(strm,
CompressionMode.Compress);
byte[] result = new byte[document.Length];
deflate.Write(result,0, result.Length);
return result;
B. MemoryStream strm = new MemoryStream(document);
DeflateStream deflate = new DeflateStream(strm,
CompressionMode.Comress);
deflate.Write(document, 0, document.Length);
deflate.Close();
return strm.ToArray();
C. MemoryStream strm = new MemoryStream();
DeflateStream deflate = new DeflateStream(strm,
CompressionMode.Compress);
deflate.Write(document, 0, document.Length);
deflate.Close();
return strm.ToArray();
D. MemoryStream inStream = new MemoryStream(document);
DeflateStream deflate = new DeflateStream(inStream,
CompressionMode.Compress);
MemoryStream outStream = new MemoryStream();
int b;
while ((b = deflate.ReadByte()) != -1)
{
outStream.WriteByte((byte)b);
}
return outStream.ToArray();
Answer: C

Microsoft examen   070-536   070-536   070-536   certification 070-536

NO.7 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 Perform Calculation procedure to
achieve this goal.
Which code segment should you use?
A. public ref class CalculationValues {...};
public ref class Calculator {
public :
void PerformCalculation(Object= values) {}
};
public ref class ThreadTest{
private :
void DoWork (){
CalculationValues= myValues = gcnew CalculationValues(); Calculator = calc = gcnew Calculator();
Thread= newThread = gcnew Thread(
gcnew ParameterizedThreadStart(calc,
&Calculator::PerformCalculation));
newThread->Start(myValues);
}
};
B. public ref class CalculationValues {...};
public ref class Calculator {
public :
void PerformCalculation() {}
};
public ref class ThreadTest{
private :
void DoWork (){
CalculationValues= myValues = gcnew CalculationValues(); Calculator = calc = gcnew Calculator();
ThreadStart= delStart = gcnew
ThreadStart(calc, &Calculator::PerformCalculation);
Thread= newThread = gcnew Thread(delStart);
if (newThread->IsAlive) {
newThread->Start(myValues);
}
}
};
C. public ref class CalculationValues {...};
public ref class Calculator {
public :
void PerformCalculation(CalculationValues= values) {} };
public ref class ThreadTest{
private :
void DoWork (){
CalculationValues= myValues = gcnew CalculationValues(); Calculator = calc = gcnew Calculator();
Application::DoEvents();
calc->PerformCalculation(myValues);
Application::DoEvents();
}
};
D. public ref class CalculationValues {...};
public ref class Calculator {
public :
void PerformCalculation() {}
};
public ref class ThreadTest{
private :
void DoWork (){
CalculationValues= myValues = gcnew CalculationValues(); Calculator = calc = gcnew Calculator();
Thread= newThread = gcnew Thread(
gcnew ThreadStart(calc, &Calculator::PerformCalculation)); newThread->Start(myValues);
}
};
Answer: A

Microsoft   070-536 examen   070-536   certification 070-536   certification 070-536

NO.8 You are testing a newly developed method named PersistToDB. This method accepts a parameter of
type EventLogEntry. This method does not return a value. You need to create a code segment that helps
you to test the method. The code segment must read entries from the application log of local computers
and then pass the entries on to the PersistToDB method. The code block must pass only events of type
Error or Warning from the source MySource to the PersistToDB method.
Which code segment should you use?
A. EventLog myLog = new EventLog("Application", ".");
foreach (EventLogEntry entry in myLog.Entries)
{
if (entry.Source == "MySource")
{
PersistToDB(entry);
}
}
B. EventLog myLog = new EventLog("Application", ".");
myLog.Source = "MySource";
foreach (EventLogEntry entry in myLog.Entries)
{
if (entry.EntryType == (EventLogEntryType.Error & EventLogEntryType.Warning)) {
PersistToDB(entry);
}
}
C. EventLog myLog = new EventLog("Application", ".");
foreach (EventLogEntry entry in myLog.Entries)
{
if (entry.Source == "MySource")
{
if (entry.EntryType == EventLogEntryType.Error || entry.EntryType == EventLogEntryType.Warning)
{
PersistToDB(entry);
}
}
}
D. EventLog myLog = new EventLog("Application", ".");
myLog.Source = "MySource";
foreach (EventLogEntry entry in myLog.Entries)
{
if (entry.EntryType == EventLogEntryType.Error || entry.EntryType == EventLogEntryType.Warning)
{
PersistToDB(entry);
}
}
Answer: C

certification Microsoft   certification 070-536   070-536

NO.9 You create an application to send a message by e-mail. An SMTP server is available on the local subnet.
The SMTP server is named smtp.contoso.com.
To test the application, you use a source address, me@contoso.com, and a target address,
you@contoso.com.
You need to transmit the e-mail message.
Which code segment should you use?
A. MailAddress addrFrom =
new MailAddress("me@contoso.com", "Me");
MailAddress addrTo =
new MailAddress("you@contoso.com", "You");
MailMessage message = new MailMessage(addrFrom, addrTo); message.Subject = "Greetings!";
message.Body = "Test";
SocketInformation info = new SocketInformation();
Socket client = new Socket(info);
System.Text.ASCIIEncoding enc =
new System.Text.ASCIIEncoding();
byte[] msgBytes = enc.GetBytes(message.ToString());
client.Send(msgBytes);
B. MailAddress addrFrom = new MailAddress("me@contoso.com"); MailAddress addrTo = new
MailAddress("you@contoso.com"); MailMessage message = new MailMessage(addrFrom, addrTo);
message.Subject = "Greetings!";
message.Body = "Test";
SmtpClient client = new SmtpClient("smtp.contoso.com"); client.Send(message);
C. string strSmtpClient = "smtp.contoso.com";
string strFrom = "me@contoso.com";
string strTo = "you@contoso.com";
string strSubject = "Greetings!";
string strBody = "Test";
MailMessage msg =
"A Composite Solution With Just One Click" - Certification Guaranteed 7 Microsoft 70-536 Exam
new MailMessage(strFrom, strTo, strSubject, strSmtpClient);
D. MailAddress addrFrom =
new MailAddress("me@contoso.com", "Me");
MailAddress addrTo =
new MailAddress("you@contoso.com", "You");
MailMessage message = new MailMessage(addrFrom, addrTo); message.Subject = "Greetings!";
message.Body = "Test";
message.Dispose();
Answer: B

Microsoft examen   certification 070-536   certification 070-536   070-536

NO.10 You write the following code segment to call a function from the Win32 Application Programming
Interface (API) by using platform invoke.
string personName = "N?el";
string msg = "Welcome" + personName + "to club"!";
bool rc = User32API.MessageBox(0, msg, personName, 0);
You need to define a method prototype that can best marshal the string data.
Which code segment should you use?
A. [DllImport("user32", CharSet = CharSet.Ansi)]
public static extern bool MessageBox(int hWnd, String text, String caption, uint type);
}
B. [DllImport("user32", EntryPoint = "MessageBoxA", CharSet = CharSet.Ansi)] public static extern bool
MessageBox(int hWnd, [MarshalAs(UnmanagedType.
LPWStr)]
String text, [MarshalAs(UnmanagedType.LPWStr)]String caption, uint type); }
C. [DllImport("user32", CharSet = CharSet.Unicode)]
public static extern bool MessageBox(int hWnd, String text, String caption, uint type);
}
D. [DllImport("user32", EntryPoint = "MessageBoxA", CharSet = CharSet.Unicode)] public static extern
bool MessageBox(int hWnd, [MarshalAs(UnmanagedType.
LPWStr)]String text,
[MarshalAs(UnmanagedType.LPWStr)]String caption, uint type); }
Answer: C

Microsoft   070-536   certification 070-536

NO.11 You are developing a method to hash data for later verification by using the MD5 algorithm. The data is
passed to your method as a byte array named message. You need to compute the hash of the incoming
parameter by using MD5. You also need to place the result into a byte array. Which code segment should
you use?
A. HashAlgorithm algo = HashAlgorithm.Create("MD5");
byte[] hash = algo.ComputeHash(message);
B. HashAlgorithm algo = HashAlgorithm.Create("MD5");
byte[] hash = BitConverter.GetBytes(algo.GetHashCode());
C. HashAlgorithm algo;
algo = HashAlgorithm.Create(message.ToString());
byte[] hash = algo.Hash;
D. HashAlgorithm algo = HashAlgorithm.Create("MD5");
byte[] hash = null;
algo.TransformBlock(message, 0, message.Length, hash, 0); "A Composite Solution With Just One Click"
- Certification Guaranteed 16 Microsoft 70-536 Exam
Answer: A

Microsoft examen   070-536 examen   070-536 examen   070-536 examen

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

certification Microsoft   certification 070-536   070-536 examen   070-536

NO.13 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 examen   070-536 examen   certification 070-536   070-536 examen

NO.14 You are developing a method to hash data with the Secure Hash Algorithm. The data is passed to your
method as a byte array named message. You need to compute the hash of the incoming parameter by
using SHA1. You also need to place the result into a byte array named hash. Which code segment should
you use?
A. SHA1 sha = new SHA1CryptoServiceProvider();
byte[] hash = null;
sha.TransformBlock(message, 0, message.Length, hash, 0);
B. SHA1 sha = new SHA1CryptoServiceProvider();
byte[] hash = BitConverter.GetBytes(sha.GetHashCode());
C. SHA1 sha = new SHA1CryptoServiceProvider();
byte[] hash = sha.ComputeHash(message);
D. SHA1 sha = new SHA1CryptoServiceProvider();
sha.GetHashCode();
byte[] hash = sha.Hash;
Answer: C

Microsoft   070-536   070-536 examen

NO.15 You are creating an assembly named Assembly1. Assembly1 contains a public method. The global
cache contains a second assembly named Assembly2. You must ensure that the public method is only
called from Assembly2. Which permission class should you use?
A. GacIdentityPermission
B. StrongNameIdentityPermission
C. DataProtectionPermission
D. PublisherIdentityPermission
"A Composite Solution With Just One Click" - Certification Guaranteed 6 Microsoft 70-536 Exam
Answer: B

Microsoft examen   070-536   certification 070-536

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

Microsoft   certification 070-536   certification 070-536   070-536

NO.17 You need to create a class definition that is interoperable along with COM.
You need to ensure that COM applications can create instances of the class and can call the GetAddress
method.
Which code segment should you use?
A. public class Customer{
string addressString;
public Customer(string address)
{
addressString = address;
}
public string GetAddress()
{
return addressString;
}
}
B. public class Customer {
static string addressString;
public Customer() { }
public static string GetAddress()
{
return addressString;
}
}
C. public class Customer {
string addressString;
public Customer() { }
public string GetAddress()
{
return addressString;
}
}
D. public class Customer {
string addressString;
public Customer() { }
internal string GetAddress()
{
return addressString;
}
}
Answer: C

Microsoft   certification 070-536   070-536

NO.18 Your application uses two threads, named thread One and thread Two. You need to modify the code to
prevent the execution of thread One until thread Two completes execution.
What should you do?
A. Configure threadOne to run at a lower priority.
B. Configure threadTwo to run at a higher priority.
C. Use a WaitCallback delegate to synchronize the threads.
D. Call the Sleep method of threadOne.
E. Call the SpinLock method of threadOne.
Answer: C

Microsoft   certification 070-536   070-536   070-536 examen   070-536   certification 070-536

NO.19 You are developing a custom-collection class. You need to create a method in your class. You need to
ensure that the method you create in your class returns a type that is compatible with the Foreach
statement. Which criterion should the method meet?
A. The method must return a type of either IEnumerator or IEnumerable.
B. The method must return a type of IComparable.
C. The method must explicitly contain a collection.
D. The method must be the only iterator in the class.
Answer: A

Microsoft   070-536 examen   070-536

NO.20 You are writing an application that uses SOAP to exchange data with other applications. You use a
Department class that inherits from ArrayList to send objects to another application. The Department
object is named dept.
You need to ensure that the application serializes the Department object for transport by using SOAP.
Which code should you use?
A. SoapFormatter formatter = new SoapFormatter();
byte[] buffer = new byte[dept.Capacity];
MemoryStream stream = new MemoryStream(buffer);
foreach (object o in dept)
{
formatter.Serialize(stream, o);
}
B. SoapFormatter formatter = new SoapFormatter();
byte[] buffer = new byte[dept.Capacity];
MemoryStream stream = new MemoryStream(buffer);
formatter.Serialize(stream, dept);
C. SoapFormatter formatter = new SoapFormatter();
MemoryStream stream = new MemoryStream();
foreach (object o in dept)
{
Formatter.Serialize(stream, o);
}
D. SoapFormatter formatter = new SoapFormatter();
MemoryStream stream = new MemoryStream();
formatter.Serialize(stream, dept);
Answer: D

certification Microsoft   070-536 examen   070-536 examen   070-536   070-536

2014年2月11日星期二

Certification Microsoft de téléchargement gratuit pratique d'examen 070-564, questions et réponses

Pass4Test est un site web de vous offrir particulièrement les infos plus chaudes à propos de test Certification Microsoft 070-564. Pour vous assurer à nous choisir, vous pouvez télécharger les Q&As partielles gratuites. Pass4Test vous promet un succès 100% du test Microsoft 070-564.

La solution offerte par Pass4Test comprenant un test simulation bien proche de test réel Microsoft 070-564 peut vous assurer à réussir 100% le test Microsoft 070-564. D'ailleur, le service de la mise à jour gratuite est aussi pour vous. Maintenant, vous pouvez télécharger le démo gratuit pour prendre un essai.

Dans cette société de l'information technologies, c'est bien populaire que l'on prenne la formation en Internet, Pass4Test est l'un des sites d'offrir la formation particulère pour le test Microsoft 070-564. Pass4Test a une expérience riche pour répondre les demandes des candidats.

070-564 est un test de Microsoft Certification, donc réussir 070-564 est le premier pas à mettre le pied sur la Certifiction Microsoft. Ça peut expliquer certiainement pourquoi le test Microsoft 070-564 devient de plus en plus chaud, et il y a de plus en plus de gens qui veulent participer le test 070-564. Au contraire, il n'y a que pas beaucoup de gens qui pourrait réussir ce test. Dans ce cas, si vous vous réfléchissez étudier avec une bonne Q&A?

Code d'Examen: 070-564
Nom d'Examen: Microsoft (PRO: Designing and Developing ASP.NET Applications using Microsoft .NET Framework 3.5)
Questions et réponses: 109 Q&As

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

NO.1 You are creating an ASP.NET application by using the .NET Framework 3.5.
One page contains a DataPager control named DPControl1. Several other pages will display DPControl1.
You need to ensure that DPControl1 has properties that are exposed to the WebPartZone controls on all
other pages.
Which two actions should you perform.? (Each correct answer presents part of the solution.
Choose two.)
A. Add a partstyle element to the WebPartZone control on each page.
B. Add a zonelement element to the WebPartZone control on each page.
C. Copy the DPControl1 control into a new user control. Add a reference to the new user control in each
page by using the @Register directive.
D. Copy the DPControl1 control into a new web form. Add a reference to the new web form in each page
by using the @Register directive.
Answer: BC

Microsoft   070-564 examen   070-564

NO.2 You are creating an ASP.NET application by using the .NET Framework 3.5. You need to create a visual
element in the application to meet the following requirements: Custom logic can be implemented. The
element can be used in multiple places on each page. The element can be used on multiple pages within
the application. The element can be redistributed for use in other applications without sharing source
code or layout files. What should you do?
A. Create a theme.
B. Create a master page.
C. Create a user control.
D. Create a custom Web control.
Answer: D

Microsoft   certification 070-564   certification 070-564   070-564

NO.3 You are creating ASP.NET applications by using the .NET Framework 3.5.
You maintain a Web site that contains several nested pages defined in its site map file.
You plan to implement a control on each page of the Web site.
You need to ensure that the control meets the following requirements:
- It indicates the current location of the user in the Web site navigation structure.
- It displays a maximum of three pages.
What should you do?
A. Add a TreeView control on each page, and set the MaxDataBindDepth property to 3.
B. Add a SiteMapPath control on each page, and set the ParentLevelsDisplayed property to 3.
C. Add a SiteMapPath control in the root of the Web site, and set the ParentLevelsDisplayed property to
3.
D. Add a TreeView control on each page, and set the StartingNodeOffsetproperty in the
XmlSiteMapProvider class to 3.
Answer: B

Microsoft examen   070-564   070-564 examen   070-564

NO.4 You are creating ASP.NET applications by using the .NET Framework 3.5.
You manage a Web site that currently uses the SiteMapPath control that is connected to a sitemap file.
You add a TreeView control to the Web site.
You need to configure the TreeView control to display the site navigation from the site map file.
What should you do?
A. Set the siteMapFile property in the XmlSiteMapProvider control.
Set the PopulateNodesFromClient property to true in the TreeView control.
B. Set the TransformFile property to connect the XmlDataSource control to the site map file.
Configure the TreeView control to use the XmlDataSource control.
C. Set the StartingNodeOffset property in the XmlSiteMapProvider control.
Set the PopulateNodesFromClient property to true in the TreeView control.
D. Configure a SiteMapDataSource control to use the XmlSiteMapProvider control.
Configure the TreeView control to use the SiteMapDataSource control.
Answer: D

certification Microsoft   certification 070-564   070-564   070-564

NO.5 You are creating an ASP.NET application by using the .NET Framework 3.5. You create a Web form in
your application by using a data-bound Web server control. The Web form displays employee information.
You need to ensure that the data-bound Web server control meets the following business requirements: It
provides built-in sort capabilities. It displays multiple records by using a default tabular format. Which
data-bound Web server control should you use?
A. DataList
B. ListView
C. GridView
D. DetailsView
Answer: C

Microsoft   070-564   070-564 examen

NO.6 You are creating ASP.NET applications by using the .NET Framework 3.5.
The applications will be hosted on the same physical Web server.
You have the following page layout requirements:
- A common page layout that applies to all the ASP.NET pages across the Web applications
- All pages to automatically reflect changes that are made to the common page layout
You create a master page that provides the page layout.
You need to implement a solution that meets the layout requirements.
Which three additional tasks should you perform? (Each correct answer presents part of the solution.
Choose three.)
A. Add a @ MasterType directive to each ASP.NET page.
B. Add a ContentPlaceholder control to each ASP.NET page.
C. Copy the master page into a single folder on the Web server.
D. Set the MasterPageFile property on each ASP.NET page to the virtual path of the master page file.
E. Configure a virtual directory within the default Web site, and point the virtual directory to the folder that
contains the master page.
F. Configure a virtual directory within each Web application, and point the virtual directory to the folder that
contains the master page.
Answer: CDF

Microsoft examen   certification 070-564   070-564   070-564   070-564

NO.7 You are creating an ASP.NET application by using the .NET Framework 3.5.
The application displays a price list that contains 100 items. The customers use desktop computers,
PDAs, mobile phones, or other mobile devices to access the application.
The application uses a master page that includes the following layout:
- A site header at the top of the page.
- A navigation structure at the side of the page.
- Content on the remaining space on the page.
You need to ensure optimal rendering of the price list for each customer, irrespective of the device
category used. What should you do?
A. Create a custom master page for mobile-device browsers.
Implement a MobilePage class for each device category.
B. Create a custom master page for mobile-device browsers.
Modify the page that contains the price list to use device filters along with the MasterPageFile attribute of
the @ Page directive.
C. Add a MultiView control and two View controls to the existing page that contains the price list.
Set the ActiveViewIndex value of the MultiView control after you evaluate the Request.Browser.Type
property.
D. Add a ListView control and a DataPager control to the existing page that contains the price list.
Set the PageSize value of the DataPager control after you evaluate the
Request.Browser.ScreenPixelsHeight property.
Answer: B

Microsoft   certification 070-564   certification 070-564

NO.8 You are creating an ASP.NET application by using the .NET Framework 3.5. Users access the
application by using different operating systems and different browsers. You plan to incorporate a new
control in the application. You need to ensure that the control meets the following business requirements:
It can be accessed through the Microsoft Visual Studio .NET 2008 toolbox. It can operate without any
other prerequisite controls. Which type of control should you choose?
A. A user control
B. An ActiveX control
C. A Web Parts control
D. A custom server control
Answer: D

Microsoft   070-564   certification 070-564   070-564

NO.9 You are creating an ASP.NET application by using the .NET Framework 3.5. You create a Web form in
the application that allows users to provide personal information. You add a DropDownList control to the
form to capture the residential country of the user. The default item that the DropDownList control displays
is the Select Country option. You need to ensure that users select a valid country other than the default
option from the DropDownList control. You also need to ensure that the form is created and maintained by
using the minimum amount of development effort. Which validation control should you use?
A. RangeValidator
B. CustomValidator
C. RequiredFieldValidator
D. RegularExpressionValidator
Answer: C

Microsoft examen   070-564   070-564   070-564   070-564

NO.10 You are creating an ASP.NET application by using the .NET Framework 3.5.
You use the built-in ASP.NET Web server controls in all the Web forms of the application.
You access and modify the properties of all Web server controls in the code-behind class of the Web
forms.
You need to add custom client-side and AJAX behavior to the ASP.NET Web server controls.
What should you do?
A. Add an UpdatePanel control in the Web forms for each built-in ASP.NET Web server control.
Place the corresponding ASP.NET Web server controls inside the UpdatePanel controls.
Create a custom extender control for each built-in ASP.NET Web server control.
B. Add the extender controls along with the ASP.NET Web server controls in the Web forms.
Create a Web UserControl control for each built-in ASP.NET Web server control. Encapsulate the
corresponding ASP.NET Web server control and the client-side and AJAX behavior code in the
UserControl control.
C. Replace each built-in ASP.NET Web server control with the UserControl control in the Web forms.
Create a custom Web server control for each built-in ASP.NET Web server control.
Add the corresponding ASP.NET Web server control as a child control, and encapsulate the client- side
and AJAX behavior code in the custom Web server control.
D. Replace each built-in ASP.NET Web server control with the custom Web server control in the Web
forms.
Answer: B

Microsoft   070-564   070-564   070-564   070-564

NO.11 You are creating an ASP.NET application by using the .NET Framework 3.5. You need to ensure that
the application meets the following requirements: Each page must have a different layout of page
elements. The display properties of the ASP.NET controls must be consistent across pages, regardless of
the control style properties set within the individual pages. What should you do?
A. Create a master page that references an external cascading style sheet file.
B. Define a skin for each type of ASP.NET server control that is used in the application.
C. In the Web.config file, specify a value for the masterPageFile attribute of the pages element.
D. In the Web.config file, specify a value for the styleSheetTheme attribute of the pages element.
Answer: B

Microsoft   070-564   070-564 examen   070-564

NO.12 You are creating an ASP.NET application by using the .NET Framework 3.5.
Airline passengers access the application over the Internet and from airport kiosks around the world. The
airport kiosks do not allow users to modify browser settings.
You have created language-specific resources for all static text elements in the application.
You need to ensure that the content is displayed in the preferred language of the users, regardless of their
physical location.
What should you do?
A. Set the value of the Page.UICulture property to a value stored in a user profile property.
B. Set the value of the UICulture attribute to auto within the @ Page directive on each ASP.NET page.
C. Set the value of the Thread.CurrentThread.CurrentUICulture property to CultureInfo.InvariantCulture.
D. Set the value of the enableClientBasedCulture attribute to true within the globalization element of the
Web.config file.
Answer: A

Microsoft   070-564   070-564 examen

NO.13 You are creating an ASP.NET application by using the .NET Framework 3.5. The application will allow
end users to select a theme that will be applied to all the pages that the user visits. The preferred theme of
the end user will be stored in a profile property. You need to identify the appropriate method to apply the
preferred theme to the page. Which method should you choose?
A. The page constructor
B. The handler for the Page.Load event
C. The handler for the Page.PreInit event
D. The handler for the Page.Render event
Answer: C

certification Microsoft   certification 070-564   070-564 examen

NO.14 You are creating an ASP.NET application by using the .NET Framework 3.5.
You need to ensure that the application meets the following requirements:
- The layout that must be applied to the pages in the application can be selected by the developers.
- The layout of the pages can be modified by the developers without the source code modification.
- A consistent page layout is maintained.
What should you do?
A. Create multiple themes for the application. Specify a theme for the application in the Web.config file.
B. Create multiple master pages for the application. Specify the master page for the application in the
Web.config file.
C. Create a master page that uses multiple Web Part zones. Disable membership and personalization for
the application.
D. Ensure that all pages use multiple Web Part zones. Enable membership and personalization for the
application.
Answer: B

Microsoft   certification 070-564   070-564 examen   070-564   070-564 examen

NO.15 You are creating an ASP.NET application by using the .NET Framework 3.5.
You create a custom Web server control to implement the shopping cart functionality in the application.
You add the following code fragment to the Web.config file of the application.
<authentication mode="None" />
< sessionState mode=" SQLServer " />
You need to ensure that when the user re-opens the Web browser, the application retains the state of the
shopping cart.
Which state management strategy should you use?
A. HTTP cookies
B. Cache object
C. Profile properties
D. SessionState object
Answer: A

Microsoft   070-564   certification 070-564   070-564 examen

Pas besoin de beaucoup d'argent et de temps, vous pouvez passer le test Microsoft 070-564 juste avec la Q&A de Microsoft 070-564 offerte par Pass4Test qui vous offre le test simulation bien proche de test réel.