PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should you configure the database to support remote users?

You work as the network administrator at ABC.com. You are in the process of configuring a Project Server 2010 environment. A Windows Server 2008 R2 server named ABC-SPS1 runs SharePoint Server 2010 and Project Server 2010. The database will run on a separate server named ABC-SQL1 running SQL Server 2008. How should you configure the database to support remote users?

Which code segment should you insert at line 11?

You are developing an outofbrowser application by using Silverlight 4. The application contains the following code segment. (Line numbers are included for reference only.)

01 public partial class App : Application
02 {
03 public App()
04 {
05 this.Startup += this.Application_Startup;
06 InitializeComponent();
07 }
08 void Application_Startup(object sender, StartupEventArgs e)
09 {
10 this.RootVisual = new MainPage();
11
12 }
13 }

You need to ensure that when a new version of the application is available, it is automatically installed and the user is notified.
Which code segment should you insert at line 11?

What should you do next?

You work as the network administrator at ABC.com. You are in the process of configuring a Project Server 2010 environment. You have configured two servers. A Windows Server 2008 R2 server named ABC-SQL1 runs SQL Server 2008 and a Windows Server 2008 R2 server named ABC-SPS1 runs SharePoint Server 2010 and Project Server 2010. You need to configure Microsoft SQL Server 2008 Analysis Services to build Project Server 2010 cubes. You log in using the Farm Administrator account and verify that the account has administrative permissions for the Analysis Services on ABC-SQL1. What should you do next?

Which code segment should you use?

You are developing a Silverlight 4 application. The Web page of the application contains a Text Box that has the txtTime ID. You define the following JavaScript function on the Web page.
function ShowTime(strTime) {
document.getElementById(‘txtTime’).value = strTime;
}
You need to pass the current time to the ShowTime function from Silverlight. Which code segment should you use?

What is the easiest way to ensure that all the missing software prerequisites are installed?

You work as the network administrator at ABC.com. You are in the process of configuring a Project Server 2010 environment. A Windows Server 2008 R2 server named ABC-SQL1 runs SQL Server 2008 R2. You have installed a Windows Server 2008 R2 server named ABC-SPS1. The next step is to install Project Server 2010 on ABC-SPS1. You run the Project Server 2010 installer on ABC-SPS1 but the installation does not complete. You receive an error message on ABC-SPS1 informing you that the server does not meet the minimum software prerequisites. What is the easiest way to ensure that all the missing software prerequisites are installed?

Which code segment should you insert at lines 11 and 12?

You are developing a ticketing application by using Silverlight 4.
You have a listbox named lstTickets that contains a list of the tickets. The page contains a button that allows the user to print the tickets. The PrintView UserControl binds to the type in lstTickets and is designed to fit a standard sheet of paper. You add the following code segment to the button event handler. (Line numbers are included for reference only.)

01 var doc = new PrintDocument();
02 var view = new PrintView();
03 doc.PrintPage += (s, args) =>
04 {
05 var ppc = doc.PrintedPageCount;
06 if (ppc < lstTickets.Items.Count)
07 {
08 var data = lstTickets.Items[ppc];
09 view.DataContext = data;
10 args.PageVisual = view;
11
12
13 }
14 };
15 doc.Print(“tickets”);

You need to use the Silverlight printing API to print each ticket on its own page. You also need to ensure that all tickets in the listbox are printed.
Which code segment should you insert at lines 11 and 12?

Which services should you initialize to enable Project Server reporting?

You work as the network administrator at ABC.com. Your responsibilities include maintaining the Project Server 2010 environment. The SQL Server 2008 R2 installation on a server named ABC- SQL1 includes the Analysis and Reporting Services. SharePoint Server 2010 and Project Server 2010 are installed on a server named ABC-SPS1. You have been asked by the project manager to enable Project Server reporting. Which services should you initialize to enable Project Server reporting?

Which code segment you add at line 03?

You are developing an application by using Silverlight 4 and Microsoft .NET Framework 4.
You add the following code segment. (Line numbers are included for reference only.)

01 public class MyControl : Control
02 {
03
04 public string Title
05 {
06 get { return (string)GetValue(TitleProperty); }
07 set { SetValue(TitleProperty, value); }
08 }
09 }

You need to create a dependency property named TitleProperty that allows developers to set the Title. You also need to ensure that the default value of the TitleProperty
dependency property is set to Untitled. Which code segment you add at line 03?