You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()A、In the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.ListB、In the context menu for the service reference in the ASP.NET project, select the Update Service Reference commaC、Change the service interface and implementation to return a ListD、Edit the address property of the endpoint element in the web.config file to use the new service address

You create a Visual Studio 2010 solution that includes a WCF service project and an ASP.NET project. The service includes a method named GetPeople that takes no arguments and returns an array of Person objects. The ASP.NET application uses a proxy class to access the service. You use the Add Service Reference wizard to generate the class. After you create the proxy, you move the service endpoint to a different port. You need to configure the client to use the new service address. In addition, you must change the implementation so that calls to the client proxy will return a List instead of an array. Which two actions should you perform?()

  • A、In the context menu for the service reference in the ASP.NET project, select the Configure Service Reference commSystem.Collections.Generic.List
  • B、In the context menu for the service reference in the ASP.NET project, select the Update Service Reference comma
  • C、Change the service interface and implementation to return a List
  • D、Edit the address property of the endpoint element in the web.config file to use the new service address

相关考题:

You are granted the CREATE VIEW privilege. What does this allow you to do? () A. Create a table view.B. Create a view in any schema.C. Create a view in your schema.D. Create a sequence view in any schema.E. Create a view that is accessible by everyone.F. Create a view only of it is based on tables that you created.

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、2B、3C、4D、1

You are granted the CREATE VIEW privilege. What does this allow you to do?()A、Create a table view.B、Create a view in any schema.C、Create a view in your schema.D、Create a sequence view in any schema.E、Create a view that is accessible by everyone.F、Create a view only of it is based on tables that you created.

You are evaluating the use of pass-through disks for the database servers. You need to recommend a backup solution for the database servers that meets the following requirements: - Minimizes costs. - Provides for the recovery of the databases if a hardware failure occurs. What should you include in the recommendation?()A、Create full backups of the Hyper-V host by using Windows Server BackupB、Create snapshots of the VMs from Hyper-V ManagerC、Create full backups of the Hyper-V host by using Microsoft System Center Data Protection ManagerD、Create full backups of the VMs by using Windows Server Backup from within the VMs

You are responsible for maintaining a SQL Server 2005 database. Business analysts in the company routinely use a view named v CustomerSales to join the Customers and Sales tables in the database. They use the view to aggregate total sales by customer by month. You need to increase the performance of the view. What should you do?()A、Update the view to use an outer join between the Customers and Sales tables.B、Create a clustered index on the v CustomerSales view.C、Create two separate views that do not contain any joinsone view named Customers for the Customers table and another one named v Sales for the Sales table.D、Create a stored procedure for the business analysts that uses the v CustomerSales view.

The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on the procedureto many database users: CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgrNUMBER, v_loc NUMBER)BEGIN INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END; The users having permission to execute the procedure are able to insert records into the DEPARTMENTS tableeven though they do not have the INSERT privilege on the table. You want only those users who haveprivileges on the DEPARTMENTS table to be able to execute the procedure successfully.  What would yousuggest to the PL/SQL developers to achieve this()A、Create the procedure with definer’s right.B、Create the procedure with invoker’s right.C、Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.D、Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package toselected users

The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on theprocedure to many database users:  CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgr NUMBER, v_loc NUMBER) BEGIN  INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END;  The users having permission to execute the procedure are able to insert records into the  DEPARTMENTStable even though they do not have the INSERT privilege on the table. You want only those users whohave privileges on the DEPARTMENTS table to be able to execute the procedure successfully.  What would you suggest to the PL/SQL developers to achieve this()A、Create the procedure with definer’s right.B、Create the procedure with invoker’s right.C、Grant the EXECUTE privilege with GRANT OPTION on the procedure to selected users.D、Create the procedure as part of a PL/SQL package and grant the EXECUTE privilege on the package to selected users

In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure: CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2,v_SALARY NUMBER, v_dept_id NUMBER) BEGIN INSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king; How can you prevent users having the EXECUTE privilege on the CREATE_TEST procedure from inserting values into tables on which they do not have any privileges?()A、Create the CREATE_TEST procedure with definer’s rights.B、Grant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.C、Create the CREATE_TEST procedure with invoker’s rights.D、Create the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.

You have a Windows Server 2008 R2 Hyper-V server. You need to ensure that you are prompted to specify a custom snapshot name when you create a snapshot. What should you use to create the snapshot?()A、Hyper-V ManagerB、Windows Server BackupC、the Virtual Machine Connection windowD、the Backup command-line tool (also known as wbadmin.exe)

You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services,and configuring aweb services infrastructure. You have the Windows Deployment Services (WDS) role installed on a serverthat runs Windows Server 2008. You plan to install Windows Vista on a computer that does not supportPreboot Execution Environment (PXE). You have a Windows Vista image that is stored on the WDS server. You have to start the computer and install the image that is stored on the WDS server. What should you create?()A、You should create a discover imageB、You should create an install imageC、You should create a capture imageD、You should create a CD-ROM that contains PXE drivers

.Your companys virtual environment includes Windows Server 2008 R2 Hyper-V servers. You manage the environment by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to provide a user with the ability to perform only the Create, Delete, Start, Stop, Pause, Resume, and Shut Down virtual machine (VM) management tasks on your host servers .  What should you do?()A、In VMM,create a Self-Service user role.B、In VMM,create a Delegated Administrator user role.C、In VMM,assign the Local Administrator permission for the host servers to the user.D、In Authorization Manager, create a role on the users client computer and add the user to this role.

You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell. You receive an error message stating that the New-VM PowerShell cmdlet is not recognized. You need to be able to create VMs by using PowerShell. What should you do?()A、.Install the VMM Self-Service Portal.B、Enable the Windows PowerShell Integrated Scripting Environment feature.C、In PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager cmdlet.D、Run the Create-VM -Name "VM01" -VirtualHardDisk $VHD -VMHost $VMHost -Path "C:///MyVMs" PowerShell cmdlet.

You are a network administrator for The network contains a Windows Server 2003 computer named Testking1. You need to install an application on Testking1. The installation will cause several changes to the registry. You plan to use the Backup utility to create a backup that will enable you to restore the registry. TestKing requirements for network management state that all backups must be performed during an eight-hour period at night. Because of this time constraint, you need to ensure that the backup can be recovered as quickly as possible. You need to create a backup that meets the requirements. What should you do?()A、Create a backup of the system partition.B、Create a backup of the boot partition.C、Create a backup of the System State.D、Create an Automated System Recovery (ASR) backup.E、Create a backup of the Systemroot/System32/Config folder.

Your corporate network contains a Remote Desktop Gateway (RD Gateway) server named Server1 and aRemote Desktop Session Host (RD Session Host) server named Server2. You have a  computer namedComputer1 that runs Windows 7. You use Computer1 from home. You need to access Server2 fromComputer1.  What should you do?()A、Run Mstsc.exe /admin /v:server2:443.B、Run Mstsc.exe /console /v:server2:8080.C、Create a Remote Desktop Connection and modify the Connect from anywhere settings.D、Create a Remote Desktop Connection and modify the Server authentication settings.

You manage Hyper-V host servers and virtual machines (VMs) by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. Developers are members of an AD security group named  Development. You need to ensure that on a specific host server, members of the Development group can perform only the Create,Modify,and Remove VM management tasks. What should you do?()A、Create a Self-Service user role and add the Development group to this role.B、Create a Delegated Administrator user role and add the Development group to this role.C、In Authorization Manager, create a role on the client computer of each member of the Development group, and add the Development group to this role.D、Install Hyper-V Manager on the client computer of each member of the Development group,and grant the Development group administrative privileges on the specific server.

You have a computer that runs Windows 7. You install a second internal hard disk drive in the computer.You attempt to create a system image and discover that the new disk is not listed as a backup destination.You need to ensure that you can use the new disk as a backup destination for system images.  What should you do?()A、Create a NTFS partition.B、Create a mirrored volume.C、Create a system repair disc.D、Log on to the computer by using a different account.

You are employed as the senior administrator at Certkiller.com. You make use of Microsoft .NETFramework v3.5 to create a Microsoft ASP.NET application.  You make use of ASP.NET AJAX create a Web form. The code fragment below exists in the Webfrom. (The line numbers is included for reference purposes) 01  02 03 Sys.Application.add_init(initComponents); 04 05 function initComponents() {0607 } 08 09  10 11  13   You make use of the initComponents function to create and start a user behavior. This userbehavior is named CKBehavior. You have to make sure that CKBehavior is attached to CKTextBoxA. You should determine the appropriate code segment you need to add in line 6 toaccomplish this.  What should you identify?()A、Your best option would be to insert Sys.Component.create(CKBehavior, $get('CKTextBoxA'),null, null, null)B、Your best option would be to insert Sys.Component.create(CKBehavior, 'CKTextBoxA', null,null, null)C、Your best option would be to insert $create(CKBehavior, null, null, null, $get('CKTextBoxA'))D、Your best option would be to insert $create(CKBehavior, null, null, null, 'CKTextBoxA')

You configure a Windows Server 2008 R2 Hyper-V server with several virtual machines (VMs). A software vendor releases a software update for an application that runs on only one of the VMs. You need to plan a strategy that enables you to install and test the update without interrupting business operations and without corrupting data.   What should you do first?()A、Export the VMB、Create a snapshot of the affected VMC、Enable the Windows Volume Snapshot Service on the affected VMD、Enable the Windows Volume Snapshot Service on the Hyper-V server

You need to recommend a solution that meets the company’s application provsioning requirements. What should you recommend?()A、Create a new MED-V workspace.B、Publish a new RemoteApp program.C、Create an application compatibility shim.D、Package a new application by using the App-V Sequencer.

You deploy two Windows Server 2008 R2 Hyper-V servers. You manage the servers by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to ensure that you can restore virtual machines (VMs) in the event of a hardware failure. What should you do?()A、Use a PowerShell script to create a snapshot of each VM. Run the script every 60 minutes on each Hyper-V serverB、Use a PowerShell script to create a checkpoint of each VM. Run the script every 60 minutes on each Hyper-V serverC、Use a PowerShell script to pause, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V serverD、Use a PowerShell script to shut down, export, and start each VM, and then to copy the export to the opposite Hyper-V server. Run the script once per day on each Hyper-V server

You need to implement an authentication method on SQL4. The TravelOnline database will be accessed through a Web services application. You need to make the authentication method as secure as possible.What should you do?()A、Create an HTTP endpoint with NTLM authentication, and create a service principal name (SPN).B、Create an HTTP endpoint with digest authentication, and create a service principal name (SPN).C、Create an HTTP endpoint with integrated authentication, and create a service principal name (SPN).D、Create an HTTP endpoint with Kerberos authentication.

Your virtual environment includes Hyper-V host servers and VMware ESX Server hosts. You manage the environment by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You need to enable non-administrative users to manage snapshots or checkpoints for virtual machines (VMs) that are hosted on either host system. What should you do?()A、Create checkpoints in VMM.B、Create snapshots by using Hyper-V Manager.C、Create checkpoints by using the VMM Self-Service Portal.D、Create snapshots from within the Virtual Machine Connection console.

You have a computer that runs Windows XP Professional. You need to create a floppy disk to start Windows XP Professional on the computer if the start files become corrupt. What should you do?() A、From the Windows XP Professional computer, run diskcopy.exe /v a:.B、From a computer that runs Windows 98, create a MS-DOS-based startup disk. C、From the Windows XP Professional computer, create an Automated System Recovery (ASR) disk. D、From the Windows XP Professional computer, format a floppy disk. Copy the NTLDR, ntdtetect.com, and boot.ini files to the floppy disk.

单选题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?()A2B3C4D1

单选题You have a Windows Server 2008 R2 Hyper-V server. You need to ensure that you are prompted to specify a custom snapshot name when you create a snapshot. What should you use to create the snapshot?()AHyper-V ManagerBWindows Server BackupCthe Virtual Machine Connection windowDthe Backup command-line tool (also known as wbadmin.exe)

单选题You are employed as the senior administrator at Certkiller.com. You make use of Microsoft .NETFramework v3.5 to create a Microsoft ASP.NET application.  You make use of ASP.NET AJAX create a Web form. The code fragment below exists in the Webfrom. (The line numbers is included for reference purposes) 01  10 11  13   You make use of the initComponents function to create and start a user behavior. This userbehavior is named CKBehavior. You have to make sure that CKBehavior is attached to CKTextBoxA. You should determine the appropriate code segment you need to add in line 6 toaccomplish this.  What should you identify?()AYour best option would be to insert Sys.Component.create(CKBehavior, $get('CKTextBoxA'),null, null, null)BYour best option would be to insert Sys.Component.create(CKBehavior, 'CKTextBoxA', null,null, null)CYour best option would be to insert $create(CKBehavior, null, null, null, $get('CKTextBoxA'))DYour best option would be to insert $create(CKBehavior, null, null, null, 'CKTextBoxA')

单选题In your multitenant container database (CDB) containing pluggable database (PDBs), the HR user executes the following commands to create and grant privileges on a procedure: CREATE OR REPLACE PROCEDURE create_test_v (v_emp_id NUMBER, v_ename VARCHAR2,v_SALARY NUMBER, v_dept_id NUMBER) BEGIN INSERT INTO hr.test VALUES (V_emp_id, V_ename, V_salary, V_dept_id); END; / GRANT EXECUTE ON CREATE_TEST TO john, jim, smith, king; How can you prevent users having the EXECUTE privilege on the CREATE_TEST procedure from inserting values into tables on which they do not have any privileges?()ACreate the CREATE_TEST procedure with definer’s rights.BGrant the EXECUTE privilege to users with GRANT OPTION on the CREATE_TEST procedure.CCreate the CREATE_TEST procedure with invoker’s rights.DCreate the CREATE_TEST procedure as part of a package and grant users the EXECUTE privilege the package.

单选题You use Microsoft System Center Virtual Machine Manager (VMM) 2008 R2 to create and manage virtual machines (VMs). You attempt to create the first VM on a Hyper-V host by using Windows PowerShell. You receive an error message stating that the New-VM PowerShell cmdlet is not recognized. You need to be able to create VMs by using PowerShell. What should you do?()A.Install the VMM Self-Service Portal.BEnable the Windows PowerShell Integrated Scripting Environment feature.CIn PowerShell, run the Add-PSSnapin Microsoft.SystemCenter.VirtualMachineManager cmdlet.DRun the Create-VM -Name VM01 -VirtualHardDisk $VHD -VMHost $VMHost -Path C:///MyVMs PowerShell cmdlet.