You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience.The custom user control uses two TextBox controls and two Button controls.You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site.Which two actions should you perform?()
A. Add the OnClick event handler for the Login button to the code used in the custom user control.
B. Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
C. In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
D. In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
时间:2024-04-22 15:40:02
-
You are creating a SQL Tuning Set to allow a group of SQL statements to be passed into the SQL Tuning Advisor. Which packages will you use to create the SQL Tuning Set?()
A . DBMS_WORKLOAD_REPOSITORY
B . DBMS_RESOURCE_MANAGER
C . DBMS_SQLTUNE
D . DBMS_ADVISOR
-
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 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.
-
The Solutions Recommendation Guide is a framework for creating a customized SMB solution. Inorder to create a customized solution, which two components are needed?()
A . implementation ratings determined
B . specific products and technology available
C . benefits to the business decided
D . business capabilities enabled
E . business challenges identified
-
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
-
You are about to migrate a customer network to use a VSS. Which of these statements is true about a VSS? ()
A . The VSS switch must be the root bridge for all VLANs and is automatically designated
B . The VSS switch is defined in RFC 4318 as a managed object
C . The PAgP+ or LACP protocols are used to maintain the operational state of the VSS devices
D . A VSS interoperates with a virtual port channel
E . The 802.1Q or ISL protocols are used to maintain the operational state of the VSS devices
F . A VSS increases the size of the spanning-tree domai
-
You have an Exchange Server 2010 organization.You need to ensure that items in a user’s Inboxfolder that are older than 60 days are moved to a custom folder.What should you do first?()
A . Create a managed custom folder.Create a transport rule
B . Create a new mail folder by using Microsoft Office Outlook.Create a journal rule
C . Create a managed custom folder.Run the Managed Content Settings wizard from the Inbox managed default folder
D . Create a new mail folder by using Microsoft Office Outlook.Run the Managed Content Settings wizard from the Inbox managed default folder
-
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 are about to migrate a customer network to use a VSS. Which of these statements is true about a VSS?()
A . The VSS switch must be the root bridge for all VLANs and is automatically designated.
B . The VSS switch is defined in RFC 4318 as a managed object.
C . The PAgP+ or LACP protocols are used to maintain the operational state of the VSS devices.
D . A VSS interoperates with a virtual port channel.
E . The 802.1Q or ISL protocols are used to maintain the operational state of the VSS devices.
F . A VSS increases the size of the spanning-tree domain.
-
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 .
-
A customer claims that while redeploying a web application in the production system all their customers are having to log in again. What do you recommend? ()
A . Sessions can't be preserved when redeploying applications. The customer needs to consider redeployment during late nights when the traffic is low.
B . Change the flag responsible for the development mode of their environment. In the production mode, all sessions are preserved while redeploying application.
C . Change Hotspot to JRockit. Sessions can't be preserved on HotSpot when redeploying application.
D . Use flag -version when redeploying the application. This will switch on the Side By Side deployment feature and preserve existing sessions.
E . Open a service request with Oracle Support. This is unexpected behavior. Sessions are preserved without any extra settings.
-
You are helping the customer customer configure anthentication,a new asyncOS upgradebecomes available,what should you do?()
A . avoid mentioning the upgrade to the customer
B . schedule a convenient time to upgrade again, backing up the configuration before and after theupgrade
C . contact customer support and ask them to run the upgrade for you
D . immediately show the customer how to run the CLI command upgrade
-
You created a custom menu for the Order Entry application. Which step do you perform before attaching the menu module to the form module?()
A . Select file-->Administration-->Convert
B . Select file-->Administration-->Execute
C . Select file-->Administration-->Compile File
D . No further step is necessary.&e
-
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
-
The customer and order tables are often used in joins, thereby resulting in complex queries. You created views to simplify the writing of queries. These views are stored in().
A . user tables
B . view segment
C . table segment
D . data dictionary
E . object segment
F . performance table
-
You work as the application developer at Hi-Tech.com. You create a new custom dictionary named MyDictionary. Choose the code segment which will ensure that MyDictionary is type safe?()
A . Class MyDictionary Implements Dictionary (Of String,String)
B . Class MyDictionary Inherits HashTable
C . Class MyDictionary Implements IDictionary
D . Class MyDictionary End Class Dim t as New Dictionary (Of String, String) Dim dict As MyDIctionary= CType (t,MyDictionary)
-
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 are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding.
You are creating a Windows Communication Foundation (WCF) service based on WSHttpBinding. New audit requirements dictate that callers must be authenticated on every call to ensure that their credentials have not been revoked.You need to ensure that the service will not cache the security request token. What should you do?()
A. Apply a ServiceBehavior attribute to the service implementation class with the lnstanceContextMode property set to Single.
B. In the message security configuration, change clientCredentialType from lssuedToken to UserName
C. In the message security configuration, set establishSecurityContext to false.
D. At the end of every operation, call the SessionStateUtility.RaiseSessionEnd method.
-
What can you define for a movement type in Customizing? There are 3 correct answers to this question.()
A.The quantity and value updates for postings with the movement type
B.The number range for material documents that are generated when postings are made with the movement type
C.The movement type short text and the reasons for movement
D.The account modification for transactions and events with active account grouping in the table of account keys
E.The indicator for automatic creation of storage location data in the material master record at the time of the first goods receipt
此题为多项选择题。
-
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>