70-516 70-516 TS: Accessing Data with Microsoft .NET Framework 4

70-516 70-516 TS: Accessing Data with Microsoft .NET Framework 4 70-516 www.zertifizierung-portal.de

Prüfungsnummer : 70-516

Prüfungsnname: TS: Accessing Data with Microsoft .NET Framework 4

70-516 70-516 70-516 www.zertifizierung-portal.de

QUESTION 2
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create a Windows Forms application.
You plan to deploy the application to several shared client computers. You write the following code segment.
(Line numbers are included for reference only.)

01 Configuration config = ConfigurationManager.OpenExeConfiguration(exeConfigName); 02 …03 config.Save(); 04 …

You need to encrypt the connection string stored in the .config file. Which code segment should you insert at line 02?

A. ConnectionStringsSection section = config.GetSection(“connectionString”) as
ConnectionStringsSection;
section.SectionInformation.ProtectSection(“DataProtectionConfigurationProvider”);
B. ConnectionStringsSection section = config.GetSection(“connectionStrings”) as
ConnectionStringsSection;
section.SectionInformation.ProtectSection(“DataProtectionConfigurationProvider”);
C. ConnectionStringsSection section = config.GetSection(“connectionString”) as
ConnectionStringsSection;
section.SectionInformation.ProtectSection(“RsaProtectedConfigurationProvider”);
D. ConnectionStringsSection section = config.GetSection(“connectionStrings”) as
ConnectionStringsSection;
section.SectionInformation.ProtectSection(“RsaProtectedConfigurationProvider”);

Answer: D

70-516 70-516 70-516 www.zertifizierung-portal.de

70-515 Fragenkatalog zertifizierung-portal

70-515 Fragenkatalog zertifizierung-portal 70-515 70-515 www.zertifizierung-portal.de

Prüfungsnummer : 70-515

Prüfungsnname: TS: Web Applications Development with Microsoft .NET Framework 4

70-515 70-515 70-515 www.zertifizierung-portal.de

QUESTION 2
You are implementing an ASP.NET application that includes a page named TestPage.aspx. TestPage.aspx uses a master page named TestMaster.master. You add the following code to the TestPage.aspx code-behind file to read a TestMaster.master public property named CityName.
protected void Page_Load(object sender, EventArgs e).
{ string s = Master.CityName;.
} You need to ensure that TestPage.aspx can access the CityName property. What should you do?

A. Add the following directive to TestPage.aspx.

B. Add the following directive to TestPage.aspx.

C. Set the Strict attribute in the @ Master directive of the TestMaster.master page to true.
D. Set the Explicit attribute in the @ Master directive of the TestMaster.master page to true.

Answer: A
Section: themes, caching, page events, maintaining state
70-515 70-515 70-515 www.zertifizierung-portal.de

70-513 70-513 TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4

70-513 70-513 TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4 70-513 www.zertifizierung-portal.de

Prüfungsnummer : 70-513

70-513 70-513 70-513 www.zertifizierung-portal.de

QUESTION 2
You are creating a windows Communication Foundation (WCF) service. You do not want to expose the internal implementation at the service layer. You need to expose the following class as a service named Arithmetic with an operation named Sum

public class Calculator
{
public int Add(int x, nty)
{
}
}

Which code segment should you use?

A. [ServiceContract(Namespace="Arithmetic")]
public class Calculator
{
[Operation Contract(Action="Sum")]
public int Add(int x, int y)
{}
}
B. [ServiceContract(ConfigurationName="Arithmetic")]
public class Calculator
{
[Operation Contract(Action="Sum")]
public int Add(int x, int y)
{}
}
C. [ServiceContract(Name="Arithmetic")]
public class Calculator
{
[OperationContract(Name="Sum")]
public int Add(int x, lnt y)
{}
}
D. [ServiceContract(Name="Arithmetic")]
public class Calculator
{
[OperationContract(ReplyAction="Sum")]
public int Add(int x, int y)
{}
}

Answer: C
70-513 70-513 70-513 www.zertifizierung-portal.de

Schulungsunterlagen 70-511-Csharp 70-511-Csharp zertifizierung-portal

Schulungsunterlagen 70-511-Csharp 70-511-Csharp zertifizierung-portal 70-511-Csharp www.zertifizierung-portal.de

Prüfungsnummer : 70-511-Csharp

Prüfungsnname: MCTS: Windows Applications Development with Microsoft .NET Framework 4 Practice Test

Version : Demo

QUESTION 1
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment.

You create an event handler named StackPanel_PreviewTextInput. You also have a collection of strings named Keywords.
You need to ensure that TxtBoxA and TxtBoxB do not contain any of the strings in the Keywords collections.
Which code segment should you use?
A. private void StackPanel_PreviewTextInput( object sender, TextCompositionEventArgs e)
{ FrameworkElement feSource = sender as FrameworkElement;
if (feSource.Name == “TxtBoxA” || feSource.Name == “TxtBoxB”)
{ foreach(string keyword in Keywords)
{
if(e.Text.Contains(keyword)) {
e.Handled = false;
return;
}
}} e.Handled = true;
} }
B. private void StackPanel_PreviewTextInput( object sender, TextCompositionEventArgs e) {
FrameworkElement feSource = e.Source as FrameworkElement;
f (feSource.Name == “TxtBoxA” || feSource.Name == “TxtBoxB”)
f (feSource.Name == “TxtBoxA” || feSource.Name == “TxtBoxB”) {
foreach(string keyword in Keywords)
{
if(e.Text.Contains(keyword)) {
e.Handled = false;
return;
}
} e.Handled = true;
C. private void StackPanel_PreviewTextInput( object sender, TextCompositionEventArgs e)
{
FrameworkElement feSource = sender as FrameworkElement;
if (feSource.Name == “TxtBoxA” || feSource.Name == “TxtBoxB”)
{ foreach(string keyword in Keywords)
{ if(e.Text.Contains(keyword)) {
e.Handled = true;
return; }
} e.Handled = false;
} }
D. private void StackPanel_PreviewTextInput( object sender, TextCompositionEventArgs e)
{ FrameworkElement feSource = e.Source as FrameworkElement;
if (feSource.Name == “TxtBoxA” || feSource.Name == “TxtBoxB”)
{
foreach(string keyword in Keywords)
{ if(e.Text.Contains(keyword)) {
e.Handled = true;
return;
} } e.Handled = false;
}
}

Answer: D

70-511-Csharp 70-511-Csharp 70-511-Csharp www.zertifizierung-portal.de

zertifizierung-portal 70-511 70-511

zertifizierung-portal 70-511 70-511 70-511 www.zertifizierung-portal.de

Prüfungsnummer : 70-511

Prüfungsnname: MCTS: Windows Applications Development with Microsoft .NET Framework 4 Practice Test

70-511 70-511 70-511 www.zertifizierung-portal.de

QUESTION 2
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application contains a composite user control that includes a TextBox control named txtInput.
The user control will be hosted in a window and will have handlers for the text-changed event of txtInput.
You need to ensure that the application meets the following requirements:
Creates a text-changed event handler named Audit_TextChanged for the txtInput control.
Executes Audit_TextChanged even when specific handlers mark the event as handled.
Which code segment should you add to the constructor of the user control
A. txtInput.TextChanged+=Audit_TextChanged;
B. AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
C. EventManager.RegisterClassHandler(typeof(TextBox),TextBox.TextChangedEvent, new
RoutedEventHandler(Audit_TextChanged), true);
D. EventManager.RegisterClassHandler(typeof(TextBox),TextBox.TextChangedEvent, new
RoutedEventHandler (Audit_TextChanged), false);

Answer: B

70-511 70-511 70-511 www.zertifizierung-portal.de

70-506 70-506 Microsoft Silverlight 4,Development

70-506 70-506 Microsoft Silverlight 4,Development 70-506 www.zertifizierung-portal.de

Prüfungsnummer : 70-506

Prüfungsnname: Microsoft Silverlight 4,Development

70-506 70-506 70-506 www.zertifizierung-portal.de

QUESTION 2
You are developing a Silverlight 4 application.
The application contains an XAML page that defines the following Grid control.

The codebehind file for myPage.xaml contains the following code segment. (Line numbers are included for reference only.)
01 public myPage()
02 {
03 InitializeComponent();
04
05 UserControl control = new MyCustomControl();
06
07 }
You need to replace the contents of the second row of gridBody with a user control of the MyCustomControl type. Which code segment should you insert at line 06?
A.
gridBody.Children.Insert(1, control);
B.
gridBody.RowDefinitions.Remove(gridBody.RowDefinitions[1]);
gridBody.Children.Insert(1, control);
C.
gridBody.Children.Clear();
Grid.SetRow(control, 1);
gridBody.Children.Add(control);
D.
List remove = gridBody.Children.Where(c => c is FrameworkElement && Grid.GetRow((FrameworkElement)c) == 1).ToList(); foreach (UIElement element in remove)
{
gridBody.Children.Remove(element);
}
Grid.SetRow(control, 1);
gridBody.Children.Add(control);

Answer: D

70-506 70-506 70-506 www.zertifizierung-portal.de

70-502 70-502 zertifizierung-portal

70-502 70-502 zertifizierung-portal 70-502 www.zertifizierung-portal.de

Prüfungsnummer : 70-502

Prüfungsnname: TS: Microsoft .NET Framework 3.5 – Windows Presentation Foundation

70-502 70-502 70-502 www.zertifizierung-portal.de

QUESTION 2
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

70-502 70-502 70-502 www.zertifizierung-portal.de

70-450 70-450 Schulungsunterlagen

70-450 70-450 Schulungsunterlagen 70-450 www.zertifizierung-portal.de

Prüfungsnummer : 70-450

Prüfungsnname: PRO:MS SQL Serv 08,Design,Optimize, and Maintain DB Admin Solu

70-450 70-450 70-450 www.zertifizierung-portal.de

QUESTION 2
You are a professional level SQL Sever 2008 Database Administrator.

It is reported by the customers that the server performance degraded due to a newly implemented process. Dynamic Management Views is utilized to confirm that no long running queries exist.

The operating system performance data should be correlated with the actual query execution trace, and the least administrative effort should be utilized.

Which action will you perform to finish the task?

A. To finish the task, Data Collector should be utilized.
B. To finish the task, the SQLdiag.exe utility should be utilized.
C. To finish the task, SQL Server Profiler and the tracerpt.exe utility should be utilized.
D. To finish the task, SQL Server Profiler and System Monitor should be utilized.

Answer: D

70-450 70-450 70-450 www.zertifizierung-portal.de

70-448 70-448 zertifizierung-portal

70-448 70-448 zertifizierung-portal 70-448 www.zertifizierung-portal.de

Prüfungsnummer : 70-448

Prüfungsnname: TS: Microsoft SQL Server 2008,Business Intelligence Development and Maintenance

70-448 70-448 70-448 www.zertifizierung-portal.de

2. You work as a database administrator for ABC.com. The ABC.com
network contains a SQL Server 2008 database server named ABC-DB03.
You are in the process of designing a SQL Server 2008 Integration Services
(SSIS) package for the ABC.com network. ABC.com has informed you that
ABC-DB03 will be hosting the package.
You receive an instruction from the CIO to devise a plan of action in the
event that ABC-DB03 becomes inactive.
How can this be achieved?

A. The master database should be backed up.
B. You should back up ABC-DB03.
C. You should execute an incremental backup on a weekly basis.
D. The SSIS package should be backed up.

Answer: A
70-448 70-448 70-448 www.zertifizierung-portal.de

70-432 70-432 TS:MS SQL Server 2008,Implementation and Maintenance

70-432 70-432 TS:MS SQL Server 2008,Implementation and Maintenance 70-432 www.zertifizierung-portal.de

Prüfungsnummer : 70-432

Prüfungsnname: TS:MS SQL Server 2008,Implementation and Maintenance

70-432 70-432 70-432 www.zertifizierung-portal.de

2. You work in a company which is named Wiikigo Corp. The company
uses SQL Server 2008. You are the administrator of the company database.
Now you are in charge of a SQL Server 2008 instance. There is a database
named DB1 in the instance. On DB1, quite few logged operations are
performed.
Now according to the requirement of the company CIO, you must validate
that the database can be restored to a specific point in time.
So what action should you perform to achieve this goal?
A. You should verify that the simple recovery model is used by the database
B. You should verify that the full recovery model is used by the database.
C. You should verify that the checksum page verify option is used by the
database
D. You should verify that the bulk-logged recovery model is used by the
Database

Answer: B

70-432 70-432 70-432 www.zertifizierung-portal.de