-
You are creating a Windows Communication Foundation (WCF) service. You need to ensure that the service is compatible with ASP.NET to make use of the session state. Which binding should you use?()
A . NetTcpContextBinding
B . BasicHttpContextBinding
C . NetTcpBinding
D . NetMsmqBinding
-
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application that displays an image. You need to ensure that users can stretch and scale the image. Which control should you use?()
A . Frame
B . Slider
C . Viewbox
D . ScrollViewer
-
You are creating a Windows Forms Application by using the .NET Framework 3.5.Your applciation will be used by a government depertment.You need to ensure that the application meets "accessibilty" requirements.Which three actions should you perform?()
A . Expose keyboard focus visually and programmatically.
B . Use the NeutralResourceLanguageAttribute attribute in the assembly.
C . Provide documented keyboard access to all application features.
D . Set all the colors to primary colors when the high contrast mode is on.
E . Display all user interface elements by using the system color scheme when high contrast mode is off.
F . Either display all visual cues or create sound effects for any information.
-
You have a Microsoft Hyper-V Server 2008 R2 server. You need to join the server to an existing Active Directory Domain Services (AD DS) domain. Which should you use?()
A . oc set up
B . hvc onfig
C . sc config
D . net config
-
You manage 40 computers that run Microsoft Windows Vista. You use Microsoft Windows Calendar to publish a calendar to a shared network location. You need to allow users to automatically view the most recent calendar updates. What should you do? ()
A . Instruct all users to configure a calendar subscription that has an update interval of 15 minutes.
B . Instruct all users to perform calendar synchronization for all shared calendar subscriptions.
C . Instruct all users to map a network drive to the folder that holds the shared calendar. Import the .ics file for the shared calendar.
D . Use e-mail messages to deploy the .ics file for the shared calendar to each user. Instruct each user to import the .ics file that is attached to the e-mail message.
-
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You need to ensure that users can view content in a book-reading format that displays two pages at a time. Which control should you use?()
A . FlowDocument
B . FlowDocumentReader
C . FlowDocumentPageViewer
D . FlowDocumentScrollViewer
-
You create a control named ContosoUI for a Web application. You need to add the control to the toolbox of Microsoft Visual Studio .NET. Which two actions should you perform?()
A . Create the ContosoUI control as a Web Control Library.
B . Create the ContosoUI control as a Web user control.
C . Within the Visual Studio .NET toolbox, browse to and select ContosoUI.ascx.
D . Within the Visual Studio .NET toolbox, browse to and select ContosoUI.dll.
-
Examine the CREATE DISKGROUP command used to create a disk group: SQL> CREATE DISKGROUP misc EXTERNAL REDUNDANCY DISK ’ORCL: FRA3’ NAME misc1, ’ORCL: FRA4’ NAME misc2; In which situation would you use this method of disk group creation?()
A . When two-way disk mirroring is required for the allocation units
B . When three-way disk mirroring is required for the allocation units
C . When using hardware mirroring or RAID
D . When disk mirroring is required for the Automatic Storage Management (ASM) disk
-
You use Microsoft .Net Framework 4 to create a Windows Form application. You created a new application, you then wrote the code below: Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture Which of the following options are TRUE? ()
A . The user interface will make use of the currently configured culture settings in the Control Panel at present.
B . The user interface will make use of new culture settings.
C . The user interface will make use of the culture settings that were installed with the operating system.
-
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a custom control named Wheel. You need to ensure that the Speed property of Wheel can be animated. What should you do?()
A . Inherit the DependencyObject class.
B . Declare the Speed property as a dependency property.
C . Declare an animation of the Speed property from within the code-behind file.
D . Implement the System.Windows.Media.Animation.IAnimatable interface with the Wheel class.
-
You have a Microsoft Hyper-V Server 2008 R2 server. You need to join the server to an existing Active Directory Domain Services (AD DS) domain. Which should you use?()
A . ocsetup
B . hvconfig
C . sc config
D . net config
-
You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a theme to the ASP.NET application. You need to apply the theme to override any settings of individual controls. What should you do?()
A . In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.
B . In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.
C . Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.
D . Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.
-
Your company uses Microsoft Application Virtualization (App-V). You maintain the sequencing for applications. You need to add a template to an existing sequenced application. What should you do?()
A . Edit the application, add the template, and then save the application with a new name.
B . Sequence the template as a new application to the original application installation folder.
C . Restore the sequencing computer and add the template to the original application installation folder.
D . Upgrade the existing sequencing package, add the template to the package, and then save the application.
-
You are using Microsoft Windows Internet Explorer 7 on your computer. You need to print only the graphic on a Web page. How should you print the graphic?()
A . Use the Page Setup option and select only the graphic.
B . Use the Print Preview feature and select only the graphic.
C . Use the Print option from the File menu.
D . Use the Microsoft XML Paper Specification (XPS) Document image printer.
-
You are developing an ASP.NET application by using Visual Studio 2010. You need to interactively debug the entire application. Which two actions should you perform? ()
A . Set the Debug attribute of the compilation node of the web.config file to true.
B . Add a DebuggerDisplay attribute to the code-behind file of the page that you want to debug.
C . Select the ASP.NET debugger option in the project properties.
D . Define the DEBUG constant in the project settings.
-
Your company has an Active Directory Domain Services (AD DS) domain. You virtualize applications by using Microsoft Application Virtualization (App-V). You are creating an application virtualization package. Which should you use?()
A . Microsoft Application Virtualization Sequencer
B . Microsoft Application Virtualization Desktop Client
C . Microsoft System Center Application Virtualization Streaming Server
D . Microsoft System Center Application Virtualization Management Server
-
You use Microsoft .NET Framework 4 to create a Windows Forms application. You need to allow the user interface to use the currently configured culture settings in the Control Panel. Which code segment should you use?()
A . Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
B . Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;
C . Thread.CurrentThread.CurrentUICulture = CultureInfo.InstalledUICulture;
D . Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture
-
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. You want to make sure that the application is operative to any type of database. What should you do?()
A . Set the database driver name in the connection string of the application, and then the connection object as follows: DbConnection connection = new OdbcConnection(connectionString);
B . Create the connection object as follows: DbProviderFactory factoryDbProviderFactories.GetFactory(databaseProviderName); DbConnection connection =factory.CreateConnection();
C . Create the connection object as follows: DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.Odbc"); DbConnection connection = factory.CreateConnection();
D . Set the database driver name in the connection string of the application, and then the connection object as follows:DbConnection connection = new OleDbConnection(connectionString);
-
You use Microsoft Application Virtualization (App-V). You need to automate the process of sequencing applications . Which command should you run?()
A . SFTMIME ADD APP:"ApplicationName " /OSD " PathToOSD " /CONSOLE
B . SFTMIME configure package: "PackageName " / OverrideURL FILE: "PathToSFT "
C . SFTSequencer / I:"PathToMSI " / P:"PathToPackageRoot " / O:"PathToDestinationSPRJ "
D . SFTSequencer / UPGRADE:" P ath ToS ourceSPRJ " / INSTALLPACKAGE:" PathT oUpgradeInstaller " / DECODEPATH:" P ath T o Decode F older " / OUTPUTFILE:" P ath T o D estinationSPRJ "
-
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a class that implements the IHttpHandler interface. You implement the ProcessRequest method by using the following code segment. ()
A.A
B.B
C.C
D.D
-
Your computer runs Microsoft Windows Vista Home Basic edition. You need to record television programs by using Microsoft Windows Media Center. You add a compatible TV tuner.What should you do next?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17127001-17130000/17128381/58ca12c9b2a895d6dfe40ffd2b082fee.jpg' />
A.A
B.B
C.C
D.D
-
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.You plan to use a PresentationTraceSources object when the application is executed by users.When the application is executed in a test environment, all debug information is successfully captured.You need to be able to capture debug information when the application is deployed.What should you do?()
A.Enable WPF tracing in the registry.Restart the application.
B.Enable tracing by modifying local Group Policy.Restart the application.
C.Open the XML configuration file for your application on the user‘s computer.Set tracing to a verbose level.Restart the application.
D.Open the XML configuration file for your application on the user‘s computer.Add a trace listener.Restart the application.
-
You use Microsoft .NET Framework 4 to create a Windows Forms application.You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in anElementHost control named elementHost1.You write the following code segment. (Line numbers are included for reference only.)You need to ensure that the application changes the background color of the hosted control when the background color of the form changes.Which code segment should you insert at line 05?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17130001-17133000/17130030/2d777510fe2f3c75e68a192da66f7ac0.jpg' />
A.elementHost1.PropertyMap.Remove("BackColor");elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange));
B.elementHost1.PropertyMap.Remove("Background"); elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange));
C.elementHost1.PropertyMap.Add("BackColor", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("BackColor");
D.elementHost1.PropertyMap.Add("Background", new PropertyTranslator(OnBackColorChange)); elementHost1.PropertyMap.Apply("Background");
-
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.The application contains a ListBox control named lbxItems that is data-bound to a collection of objects. Each object has a DisplayValue property.You add a Button control to the application.You need to ensure that the Content property of the Button control is data-bound to the DisplayValue property of the selected item of lbxItems.Which binding expression should you use?()
A.{ Binding ElementName=lbxItems, Source=SelectedItem, Path=DisplayValue }
B.{ Binding Source=lbxItems, ElementName=SelectedItem, Path=DisplayValue }
C.{ Binding ElementName=lbxItems, Path=SelectedItem.DisplayValue }
D.{ Binding Source=lbxItems, Path=SelectedItem.DisplayValue }