-
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 are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()
A . Set the CurrentCulture property explicitly to the respective culture for each language.
B . Set the CurrentCulture property explicitly to IsNeutralCulture for each language.
C . Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.
D . Set the CurrentUICulture property explicitly to the respective culture for each language.
-
You have a server named Server1 that runs Windows Sever 2003 Service Pack 2 (SP2). You create a FTP site on Server1.You need identify how many users are connected to the FTP site. What should you do?()
A . From Task Manger, view the Networking tab.
B . From the command prompt, run Net view \\server1.
C . From the properties of the FTP site, view Current Sessions.
D . From the properties of the FTP site, enable Open Database Connectivity (ODBC) logging.
-
You are designing a forest structure to meet the business and technical requirements. How many forests should you create?()
A . One
B . Two
C . Three
D . Four
-
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 print server that runs Windows Server 2003 Service Pack 2 (SP2). You need to create a report of all the printers that are on the server and the drivers that they use. What should you do?()
A . Open The Printers and Faxes control panel applet and select the details view. Take a screen capture of the Printers and Faxes window.
B . Run the command %systemroot%\system32\net.exe share > printers.txt.
C . Run the command cscript %systemroot%\system32\prnmngr.vbs –l > printers.txt.
D . Run the command cscript %systemroot%\system32\prnport.vbs -l > printers.txt.
-
You are creating a form that will access an Oracle8 database. On which three sources can you base a data block?()
A . BFILE
B . REF column
C . Object table
D . Column object
E . INSTEAD-OF trigger
-
Your company uses Windows Deployment Services (WDS) to deploy Windows 7. You create a new imageof Windows 7. You need to ensure that you can deploy the image by using WDS. What should you do?()
A . From the Windows Deployment Services snap-in, add a new install image.B . From the Windows Deployment Services snap-in, add a new boot image.C . Run Oscdimg.exe and specify the -boot parameter. Copy the image to C:\remoteinstall\boot.D . Run Imagex.exe and specify the /append parameter. Copy the image to C:\remoteinstall\images.
-
You are creating a shared Internet connection on your Windows 2000 Professional computer. You want to enable other computers on the LAN to be able to access only HTTP and FTP sites on the Internet. What should you do?()
A . Configure your shared Internet connection to disable LCP extensions.
B . Configure you shared Internet connection to disable on-demand dialing.
C . Create an Internet Connection Sharing application type for HTTP to use remote server port 25.
D . Create an Internet Connection Sharing application type for HTTP to use remote server port 80.
E . Create an Internet Connection Sharing application type for FTP to use remote server port 21.
F . Create an Internet Connection Sharing application type for FTP to use remote server port 72.
-
You are designing a Windows Azure application that will use a worker role. The worker role will create temporary files. You need to recommend an approach for creating the temporary files that minimizes storage transactions. What should you recommend?()
A . Create the files on a Windows Azure Drive.
B . Create the files in Windows Azure local storage.
C . Create the files in Windows Azure Storage page blobs.
D . Create the files in Windows Azure Storage block blobs.
-
You are designing a forest structure to meet the business and technical requirements. How many forests should you create?()
A . One
B . Two
C . Three
D . Four
-
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 are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()
A . ChannelFactory
B .
-
You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()
A . Derive from the Control class.
B . Derive from the UserControl class.
C . Derive from the ScrollableControl class.
D . Derive from the ContainerControl class.
-
You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()
A . FrameworkElement
B . UIElement
C . UserControl
D . Butto
-
You are creating a Windows Forms application by using the .NET Framework 3.5. You have resource files in five different languages. You need to test the application in each language. What should you do?()
A . Set the CurrentCulture property explicitly to the respective culture for each language.
B . Set the CurrentCulture property explicitly to IsNeutralCulture for each language.
C . Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.
D . Set the CurrentUICulture property explicitly to the respective culture for each language.
-
You are creating a Windows Communication Foundation (WCF) service. The service endpoints c
You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints.What should you do?()
A. Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.
B. Add a new AnnouncementClient to the Behaviors collection in the client application.
C. Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application.
D. Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.
-
You create a Windows client application by using Windows Presentation Foundation (WPF).The
You create a Windows client application by using Windows Presentation Foundation (WPF).The application contains the following code fragment.You need to assign lbDetails to use the detail data template when btnDetails is clicked.Which code segment should you write for the click event handler for btnDetails?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17127001-17130000/17129862/b303eb3bdcfa64c913a402ef5dff2a06.jpg' />
A.lbDetails.ItemsPanel.FindName("detail",lbDetails);
B.var tmpl = (ControlTemplate)FindResource("detail"); lbDetails.Template = tmpl;
C.var tmpl = (DataTemplate)FindName("detail"); lbDetails.ItemTemplate = tmpl;
D.var tmpl = (DataTemplate)FindResource("detail"); lbDetails.ItemTemplate=tmpl;
-
You are the network administrator for Testking.com. The network consists of a single Active Directory domain named testking.com.The sales department is hiring employees. An OU named TestKingSales is created to hold objects for the new sales department users. Each sales department user has a portable computer. Each portable computer runs Windows XP Professional. The sales department users are responsible for joining their portable computers to the domain.You need to ensure that the computer accounts for the Sales department user‘s portable computers are created in the TestKingSales OU. You need to achieve this goal without granting any unnecessary permissions.What should you do?()
A. Assign the sales department users the Allow - Read permissions for the Computer container.
B. Configure the sales department users‘ user accounts to be trusted for delegation
C. Prestage the computer accounts in the TestKingSales OU for the sales department users‘ portable computers.
D. Assign the sales depertment users the Allow - Create all Child Objects permission for the TestKingSales OU.
-
You are the network administrator for All servers run Windows Server 2003.You are creating a backup schedule for the main file server.You need to create a schedule so that backup jobs are completed in the shortestamount of time possible.What should you do?()
A. Schedule a normal backup every Sunday. Schedule incremental backups every Monday through Saturday.
B. Schedule a normal backup every Sunday. Schedule differential backups every Monday through Saturday.
C. Schedule a copy backup every day.
D. Schedule a normal backup every day.
-
You are creating a Windows Communication Foundation (WCF) service that is implemented as f
You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.(Line numbers are included for reference only.)01 [ServiceContract]02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]03 public class OrderService04 {05 [OperationContract]06 public void SubmitOrder(Order anOrder)07 {08 try09 {10 ...11 }12 catch(DivideByZeroException ex)13 {14 ...15 }16 }17 }You need to ensure that the stack trace details of the exception are not included in the error information sent to the client.What should you do?()
A. Replace line 14 with the following line: throw;
B. Replace line 14 with the following line: throw new FaultException<order>(anOrder, ex.ToString());
C. After line 05, add the following line: [FaultContract(typeof(FaultException<order>))] Replace line 14 with the following line: throw ex;
D. Alter line 05, add the following line: [FaultContract(typeof(FaultException<order>))] Replace line 14 with the following line: throw new FaultException<order>(anOrder, "Divide by zero exception");</order></order></order></order>
-
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");