-
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 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 need to create a view EMP_VU. The view should allow the users to manipulate the records of only the employees that are working for departments 10 or 20. Which SQL statement would you use to create the view EMP_VU? ()
A . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department _ id IN (10,20);
B . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH READ ONLY;
C . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH CHECK OPTION;
D . CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WITH department_id IN (10,20);
E . CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) NO UPDATE
-
You create a Web site that stores users' active themes in user profile objects. You need to apply users' preferred themes when they log on to the Web site. What should you do? ()
A . In the InitComplete event handler, set the Theme property of the Page object based on the user profile.
B . In the PreLoad event handler, set the Theme property of the Page object based on the user profile.
C . In the OnLoad event handler, set the Theme property of the Page object based on the user profile.
D . In the PreInit event handler, set the Theme property of the Page object based on the user profile.
-
You have a hosted Exchange organization.All servers in the organization have Exchange Server 2010 Service Pack 1 (SP1) installed.You need to group a set of users for administrative delegation. What should you create?()
A . a managed folder mailbox policy
B . a new distribution group
C . a new management role
D . a new role assignment policy
-
You need to add a pop-up menu to the CV_EMP canvas to display when a user right-clicks the mouse within the canvas. How could you create the pop-up menu?()
A . Use the Layout Editor to create a pop-up menu, assign commands to the menu in the Menu Editor, and attack the menu items to the canvas.
B . Use the Report Wizard to create a pop-up menu and attack the menu items to the canvas.
C . Alter the pop-up Menu Property value in the Property Palette of the canvas.
D . Use the Object Navigator to create a pop-up menu, assign commands to the menu items, and attack the menu to items or canvases.
-
You need to create a view EMP_VU. The view should allow the users to manipulate the records of only the employees that are working for departments 10 or 20. Which SQL statement would you use to create the view EMP_VU?()
A . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20);
B . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH READ ONLY;
C . CREATE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) WITH CHECK OPTION;
D . CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20);
E . CREATE FORCE VIEW emp_vu AS SELECT * FROM employees WHERE department_id IN (10,20) NO UPDATE
-
A user named User1 uses a computer that runs Windows XP Professional. You need to enable User1 to create local user accounts. You must minimize the rights assigned to the User1 account. Which group should you add User1 to?()
A . Administrators
B . Power Users
C . Users
D . Network Configuration Operator
-
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
-
Your end users will need to change values in a REF lookup field in the form application you create. To facilitate choosing a new appropriate value, your provide them with? ()
A . An LOV for REFS.
B . A list item for REFs.
C . A radio group for REFs.
D . A hierarchical tree for REFS
-
You are the DBA for an academic database. You need to create a role that allows a group of users to modify existing rows in the STUDENT_GRADES table. Which set of statements accomplishes this? ()
A . CREATE ROLL registrar; GRANT MODIFY ON student_grant TO registrar; GRANT registrar to user 1, user2, user3
B . CREATE NEW ROLE registrar; GRANT ALL ON student_grant TO registrar; GRANT registrar to user 1, user2, user3
C . CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT ROLE to user1, user2, user3
D . CREATE ROLL registrar; GRANT UPDATE ON student_grant TO registrar; GRANT registrar to user 1, user2, user3;
E . CREATE registrar; GRANT CHANGE ON student_grant TO registrar; GRANT registrar
-
You have an Exchange Server 2010 organization.You need to ensure that all users in the organization can view the availability of a company projector.What should you create for the projector?()
A . a distribution group
B . a mailbox
C . a mail-enabled contact
D . a sharing policy
-
After creating a virtual Ethernet adapter in slot #3 of logical partition #5, the user needs to configure the adapter in AIX. Which of the following location codes matches this virtual Ethernet adapter?()
A . U9111.520.1000000-V5-C3-T1
B . U9111.520.1000000-V3-C5-T1
C . U9111.520.1000000-V5-C1-T3
D . U9111.520.1000000-V1-C3-T5
-
You create a mobile Web application. You need to use a Command control to post user input from the UI elements back to the server. What are two possible ways to achieve this goal?()
A . Place the Command control within an instance of the System.Web.UI.MobileControls.SelectionList control.
B . Place the Command control within an instance of the System.Web.UI.MobileControls.ObjectList control.
C . Place the Command control within an instance of the System.Web.UI.MobileControls.Form control.
D . Place the Command control within an instance of the System.Web.UI.MobileControls.Panel control.
-
You create a Password Settings object (PSO). You need to apply the PSO to a domain user named User1. What should you do()
A . Modify the properties of the PSO.
B . Modify the account options of the User1 account.
C . Modify the security settings of the User1 account.
D . Modify the password policy of the Default Domain Policy Group Policy object (GPO).
-
You have an Exchange Server 2010 organization.You create a distribution group for all users in your company.You need to ensure that new users can add their mailboxes to the distribution group.What should you do?()
A . Modify the group scope of the distribution group.
B . Modify the approval mode of the distribution group.
C . Modify the security settings of the distribution group.
D . Modify the authentication settings of the ECP virtual directory.
-
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts. Which tool should you use? ()
A . the Microsoft .NET Framework Configuration tool
B . the Code Access Security Policy tool
C . the ASP.NET IIS Registration tool
D . the Web Site Administration Tool
-
You create a Password Settings object (PSO). You need to apply the PSO to a domain user named User1. What should you do()
A . Modify the properties of the PSO.
B . Modify the account options of the User1 account.
C . Modify the security settings of the User1 account.
D . Modify the password policy of the Default Domain Policy Group Policy object (GPO).
-
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 are building a Front Controller using a JSP page and you need to determine if the user’s session hasNOT been created yet and perform some special processing for this case. Which scriptlet code snippet willperform this test?()
A . <% if ( request.getSession(false) == null ) {// special processing} %>
B . <% if ( request.getHttpSession(false) == null ) {// special processing} %>
C . <% if ( requestObject.getSession(false) == null ) { // special processing} %>
D . <% if ( requestObject.getHttpSession(false) == null ) { // special processing} %>
-
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file.Which code segment should you add to the Page_Load event?()
A.Wizard1.RequireEmail = True
B.Wizard1.Email = "user@address.com"
C.Wizard1.MailDefinition.From = "registration@mysite.com"
D.SmtpMail.SmtpServer = "mail.contoso.com"
-
Your network consists of a single Active Directory domain named contoso.com. The functional level of the domain is Windows Server 2003.You have a file server named Server1 that is used to store users’ home folders and profiles.On Server1, you create a folder named D:\data\ and share the folder as UserData. You create a new user account named TemplateUser in Active Directory.You need to ensure that each user account you create by copying TemplateUser is configured to have a unique home folder stored in the UserData share.Which home folder path should you specify? ()
A.D:\data\%homedrive%
B.D:\data\%username%
C.\\server1\userdata\%homedrive%
D.\\server1\userdata\%username%
-
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.
-
You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.Which two actions should you perform?()
<img src='https://img2.soutiyun.com/shangxueba/ask/17127001-17130000/17129921/e0f5332b3e1224e49b3fdd41ba8d4afd.jpg' />
A.Attach the Category attribute class to the controls class definition. Set its value to UserAddress. Mark the class as public.
B.Attach the Browsable attribute class to each property in the group. Set its value to True. Mark the property as private.
C.Attach the Category attribute class to each property in the group. Set its value to UserAddress. Mark the property as public.
D.Attach the Description attribute class to each property in the group. Set each value to a description of the given property.
E.Attach the DefaultProperty attribute class to each property in the group. Set each value to a description of the given property.