-
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
A . Your filter class must implement an init method and a destroy method.
B . Your filter class must also implement javax.servlet.FilterChain.
C . When your filter chains to the next filter, it should pass the same arguments it received in its doFiltermethod.
D . The method that your filter invokes on the object it received that implements javax.servlet.FilterChaincan invoke either another filter or a servlet.
E . Your filter class must implement a doFilter method that takes, among other things, anHTTPServletRequest object and an HTTPServletResponse object.
-
You are evaluating the implementation of Microsoft Application Virtualization (App-V) to deploy App2. What is the minimum number of application packages you should create?()
A . 2
B . 3
C . 4
D . 1
-
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 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 developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?()
A . IComparer<T>
B . IEnumerable<T>
C . IEnumerator<T>
D . IEqualityComparer<T>
-
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.
-
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()
A . Add custom controls that emit XHTML to the Web Form.
B . Add custom controls that emit WML to the Web Form.
C . Add mobile controls to the Web Form.
D . Add Web server controls to the Web Form.
-
Your company has an active directory forest that has five domains. All DNS servers are domain controllers. You need to ensure that users from all domains are able to access a web server named App1 by browsing http://App1. What should you do?()
A . Configure and enable DFS-R on the App1 Web Server.
B . Create a host (AAAA) record for the App1 Web server in the DNS zone for the forest root domain.
C . Create a zone named GlobalNames on a DNS server. Replicate the GloballNames zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.
D . Create a zone named LegacyWNS on a DNS server. Replicate the LegacyWNS zone to all domain controllers in the forest. Create a host (A) record for the App1 Web server in the zone.
-
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 want to create a valid directory structure for your Java EE web application, and you want to put yourweb application into a WAR file called MyApp.war. Which two are true about the WAR file?()
A . At deploy time, Java EE containers add a directory called META-INF directly into the MyApp directory.
B . At deploy time, Java EE containers add a file called MANIFEST.MF directly into the MyApp directory.
C . It can instruct your Java EE container to verify, at deploy time, whether you have properly configured your application’s classes.
D . At deploy time, Java EE containers add a directory call META-WAR directly into the MyApp directory.
-
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()
A . Include a data source identified as "WebPartConnection1" on the Web Form.
B . Include a Web Part identified as "customerPart" on the Web Form.
C . Include a Web Part identified as "ordersPart" on the Web Form.
D . Ensure that you declare an interface named "IOrdersPart".
E . Ensure that you declare an interface named "ICustomerPart".
F . Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
-
You need to design a security strategy for the Web folders and files created by the consultants and the internal Web developers. What are two possible ways to achieve this goal?()
A . Require the internal Web developers to use Telnet with Kerberos authentication. Require the consultants to use L2TP with IPSec
B . Require the internal Web developers to use Encrypting File System (EFS) over Web Distributed Authoring and Versioning (WebDAV). Require the consultants to use Microsoft.NET Passport authentication with Security Level 0
C . Require the internal Web developers to use Web Distributed Authoring and Versioning (WebDAV) over SSL.Require the consultants to use WebDAV over SSL
D . Require the internal Web developers to use L2TP with IPSec. Require the consultants to use Encrypting File System (EFS) over Web Distributed Authoring and Versioning (WebDAV)
E . Require the internal Web developers to use Web Distributed Authoring and Versioning (WebDAV) over SSL.Require the consultants to use L2TP with IPSec
-
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()
A . Ensure that the Web control inherits from the WebControl class.
B . Ensure that the Web control inherits from the Control class.
C . Ensure that the Web control inherits from the CompositeControl class.
D . Ensure that the Web control inherits from the UserControl class.
-
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
-
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 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 an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:<%@ ServiceHost Service="System.Web.ApplicationServices.AuthenticationService"Factory="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()
A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.
B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.
C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.
D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider
-
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file.What should you do?()
A. Ensure that the Web control inherits from the WebControl class.
B. Ensure that the Web control inherits from the Control class.
C. Ensure that the Web control inherits from the CompositeControl class.
D. Ensure that the Web control inherits from the UserControl class.
-
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.
-
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 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"
-
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 the administrator on a Linux network.You have created and are ready to impleme
A.Chmod-M30
B.Chgrp-d30
C.Chage-M30
D.Useradd-D30