2011年10月更新VCP-510题库
- 格式:pdf
- 大小:384.54 KB
- 文档页数:30
《VC程序设计》试卷1一、单项选择题(每小题1分,共20分)1、假定MyClass为一个类,则执行“” MyClass a[3],*p[2];”语句时,自动调用该类构造函数的次数为()A、2B、3C、4D、52、对于类中定义的成员,其隐含访问权限为()A、protectedB、privateC、publicD、static3、一个类的友元函数或友元类能够通过成员操作符访问该类的()A、私有成员B、所有成员C、公用成员D、保护成员4、下面说法正确的是()A、构造函数可以重载,析构函数不能重载。
B、构造函数不能重载,析构函数可以重载。
C、构造函数可以重载,析构函数也可以重载。
D、构造函数和析构函数都不可以重载。
5、下列语句的运行结果为()#include <iostream.h>srtuct COMPLEX{int x;int y;} cNum[2]={1,3,2,7};void main(){cout<< cNum[0].y*cNum[1] x<<endl;}A、3B、2C、21D、66、类AB的缺省构造函数和析构函数是()A、AB( )和~AB( )B、AB(int)和~AB( )C、AB( )和~AB(delete )D、AB( )和int~AB( )7、在C++中,若对函数未加说明,则函数的隐含类型是()A、intB、doubleC、voidD、char8、已知类A是类B的友元,类B是类C的友元,则( )A、类A一定是类C的友元B、类C一定是类A的友元C、类C的成员函数可以访问类B的对象的任何成员D、类A的成员函数可以访问类B的对象的任何成员9、下列说法中正确的是( )A、类定义中只能说明函数成员的函数头,不能定义函数体B、类中的函数成员可以在类体中定义,也可以在类体之外定义C、类中的函数成员在类体之外定义时必须要与类声明在同一文件中D、在类体之外定义的函数成员不能操作该类的私有数据成员10、以下不属于成员函数的是( )A、静态成员函数B、友元函数C、构造函数D、析构函数11、对于消息队列的描述正确的是()A、在Windows中只有一个消息系统,即系统消息队列。
一、单项选择题1.函数重载是指(A)。
A.两个或两个以上的函数取相同的函数名,但形参的个数或类型不同B.两个以上的函数取相同的名字和具有相同的参数个数,但形参的类型可以不同C.两个以上的函数名字不同,但形参的个数或类型相同D.两个以上的函数取相同的函数名,并且函数的返回类型相同2.下列对引用的陈述中不正确的是(C)。
A.每一个引用都是其所引用对象的别名,因此必须初始化B.形式上针对引用的操作实际上作用于它所引用的对象C.一旦定义了引用,一切针对其所引用对象的操作只能通过该引用间接进行D.不需要单独为引用分配存储空间3.关于封装,下列说法中不正确的是(A)。
A.通过封装,对象的全部属性和操作结合在一起,形成一个整体B.通过封装,一个对象的实现细节被尽可能地隐藏起来(不可见)C.通过封装,每个对象都成为相对独立的实体D.通过封装,对象的属性都是不可见的4.假定AA为一个类,a为该类公有的数据成员,px为指向该类对象的一个指针,则访问px所指对象中数据成员a的格式为(C)。
A.px(a)B.px[a]C.px->aD.px.a5.假定AA为一个类,int a()为该类的一个成员函数,若该成员函数在类定义体外定义,则函数头为(A)。
A.int AA::a()B.int AA:a()C.AA::a()D.AA::int a()6.类的构造函数是在定义该类的一个(C)时被自动调用执行的。
A.成员函数B.数据成员C.对象D.友元函数7.在公有派生情况下,有关派生类对象和基类对象的关系,不正确的叙述是(C)A.派生类的对象可以赋给基类的对象B.派生类的对象可以初始化基类的引用C.派生类的对象可以直接访问基类中的成员D.派生类的对象的地址可以赋给指向基类的指针8.对于类定义class A{public:virtual void func1(){}void func2(){}};class B:public A{public:void func1(){cout<<〃class B func1〃<<end1;}virtual void func2(){cout<<〃class B func2〃<<end1;}};下面正确的叙述是(C)A、A::func2()和B::func1()都是虚函数B、A::func2()和B::func1()都不是虚函数C、B::func1()是虚函数,而A::func2()不是虚函数D、B::func1()不是虚函数,而A::func2()是虚函数9.对于int*pa[5];的描述,(D)是正确的。
The safer , easier way to help you pass any IT exams.Exam : VCP-510Title :Version : V17.02VMware Certified Professional on VSphere 51.Which VMware solution uses the security of a vSphere implementation and provides linked-clone technology to virtual desktops?A. VMware ACEB. VMware ViewC. VMware WorkstationD. VMware ThinAppAnswer: BExplanation:Reference: /files/pdf/VMware-View-4-Composer-DS-EN.pdf (page 1, last paragraph)2.An administrator has recently upgraded their Update Manager infrastructure to vSphere 5.x. Several hosts and virtual machines have not been upgraded yet.Which vSphere component when upgraded will have the least impact to the existing environment?A. Virtual Machine HardwareB. ESX HostsC. VMFS datastoresD. VMware ToolsAnswer: D3.An administrator is using Update Manager 5.x to update virtual appliances in a vSphere environment. The environment is using the vCenter Server Virtual Appliance (vCSA).What would cause the remediation to fail?A. Updating of the appliance can only be done if the vCenter Server Virtual Appliance (vCSA) has been put into Maintenance Mode.B. Remediation must be configured on the Appliance Administration page before use.C. Remediation of the vCenter Server Virtual Appliance (vCSA) with Update Manager is not supported.D. Remediation requires the hosts to be connected to vCenter using an IPv4 address.Answer: D4.An administrator is working to update the hosts and virtual machines in a vSphere5.x deployment using Update Manager Baselines.Other than host patches, which three items require a separate procedure or process to update? (Choose three.)A. Operating system patchesB. Virtual Appliance updatesC. Virtual Machine Virtual Hardware upgradesD. VMware Tools on machines without VMware Tools already installedE. Application patches within the virtual machineAnswer: A,D,E5.A series of Auto Deploy ESXi 5.x hosts which utilize vSphere Standard Switches are unable to boot. In prior testing, all of the hosts were able to boot successfully.Which two conditions might cause this issue? (Choose two.)A. The Hosts are unable to connect to the SAN.B. The TFTP server is down.C. The DNS server is down.D. The DHCP server is down.Answer: B,D6.An administrator wants to monitor the health status of an ESXi 5.x host. However, when the administrator clicks the Hardware Status tab the following error is displayed. This program cannot display the webpageWhat might cause this problem?A. The VMware VirtualCenter Management Webservices Service is not started.B. The required plug-in is not enabled.C. The VMware ESXi Management Webservices Service is not startedD. The name of the vCenter Server system could not be resolved.Answer: A7.An administrator would like to have vCenter take action any time a virtual machine is using over 90% of its available resources for five minutes or longer.Which three actions can be taken by vCenter Server in response to the trigger without running a script? (Choose three.)A. Power on a VMB. Reboot Guest on VMC. Increase Virtual Machine MemoryD. Migrate a VME. Increase Virtual Machine CPU SharesAnswer: A,B,D8.An administrator has purchased a new 10GB Converged Network Adapter (CNA) for installation in a system that is running ESXi 5.x. The administrator has downloaded the latest driver from the hardware vendor and wants to include the driver in an image. The image profile acceptance level is set to VMwareSupported. The acceptance level of the driver is VMwareSupported.Which two statements are true about the inclusion of this driver in the image? (Choose two.)A. Support calls for the driver will be directed to the partner.B. The image can be built, but the driver will not be included in the image.C. The image can be built and the driver will be included.D. Support calls for the driver will be handled by VMware.Answer: A,CExplanation:9.What are the three service offerings provided by a VMware-powered public cloud? (Choose three.)A. CommittedB. TransientC. DedicatedD. Highly ElasticE. BasicAnswer: A,C,E10.An administrator has been tasked with upgrading an existing host from ESX 4.1 to ESXi 5.x. The existing host has only vSwitch0 with all the default settings.The upgraded host will have the following new requirements.1. 116 virtual machines will be connected.2. Four uplinks configured for port-based load balancing.3. The switch will include a secondary heartbeat network for HA.Which two statements are true about this configuration? (Choose two.)A. The Service Console Port will be removed during the upgradeB. The configuration requires only one VMkernel PortC. The default vSwitch0 is sufficient for this configurationD. A change to vSwitch0 Properties is requiredAnswer: A,D11.When would a license server be configured for vCenter Server 5.x?A. When managing ESX 3.x serversB. When the vCenter Server Virtual Appliance (vCSA) is usedC. Within the first 60 daysD. A standalone license server is installed by defaultAnswer: A12.What two Advanced IP Allocation Schemes are available? (Choose two.)A. FixedB. DHCPC. OVF EnvironmentD. TransientAnswer: B,C13.A company is planning an upgrade from vSphere 4.x to vSphere 5. They currently have three dual CPU servers licensed for ESXi 4.1 AdvancedEach server has 256GB of RAM installed.Their virtual machines are sized three ways.Light. 1v CPU, 4GB RAMMedium. 2v CPU, 8GB RAMHeavy. 4 vCPU, 12GB RAMThe Production workload consists of.20 Light servers20 Medium servers2 Heavy serversThe Development workload consists of.10 Light servers10 Medium serversHow will vSphere 5 licensing impact their upgrade? (Choose two.)A. They will need to purchase additional ESXi licenses.B. They will be able to reduce their power consumption.C. They will be restricted from powering on additional virtual machines.D. A license upgrade will be needed to add vCPUs to the Heavy servers.Answer: B,C14.What is a benefit of vCenter Linked-Mode?A. Allows the vCenter Server Virtual Appliance (vCSA) to manage multiple sitesB. Pools vRAM entitlementC. Increases vCenter securityD. Increases vCenter reliabilityAnswer: B15.What virtual machine action listed below can be performed on a template?A. Power onB. CloneC. Edit SettingsD. MigrateAnswer: B16.Which functions can be performed with the Plug-in Manager? (Choose two.)A. Enable an installed plug-inB. Remove permissions for a plug-inC. View the status of installed plug-insD. Uninstall a plug-inAnswer: A,C17.An administrator plans to deploy ESXi 5.x, but does not want to use CD or DVD media.What are two alternate ways to provide the ESXi 5.x installation script to the host? (Choose two.)A. PXEB. FTPC. HTTPD. IPMIAnswer: B,C18.Click the Exhibit button.The safer , easier way to help you pass any IT exams.An administrator has implemented a new vSphere 5 environment and is deploying their first Windows 2008 R2 template. When running the Deploy Template wizard, the error shown in the exhibit appears. What can be done to correct the problem?A. Select the correct guest OS setting for the virtual machine.B. Windows 2003 x64 cannot be customized.C. Download and install the Microsoft Sysprep tool into the virtual machine to be customized.D. Download the Microsoft Sysprep tool to the appropriate vCenter Server directory.Answer: AExplanation:/thread/45830See also the table at:/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005593 sysprep is not applicable for Windows vista/2008/719.What is a valid example of a vSphere Update Manager upgrade?A. A VMware Tools upgrade on a Fault Tolerant machine with automatic snapshots.B. Upgrading and patching multiple ESXi hosts simultaneously in a selected cluster.C. Upgrading an ESX 4.1 host to ESXi 5.x with a sufficent boot partition.D. An ESXi 5.x host update with automatically deleted snapshots.Answer: C20.Which three tasks can be selected from the home page of an ESXi 5.x host? (Choose three.)A. Browse objects managed by the hostB. Browse NFS mounts for this hostC. Download VMware vCenter or the vSphere client from D. Shutdown or restart the hostE. Download the PowerCLI installerAnswer: A,B,CExplanation:21.If you create a custom role and do not assign privileges what system-defined privileges are added? (Choose two.)A. System.AnonymousB. System.ReadC. System.WriteD. System.AdministratorAnswer: A,B22.An administrator is performing upgrades to ESXi 5.x from ESX 3.x and ESX 4.x hosts.What is true about this procedure?A. A direct, in-place upgrade can be performed only on ESX 4.1 and later hosts.B. ESX 3.x hosts can be upgraded, but require an upgrade to 4.x before 5.x.C. A direct, in-place upgrade can be performed only on ESX 4.5 and later hosts.D. A direct, in-place upgrade can be performed only on ESX 3.5 and later hosts.Answer: B23.What differentiates a private cloud from a vSphere Infrastructure?A. A private cloud requires pooled resources including storage and networking.B. vSphere Infrastructure assumes a secure location for the workloads.C. vSphere Infrastructure allows consumption of resources over open standards.D. A private cloud assumes the consumer will maintain their portion of the infrastructure.Answer: A24.What are three reasons for deploying vCenter Server in a physical machine? (Choose three.)A. vCenter Server can be deployed as physical machine to support a VSA configuration.B. vCenter Server can be deployed as a physical machine to ensure it is not susceptible to vSphere outages.C. vCenter Server can be deployed as a physical machine to improve VMware Data Recovery performance.D. vCenter Server can be deployed as a physical machine to improve vMotion performance.E. vCenter Server can be deployed as a physical machine to ensure it does not contend for resources. Answer: A,B,E25.Which two VMware software components can be updated by Update Manager? (Choose two.)A. ESX 3.5B. Virtual AppliancesC. vCenter ServerD. Guest OSAnswer: A,B26.Which two vCenter plug-ins are installed with a default vSphere Client installation? (Choose two.)A. vCenter Hardware StatusB. VMware ESXi Service StatusC. VMware vSphere Update ManagerD. VMware vCenter Storage Monitoring ServiceAnswer: A,D27.What are two reasons why a company would choose to use ESXi 5.x instead of using VMware Workstation 8? (Choose two.)A. The company needs to be able to assign existing physical disks to virtual machines.B. The company needs remote management of virtual machinesC. The company needs support for virtual machines with up to sixteen vCPUsD. The company wants the lowest overhead possible for the virtual infrastructure.Answer: C,D28.Which two settings are required by the deployment wizard when installing the VMware vCenter Server Virtual Appliance (vCSA)? (Choose two.)A. Number of CPUsB. Datastore to install onC. Linked-modeD. Name of the vCenter serverAnswer: B,D29.Which three modules are optional components that can be added from the vCenter Server installer? (Choose three.)A. VMware vCenter Syslog CollectorB. VMware vCenter License ServerC. VMware vSphere Authentication ProxyD. VMware vCenter Host Update UtilityE. VMware vSphere Auto DeployAnswer: A,C,E30.What are two prerequisites for installing the vCenter Server application? (Choose two.)A. The system vCenter Server is installed on must be a physical machine.B. A valid vSphere vCenter license must be obtained before installation.C. vCenter must be in the same network as the hosts if supporting vSphere Storage Appliance Cluster.D. The system vCenter Server is installed on cannot be a domain controller.Answer: C,DExplanation:31.What are two valid use cases for vCenter Server Linked Mode? (Choose two.)A. An administrator wants to migrate running virtual machines between vCenter Server instances.B. An administrator wants to increase the vRAM entitlement pool.C. An administrator wants to manage a virtual server environment and a View environment from the same pane of glass.D. An administrator wants to search all inventory objects across multiple vCenter Server Virtual Appliance (vCSA) instances from one vSphere ClientAnswer: B,C32.An administrator is setting up vSphere Auto Deploy to deploy 25 ESXi 5.x hosts using the vCenter Server Virtual Appliance (vCSA).What would be considered best practices for Auto Deploy? (Choose three.)A. Enable vSphere HA on the cluster.B. Protect the vCenter server with Fault Tolerance.C. Install the Auto Deploy service on the VCSA.D. Include the vmware-fdm VIB in the image profile.E. Use PowerCLI to write a rule that assigns a custom image profile to the target hosts.Answer: A,D,E33.Which tool defines the Image Profiles used with Auto Deploy?A. The vSphere PowerCLI add-deployrule cmdletB. The vSphere PowerCLI new-deployrule cmdletC. The vSphere CLI add-deployrule commandD. The vSphere CLI new-deployrule commandAnswer: B34.An administrator plans to use an upgrade script to upgrade a number of ESXi 5.x hosts.What options are available for the kickstart file? (Choose two.)A. dryrun - Parse and check script but does not installB. overwritevmfs - permits overwriting of existing VMFS volumesC. vcenter - specifies vCenter ServerD. autodeploy - defines autodeploy optionsAnswer: A,B35.An administrator has deployed a vCenter Server to manage a virtual environment.The administrator has been asked to develop a plan for handling major upgrades to the application. What should be included in the upgrade plan?The safer , easier way to help you pass any IT exams.A. Utilize vCenter Configuration Manager to upgrade the vCenter Server in placeB. Install a new vCenter Server and import the information from the existing vCenter ServerC. Install a new vCenter Server over the existing vCenter Server as an in-place upgradeD. Utilize Update Manager to upgrade the vCenter Server in placeAnswer: BExplanation:Page 131 of vsphere-update-manager-50-install-administration-guide.pdfNOTEUpdate Manager 5.0 does not support virtual machine patch baselines.If a host is connected to vCenter Server by using an IPv6 address, you cannot scan and remediate virtual machines and virtual appliances that run on the host.Remediation of VMware vCenter Server Appliance is not supported. For more information about upgrading the virtual appliance, see the vCenter Server upgrade documentation.Page 56 of vsphere-esxi-vcenter-server-50-upgrade-guide.pdfUpgrade the VMware vCenter Server ApplianceBecause the VMware vCenter Server Appliance was first released with vSphere 5.0, upgrading the appliance is not required until a future release. This information helps you plan for future upgrades. Procedure1. Deploy the new version of the vCenter Server Appliance. The new appliance has a default network configuration, and the vCenter Server service is unconfigured and disabled.2. Connect to both the old and new appliances in separate browser windows.3. In the Upgrade tab of the new appliance, select destination for the appliance role, and click Set role.4. In the Upgrade tab of the old appliance, select source for the appliance role, and click Set role.5. In each appliance, click Establish Trust. The local appliance key appears.6. In the new appliance, copy the local appliance key.7. Paste the local appliance key into the Remote appliance key field of the old appliance.8. Click Import remote key in the old appliance.9. In the old appliance, copy the local appliance key.10. Paste the local appliance key into the Remote appliance key field of the new appliance.11. Click Import remote key in the new appliance.12. In the new appliance, click Import, and click Start import.The new appliance shuts down the old appliance and assumes the network identity of the old appliance. This process can take several minutes. When the import is complete, the new vCenter Server Appliance starts.36.Which three configuration settings will be migrated when upgrading a host from ESX 4.x Classic to ESXi 5.x? (Choose three.)A. The SSH configuration in /etc/sshB. The host configuration in /etc/vmware/esx.confC. The NFS configuration in /etc/fstabD. The services information in /etc/servicesE. The licensing information in /etc/licenses/license.confAnswer: B,C,DExplanation:The safer , easier way to help you pass any IT exams.37.An administrator is upgrading an ESXi 3.5 host to ESXi 5.x with an intermediate upgrade to 4.0 using Update Manager. The host has a single Intel Xeon processor, 4GB of RAM, and a VMFS datastore on a private, SAN-attached LUN.What might cause the upgrade to be unsuccessful?A. The ESXi host has 4GB RAM.B. The ESXi host has one processor.C. ESXi 3.5 is not supported for upgrade.D. Update Manager cannot upgrade a previously upgraded host.Answer: CExplanation:/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc_50%2FGUID-AA106086-E10D-456E-B0B9-340D3D1462C3.html38.An administrator is performing an upgrade on an ESXi host.Which step can be used to back up the host before the upgrade is performed?A. Using the vSphere Client connected to vCenter, right-click the host and choose Host Backup.B. Log into a vMA appliance and run vicfg-cfgbackup to save the ESXi host configuration.C. Using the vSphere Client connected directly to the host, right-click the host and choose Host Backup.D. Use PowerCLI to run the host-backup cmdlet to save the ESXi host configuration.Answer: B39.Click the Exhibit button.10 ESXi 5.x hosts will be installed as part of a vSphere 5.x deployment. Security hardening is required as part of the installation. The current security profile is displayed in the exhibit.Which three services shown in the exhibit are configured to run by default in a completed vSphere installation? (Choose three.)A. Network Login Server (Active Directory Service)B. SSHC. ESXi ShellD. Direct Console UIE. vpxaAnswer: A,D,E40.For security reasons, an administrator removes a user from the Active Directory domain used by all ESXi hosts for authentication. At the time the user is removed they are actively logged into an ESXi 5.x host through the vSphere Client.What is true regarding this scenario?A. The user immediately loses connectivity to and permissions on the host.B. The user retains permissions and connectivity to the host for up to 24 hours.C. The user retains permissions on the host until the host is rebooted.D. The user retains permissions on the object until the next time the user logs in to vCenter Server. Answer: BExplanation:/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-50-security-guide.pdf41.Acme Disposal Services is a large company which has many administrators. For auditing purposes, each administrator must use a unique account to access ESXi Standard hosts.Which two actions satisfy this requirement and require the least amount of administrative effort? (Choose two.)A. Configure Authentication Services for Active Directory based authentication to the ESXi hostsB. Configure a unique root level account for each administrator using the vSphere ClientC. Configure user accounts in a host profile, then apply the host profile to the ESXi hostsD. Configure Active Directory group ESX Admins with each administrator's AD accountAnswer: A,D42.What Windows security object is granted the vCenter Server administrator role during installation?A. Domain AdminsB. AdministratorC. AdministratorsD. ESX AdminsAnswer: C43.What Windows security object is granted the vCenter Server administrator role during installation?A. Domain AdminsB. AdministratorC. AdministratorsD. ESX AdminsAnswer: C44.Which component is the metering tool for vCloud administration?A. VMware vCenter ChargebackB. VMware vCloud Service ManagerC. VMware vCloud Request ManagerD. VMware vCloud DirectorAnswer: A45.An existing vSphere 4 environment will be upgraded to vSphere 5.x. The current implementation utilizes ESXi 4.1 and the new implementation will use ESXi 5.x.In which two ways will the new ESXi 5.x implementation differ from the ESXi 4.1 implementation? (Choose two.)A. VMware ESXi 5.x provides a host-based firewall.B. VMware ESXi 5.x can boot from additional local sources such as a USB drive.C. VMware ESXi 5.x can be managed from a web browser.D. VMware ESXi 5.x can support virtual machines with larger hard drive configurations.Answer: B,D46.Which VMware solution allows for the automated discovery and mapping of applications running over the VM infrastructure?A. VMware vCloud DirectorB. VMware vCenter Infrastructure NavigatorC. VMware Service ManagerD. VMware vSphere 5Answer: B47.What are two reasons to upgrade a virtual machine's hardware version? (Choose two.)A. Migrate a virtual machine from a VMFS3 datastore to a VMFS5 datastore.B. Add more than 4 NICs to a virtual machine.C. Add more than 8 vCPUs to a virtual machine.D. Increase the vRAM of the virtual machine to 512GB.Answer: C,D48.The Typical option is selected while running the New Virtual Machine Wizard in the vSphere Client. Which three specific configuration options are included during virtual machine creation? (Choose three.)A. Datastore locationB. Virtual machine versionC. Number of vCPUsD. Storage DRSE. Virtual disk sizeAnswer: A,D,E49.The VMware vCenter Server Appliance has been deployed using default settings.What user name and password are used to log in to the administration interface to configure the appliance?A. The initial user name and password must be supplied on the first login attempt.B. The initial user name and password must be supplied during deployment.C. The initial user name is root and the password is blank.D. The initial user name is root and the password is vmware.Answer: D50.Which scenario requires an additional database server when adding vSphere Update Manager 5 to an environment?A. vCenter Appliance with an external Oracle databaseB. vCenter Application with the default databaseC. vCenter Application with an external SQL 2008 Enterprise databaseD. vCenter Appliance with an external DB2 databaseAnswer: D51.Which are three of the steps recalled patches automatically go through in vSphere Update Manager? (Choose three.)A. Delete recalled patch binary from repositoryB. Remediate any host with recalled patchesC. Generate a notification in the notification tabD. Place hosts with recalled patches in maintenance modeE. Flag recalled patch in databaseAnswer: A,C,E52.What is the default VFAT scratch partition size for ESXi 5.x?A. 4GBB. 600MBC. 544MBD. NoneAnswer: A53.The VMware vCenter Server Appliance offers many features of the Windows application version. Which of the following features is only available on the Windows application version of vCenter?A. Host ProfilesB. Template and clone customizationC. Active Directory authenticationD. Linked ModeAnswer: D54.An iSCSI array is being added to a vSphere 5.x implementation. An administrator wants to verify that all IP storage VMkernel interfaces are configured for jumbo frames.What are two methods to verify this configuration? (Choose two.)A. Run the esxcli network ip interface list commandB. Run the esxcfg-vswif -l commandC. Ensure that the Enable Jumbo Frames box is checked in the VMkernel interface properties in the vSphere clientD. Ensure that the MTU size is set correctly in the VMkernel interface properties in the vSphere client Answer: A,D55.An iSCSI array is being added to a vSphere 5.x implementation. An administrator wants to verify that all IP storage VMkernel interfaces are configured for jumbo frames.What are two methods to verify this configuration? (Choose two.)A. Run the esxcli network ip interface list commandB. Run the esxcfg-vswif -l commandC. Ensure that the Enable Jumbo Frames box is checked in the VMkernel interface properties in the vSphere clientD. Ensure that the MTU size is set correctly in the VMkernel interface properties in the vSphere client Answer: A,D56.An administrator has configured a vSphere Distributed Switch to send all network traffic to a collector virtual machine for analysis. However, after checking the collector virtual machine several hours later the administrator finds that no data has been collected. vSphere 5.x has been deployed in the datacenter. Which two items below could be causing this issue? (Choose two.)A. The source virtual machine does not have Promiscuous Mode enabled.B. The source and target virtual machines are not both on the same vSphere Distributed Switch.C. The port group or distributed does not have Promiscuous Mode enabled.D. The port group or distributed port does not have NetFlow enabled.Answer: B,D57.An administrator is informed that there will be a storage maintenance window and that failovers may occur.What is the expected length of time that a Windows 2008 virtual machine storage I/O will pause during a path failover?A. 0 to 30 secondsB. 90 to 120 secondsC. 60 to 90 secondsD. 30 to 60 secondsAnswer: D58.Which resource management technique can be used to relieve a network bottleneck caused by a virtual machine with occasional high outbound network activity?A. Convert the switch from a vSphere Standard Switch to a vSphere Distributed Switch.B. Create a new portgroup for the virtual machine and enable traffic shaping.C. Apply traffic shaping to the other virtual machines in the same port group.D. Apply traffic shaping to the virtual machine with high activity.Answer: B59.Which two statements are true regarding vSphere standard switches? (Choose two.)A. Beaconing requires at least three uplinks to be considered useful.B. Virtual machines on different vSwitches require the vSwitches to share an uplink to communicate.C. vSphere virtual switches require at least one uplink adapter.D. Setting the number of ports to the maximum on a vSwitch will exhaust the total ports on a host. Answer: A,D60.Which types of traffic can a VMkernel port be enabled to carry on a ESXi 5.x host? (Choose three.)A. NFSB. Fault TolerantC. ManagementD. iSCSIE. vMotionAnswer: B,C,Eworking policies for a vSphere Standard Switch, such as traffic shaping and security, can be overridden on which vSphere elements?A. On the virtual machineB. On the physical switchC. On the physical network interfaceD. On the port groupAnswer: D62.Which is an important benefit provided by VLANs?A. Reduced hardware requirementsB. Increased broadcast trafficC. Fault toleranceD. Increased security on a network segmentAnswer: A63.When deploying an OVF template, the resulting virtual disk is created in what file format?A. OVFB. VMDKC. VMXD. VSWPAnswer: B64.Assuming that VLANs are not configured, what is true about traffic from a virtual machine connected toa port group on a vSphere Standard Switch with no uplinks?A. The virtual switch will drop the packets if no uplink is present.B. Virtual machines on any vSphere Standard Switch on the same ESXi host can receive the traffic.C. Virtual machines in any port group on the virtual switch can monitor all of the traffic.D. vMotion will not migrate any Virtual machines connected to a port group on the virtual switch. Answer: D65.An administrator is enabling Network I/O Control (NIOC) on a vSphere Distributed Switch.Which types of network traffic can be prioritized with NIOC by default? (Choose three.)A. FCP TrafficB. NFS TrafficC. Virtual Machine Traffic By Virtual MachineD. iSCSI TrafficE. vSphere Replication (VR) Traffic。
2011年春江苏省计算机等级考试试题C++语言程序设计(第二部分)一、选择题(用答题卡答题,答案依次填在21~30答题号内)21. 下述关于switch语句的描述中,不正确的是(21)。
A. switch语句中的default子句可以没有,也可以有一个B. switch语句中的每一个case子句中必须有一个break语句C. switch语句中的default子句可放在switch语句中的任何位置D. switch语句中的case子句后面的表达式只能是整型、字符或枚举类型常量22. 设有说明语句:int a=1,b=2;float x=3,y=4;以下赋值中存在语法错误的是(22)。
A. a=++x; B.y=++b; C.b++=x++; D.b+=x++ + y++23. 设有说明语句:char ss[]= {"I am a student."}; static float x[20];下列选项中,存在语法错误的是(23)。
A.cout<<ss; B.cin>>ss; C.cout<<x; D.cin>>x;24. 设有说明语句:float f(int &a,int b);int x,y;以下对函数f的调用语句中,正确的是(24)。
A. f(x,y); B.f(&x,y); C.f(15,20); D.f(*x,y);25. 设有说明: int a=10,b=15,c;执行语句:c= a || (a+=b)|| (++b); 则a、b、c的值分别为(25)。
A.10,15, 1 B.25,16,1 C.10, 15,10 D.25,15,126. 下述关于函数重载的描述中,不正确的是(26)。
A.两个或两个以上的函数取相同的函数名,但形参的个数不同B.两个或两个以上的函数取相同的函数名,各函数的返回值的类型必须不同C.两个或两个以上的函数取相同的函数名,形参的个数相同但类型不同D.两个或两个以上的函数取相同的函数名,形参的个数不同或类型不同27. 在C++的集成环境中,系统约定C++源程序文件名的缺省的扩展名为(27)。
软件技术部分(共15分)一、是非判断题(每小题1分,共10分)(判断下列各小题的叙述,如正确则在客观题答题纸对应编号上选A,否则选B)1.表和线性链表的物理存贮形式都是顺序存贮。
()2.数据类型是某种程序设计语言中已实现的数据结构。
()3.如果通过软件测试没有发现错误,则说明软件是完全正确的。
()4.快速原型模型可以有效地适应用户需求的动态变化。
()5.不同进程之间的动作在时间上不能重叠。
()6.分区式存储管理能够进行存储空间共享。
()7.链接文件和索引文件都可以非连续存放。
()8.中断处理一般分为中断响应和中断处理两个步骤。
前者由软件实施,后者主要由硬件实施。
()9.在C++语言中,“重载”表达了最简单的多态性。
()10.进程调度根据一定的调度算法,从等待队列中挑选出合适的进程。
()二、选择题(每小题1分,共5分)1.数据结构中,一个存储结点存放一个()。
(A)数据项(B)数据元素(C)数据结构(D)数据类型2.把逻辑地址转变为内存的物理地址的过程称作()。
(A)编译(B)连接(C)运行(D)重定位3.SPOOLing技术可以实现设备的()分配。
(A)虚拟(B)共享(C)独占(D)物理4.允许用户把若干作业提交计算机系统集中处理的操作系统称为()。
(A)分时操作系统(B)实时操作系统(C)网络操作系统(D)批处理操作系统5.进程从运行状态进入就绪状态的原因可能是()。
(A)被选中占有处理机(B)时间片用完(C)等待的事件已发生(D)等待某一事件第二部分(共85分)一、单项选择题(每个1分,共10分)1 "以下能正确进行字符串赋值的是()(A) char s[5]={'a','e','i','o','u'}; (B) char s[5];s=""good"";(C) char s[5]=""abcd""; (D) char s[5];s[]=""good"";"2 "有下面的说明和语句,则输出结果是()。
C++课后练习题答案(待完善版)一、说明:分析程序写运行结果题目的答案是经过VC++6.0运行的,同学们可以自己尝试运行。
如发现所有题目的答案有错误请及时共享。
祝大家考试快乐!!(黑体字问题为未解决问题)第二章●C++进行强制类型转换时有几种格式?⏹答:✧(数据类型)表达式数据类型(表达式)●字符串常量与字符常量有什么区别?'c'和"c"有什么区别?⏹答:✧字符串在内存中的存放形式是:按串中字符的排列次序顺序存放对应字符的ASCII码,每个字符占一个字节,并在字符串末尾添加'\0'作为结束标记。
因此,字符常量所占用的内存字节数比字符串中字符的个数多1。
✧'c'是字符常量,"c"是字符串常量。
●假设程序中有“int a[20],*pa=a;”的语句,要表示数组元素a[i]有哪几种方法?⏹答:✧a[i]、*(a+i)、p[i]、*(p+i)●写出程序的运行结果:(1)#include <iostream.h>int a=100;void main(){int a=200;cout<<a<<','<<::a<<endl;}(2)#include <iostream.h>#include <iomanip.h>void main(){int i,j;for(i=4;i>=1;i--){cout<<setw(i+5)<<' ';for(j=i;j<=4;j++)cout<<'*'<<' ';cout<<endl;}}⏹答:(1)200,100(2)** ** * ** * * *●编程求50~1000之间的,各位上的数字之和等于5的整数。
C++程序设计真题2011年10月(总分:100.00,做题时间:90分钟)一、单项选择题(总题数:20,分数:20.00)1.C++中注释“/*”的有效范围是( )A.从“/*”开始到行尾 B.从“/*”开始后不终止C.从“/*”开始到“//”为止 D.从“/*”开始到“*/”为止(分数:1.00)A.B.C.D. √解析:[解析] C++有两种注释方式:一种是沿用C语言的从“/*”开始,到“*/”结束的注释方式;另一种是更灵活的注释方式“//”,注释的有效范围从“//”至本行结束。
2.如想使用std命名空间,正确的程序语句是( )A.using std; B.namespace std;C.using namespace; D.using namespace std;(分数:1.00)A.B.C.D. √解析:3.下列选项中不是C++关键字的是( )A.bool B.intC.float D.var(分数:1.00)A.B.C.D. √解析:4.用于标识长整型常量的前缀或后缀是( )A.无前后缀 B.后缀L或lC.前缀零 D.前缀0x(分数:1.00)A.B. √C.D.解析:[解析] 后缀L或l用于标识长整型常量,前缀零用于标识八进制常量,前缀0x用于标识十六进制常量。
5.对于new类型名[size]描述正确的是( )A.申请可以存储size个字节的空间B.申请可以存储1个该数据类型的空间C.申请可以存储size个该数据类型对象的空间D.申请可以存储1个字节的空间(分数:1.00)A.B.C. √D.解析:6.使用下列哪个流格式控制符可以设置转换基数为十六进制( )A.dec B.octC.hex D.endl(分数:1.00)A.B.C. √D.解析:[解析] dec:设置转换基数为十进制;oct:设置转换基数为八进制;hex:设置转换基数为十六进制;endl:输出一个换行符并刷新流。
7.构造函数用于( )A.定义对象 B.初始化对象C.清除对象 D.普通计算(分数:1.00)A.B. √C.D.解析:8.设函数void swap(int,int)将交换两形参数值,如有两整型变量int a=10;int b=15;则执行swap(a,b);之后,a,b值分别为( )A.15,10 B.15,15C.10,15 D.10,10(分数:1.00)A.B.C. √D.解析:[解析] 函数void swap(int,int)使用对象作为函数参数,即将实参对象的值传递给形参对象,这种传递是单向的。
全国2011年10月高等教育自学考试微型计算机原理及应用试题课程代码:02277一、单项选择题(本大题共20小题,每小题1分,共20分)在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在题后的括号内。
错选、多选或未选均无分。
1.某微机系统的内存最大容量为16MB,其地址总线为()A.16位B.20位C.24位D.32位2.在用汉字字模码建成的汉字库中,一个16×16点阵的汉字要占用()A.16个字节B.32个字节C.72个字节D.256个字节3.下列标志位中,不属于...状态标志位的是()A.AFB.IFC.PFD.SF4.某存储单元的段基址是1000H,段内偏移量是2000H,该存储单元的物理地址是()A.2000HB.3000HC.12000HD.21000H5.8086微处理器的可屏蔽中断请求信号来自于()A.CLK引脚B.GND引脚C.INTR引脚D.NMI引脚6.下列输入指令中,正确的是()A.IN AL,DXB.IN AL,256C.IN DX,AXD.IN AX,2567.设AL=87H,执行指令SUB AL,65H后,标志位()A.AF=1B.CF=1C.OF=1D.ZF=18.使用“OFFSET变量”可以得到已定义的变量的()A.段属性B.类型属性C.长度属性D.偏移地址属性9.下列关于片选的说法中,错误..的是()A.通常采用74LS138作为地址译码器B.全译码法存在地址重叠问题C.部分译码法存在地址重叠问题D.线选法存在地址重叠问题10.下列不属于...常说的三总线的是()A.通用串行总线B.地址总线C.数据总线D.控制总线11.8086系统中,下列属于可屏蔽中断的是()A.8259A引起的中断B.断点中断C.除法出错中断D.溢出中断12.下列关于串行通信与并行通信的说法,正确的是()A.并行通信适合于远距离通信B.串行通信比并行通信适合于远距离通信C.并行数据是按位传输D.并行通信有同步通信与异步通信两种13.下列芯片中,不属于...接口芯片的是()A.2732B.8251C.8255D.ADC0809l4.下列关于AGP的说法,错误..的是()A.AGP的地址线和数据线分离B.AGP可实现“流水线”处理C.AGP是对PCI总线在某些应用中性能不足的补充D.AGP2.0的有效频宽是传统PCI的16倍15.在浮点表示法中,决定浮点数的表示精度的是()A.阶符B.阶码C.尾符D.尾数16.设AX=8765H,DX=4321H,执行CWD指令后,DX中的内容是()A.0001HB.4321HC.8000HD.0FFFFH17.设AL=98H,执行SAR AL,1后,AL中的内容是()A.30HB.4CHC.98HD.0CCH18.为了使字符串指令执行时,SI、DI自动增量,应先使用的指令是()A.CLCB.STCC.CLDD.STD19.设有数据定义语句为:ORG 0024HARRAY DW 4,12H,$+4,100H执行指令MOV AX,ARRAY+4后,AX中的内容是()A.0012HB.0028HC.002CHD.0100H20.下列关于程序控制传送方式的说法,错误..的是()A.中断传送方式不能实现几个外设并行工作B.查询传送方式又称“异步传送方式”C.无条件传送方式又称“同步传送方式”D.中断方式数据传送完成后,程序会回到断点处继续执行二、多项选择题(本大题共5小题,每小题2分,共10分)在每小题列出的五个备选项中至少有两个是符合题目要求的,请将其代码填写在题后的括号内。
2011年(春)VB考前押题第一部分:计算机基础知识1、下列有关集成电路的叙述错误的是____。
A.中小规模集成电路一般以功能部件和子系统为集成对象B.现代集成电路使用的半导体材料主要是硅C.集成电路技术发展很快,预计到2014年可以达到线宽0.014μm的工艺水平D.集成电路的规模是根据其所包含的电子元件数目进行划分的2、若计算机内存中连续2个字节的内容其十六进制形式是34和51,则它们可能的有_____个。
①2个西文字符的ASCII码②1个汉字的机内码③2个汉字的内码④1个16位整数⑤图像中一个或两个像素的编码⑥1个西文字符的ASCII码A.2B.3C.4D.53、下列有关通信技术的叙述错误的是____。
A.电视节目的传输目前有一部分已采用数字传输技术B.用户使用MODEM通过电话线上网时,采用的是数字调制技术C.数字信号不经过调制就在信道上直接进行传输,称为“基带传输”D.模拟调制的方法有3种,即调频,调幅和调波4、在下列汉字标准码中,是我国台湾地区计算机系统中广泛使用的一种汉字编码符集。
A. GBKB. BIG 5C.UCSD.CJK5、随着计算机应用的日益广泛和深入,计算机安全问题越来越重要。
下列有关计算机安全的叙述错误的是。
A.计算机的安全性和可靠性是同一个概念的不同层次问题,其中安全性是基础B.计算机的安全措施不仅应包含管理和技术层面,还应包含法规和道德层面C.软件安全的核心是操作系统,目前的黑客和病毒大多利用操作系统的缺陷或漏洞实施攻击D.在美国安全局公布的“可信计算机系统评估标准”中,安全等级最低的为D级6、存放一幅1024×768像素的未经过压缩的真彩色图像,大约需要的存储空间是。
A.1024×768×24字节B.1024×768×3字节C.1024×768×2字节D.1024×768×12字节7、对带宽为300 ~ 3400Hz的语音,若采样频率为8kHz、量化位数为8位且为立体声道,则未压缩时的码率约为。
一、单项选择题(本大题共20小题,每小题1分,共20分)在每小题列出的四个备选项中只有一个是符合题目要求的,请将其代码填写在题后的括号内。
错选、多选或未选均无分。
1. 编写C++程序一般需经过的几个步骤依次是()A. 编辑、调试、编译、连接B. 编辑、编译、连接、运行C. 编译、调试、编辑、连接D. 编译、编辑、连接、运行答案:B解析:经过编辑、编译、连接和运行四个步骤。
编辑是将C++源程序输入计算机的过程,保存文件名为cpp。
编译是使用系统提供的编译器将源程序cpp生成机器语言的过程,目标文件为obj,由于没有得到系统分配的绝对地址,还不能直接运行。
连接是将目标文件obj转换为可执行程序的过程,结果为exe。
运行是执行exe,在屏幕上显示结果的过程。
2. 决定C++语言中函数的返回值类型的是()A. return语句中的表达式类型B. 调用该函数时系统随机产生的类型C. 调用该函数时的主调用函数类型D. 在定义该函数时所指定的数据类型答案:D解析:函数的返回值类型由定义函数时的指定的数据类型决定的。
A项的表达式的值要转换成函数的定义时的返回类型。
3. 下面叙述不正确的是()A. 派生类一般都用公有派生B. 对基类成员的访问必须是无二义性的C. 赋值兼容规则也适用于多重继承的组合D. 基类的公有成员在派生类中仍然是公有的答案:D解析:继承方式有三种:公有、私有和保护。
多继承中,多个基类具有同名成员,在它们的子类中访问这些成员,就产生了二义性,但进行访问时,不能存在二义性。
赋值兼容规则是指派生类对象可以当作基类对象使用,只要存在继承关系,所以单继承或多继承都适用。
基类中的公有成员采用私有继承时,在派生类中变成了私有成员,所以D项错误。
4. 所谓数据封装就是将一组数据和与这组数据有关操作组装在一起,形成一个实体,这实体也就是()A. 类B. 对象C. 函数体D. 数据块答案:A解析:类即数据和操作的组合体,数据是类的静态特征,操作是类具有的动作。
QUESTION NO: 1Which three modules are optional components that can be added from the vCenter Server installer? (Choose three.)A. VMware vCenter ESXi Dump CollectorB. VMware vCenter Storage MonitoringC. VMware vSphere Web ClientD. VMware vCenter OrchestratorE. VMware vSphere Update ManagerAnswer: A,C,EQUESTION NO: 2What do changes made to resources available in a parent pool affect in a resource pool hierarchy?A. Child poolsB. Sibling poolsC. Sibling and child poolsD. Root resource poolsAnswer: CQUESTION NO: 3What are two benefits of virtual compatibility mode for RDMs, as compared to physical compatibility mode? (Choose two)A. Allows the use of SAN-aware applicationsB. Allows for cloningC. Allows for the use of array-based snapshotsD. Allows for template creation of the related virtual machineAnswer: B,DQUESTION NO: 4An existing vSphere environment will be upgraded to vSphere 5. The current implementation utilizes ESX 4.1 and the new implementations will ESXi 5.x.In which two ways will the new ESXi 5.x implementation differ from ESX 4.1 implementation? (Choose two)A. VMware ESXi 5.x does not provide a host-based firewall.B. VMware ESXi 5.x can boot from additional sources, such as a USB drive.C. VMware ESXi 5.x does not provide local command-line management capabilities.D. VMware ESXi 5.x can support virtual machine which larger resource configurations. Answer: B,DQUESTION NO: 5Click the exhibit button.Based on the exhibit, what is the reason that none of the paths are marked as preferred?A. A preferred path has been selected, but the Refresh button must be pressed to reflect the change.B. A preferred path cannot be selected.C. A preferred path has not been chosen.D. A preferred path has not been chosen because insufficient Active paths exist Answer: AQUESTION NO: 6Which resource management technique can be used to relieve a network bottleneck by a virtual machine with occasional high outbound network activity?A. Apply traffic shaping to the port group that contains the virtual machine.B. Convert traffic shaping from a nNetwork Standard Switch to a vNetwork Distributed Switch.C. Apply traffic to the other virtual machines in the same port group.D. Apply traffic to the virtual machine with high activity.Answer: AQUESTION NO: 7VMware vCenter Site Recovery Manager requires which two VMware products as part of the solution?A. vSphere HAB. VMware ESXiC. VMware vCenter ServerD. VMware Data RecoveryAnswer: B,CQUESTION NO: 8Which tool defines the Image Profiles used with Auto Deploy?A. The vSphere Client via the Image Profiles management plug-inB. The vSphere Power CLI image builder cmdletC. The vSphere CLI esxcfg-image utilityD. The vSphere CLI esxcli image add commandAnswer: BQUESTION NO: 9Under which two situations does the dead space reclamation feature VAAI Thin Provisioning offer the ability to reclaim blocks of a thin provisional LUN on a array? (Choose two)A. When a virtual machine is migrated to a different datastore.B. When a guest OS files in a virtual disk are deleted.C. When a virtual machine is migrated to a different host.D. When a virtual disk is deleted.Answer: A,DQUESTION NO: 10An administrator receives a complaint that a virtual machine is performing poorly. The user attributes the issue to poor storage performance.IF the storage array is the bottleneck, which two counters would be higher than normal? (Choose two)A. Average device latency per command, in milliseconds (DAVG per cmd)B. Average ESXi VMKernel latency per command, in milliseconds (KAVG per cmd)C. Average virtual machine operating system latency per command, in milliseconds (GAVG per cmd)D. Number of SCSI reservation conflicts per second (CONS per second)Answer: A,DQUESTION NO: 11A user attempts a remote SSH connection to a newly installed ESXi 5.x host to execute some commands. The SSH connection attempts fails, through the user is able to receive a ICMP ping back from the host.Which two connections might cause the issue? (Choose two)A. The shell timeout is set too low.B. The ParentRootLogin option is set to False.C. The SSH service is disabled on the host by default.D. The ESXi firewall blocks the SSH protocol by default.Answer: A,CQUESTION NO: 12An administrator has deployed vCentre Data Recovery and needs to create ade-duplication. Which three storage options can be used? (Choose three)A. 1TB Raw Device Mapped diskB. 1TB virtual diskC. 1TB CIFS network shareD. 500GB CIFS network shareE. 2TB Raw Device Mapped diskAnswer: A,B,DQUESTION NO: 13A datastore administrator has requested that a virtual disk attached to a virtual machine running an I/O intensive database application be fully provisioned. The virtual disk was initially thin provisioned. Which two methods would accomplish this task? (Choose two)A. Use Storage vMotion and change the disk type to Flat.B. Use the Inflate option in the Datastore Browser.C. Use the Inflate option in the Datastore Properties.D. Use Storage vMotion and change the disk type to Thick.Answer: B,DQUESTION NO: 14An administrator has purchased a new 10GB Converged Network Adapter (CNA) for installation in system that is running ESXi 5.x. the administrator has downloaded the latest driver from the hardware vendor and wants to include the driver in an image. The image profile acceptance level is set to VMwareSupported.Which acceptance level could the driver have and still be included in the image? (Choose two)A. PartnerSupportedB. VMwareAcceptedC. CommunitySupportedD. VMwareCertifiedAnswer: B,CQUESTION NO: 15Where the VMware vSphere Storage Appliance Manager (VSA Manager) must be installed in a vSphere 5 environment?A. On a standalone Windows machine.B. The VSA manager is installed as a separate virtual appliance.C. On the vCentre Server system.D. On the VMware vSphere Storage Appliance.Answer: CQUESTION NO: 16Which two conditions must exist on all hosts in the cluster if Enhanced vMotion Compatibility (EVC) is used? (Choose two)A. The hosts must all run the same vSphere version.B. The hosts must have the NX/XD feature enabled m BIOS.C. The hosts must all belong to the same CPU family.D. The hosts must all be part of the same DRS Group.Answer: C,DVCP-510 VMware Certified Professional on vSphere 5本人出售IT认证考试题库需要的联系QQ一六三四五三三零七六QUESTION NO: 17A new LUN has been presented to two ESXi hosts: ESXiA and ESXiB. The LUN can be seen from both servers. A vSphere Client attached to ESXiB is used to create a VMFS datastore on the LUN. The new datastore is visible on ESXiB but not on ESXiA.Which step must be taken to make the datastore visible to ESXiA?A. Perform a rescan operation on ESXiB.B. Reboot ESXiA.C. Perform a rescan operation on ESXiAD. Modify LUN masking settings on the storage array.Answer: CQUESTION NO: 18Click the Exhibit button.Based on the exhibit, what is the appropriate action to disable a path?A. Paths cannot be disabled in this interface.B. Right-click the path you want to disable and then select DisableC. Click, the path you want to disable then press DeleteD. Double-click the new path you wish to make active. The existing path will be disabled Answer: BQUESTION NO: 19An administrator is installing a vCenter Server instance to manage 10 ESXi hosts and 100 machines.Approximately how much additional datastore capacity is required to increase the statistics collection level to maximum for all collection periods, compared to a standard installation?A. 6GBB. 9GBC. 3GBD. 1GBAnswer: BQUESTION NO: 20To uplink a Hardware FCoE Adapter, what, configuration step must be performed?A. Create a vSphere Distributed Switch and add the FCoE Adapter as an uplink.B. Enable the FCoE service and select the newly installed adapter.C. Create a vSphere Standard Switch and add the FCoE Adapter as an uplink.D. No configuration is I equaled. The adapter will appear to the host as a Fibre Channel Adapter.Answer: CQUESTION NO: 21An administrator is attempting to deploy a virtual machine from an existing template, but deploy Virtual Machine from this template menu option is unavailable.What are two reasons this issue would occur? (Choose two)A. The template has not been stored in the proper formatB. The vSphere Client is connected to an ESXi hostC. The template is listed as OrphanedD. The administrator is using the vSphere Web ClientAnswer: A,BQUESTION NO: 22Click the Exhibit Button.The information shown in the exhibit must be configured to support which cluster feature?A. HAB. DPMC. DRSD. EVCAnswer: BQUESTION NO: 23What are two ways to enable remote tech support mode (SSH) on an ESXi 5.x host? (Choose two)A. Through the Security Profile pane of the Configuration tab m the vSphere ClientB. Through the Direct Console User Interface (DCUI)C. Through the Advanced Settings pane of the Configuration tab in the vSphere ClientD. Through the Networking pane of the Configuration tab in the vSphere ClientAnswer: A,BQUESTION NO: 24An administrator is performing maintenance on a storage array used by a DRS cluster. The administrator wants to disable alarm actions for the cluster while the maintenance is taking place.What procedure will accomplish this task?A. Go to the alarms tab for each ESXi host in the DRS cluster. Locate storage-related alarms. Right click and disable each alarmB. Right-click the DRS cluster and select Alarm and Disable Alarm ActionsC. Right-click the datacenter containing the DRS cluster. Select Alarm Disable Alarm ActionsD. Go to the alarms tab for the datacenter containing DRS cluster. Locate the storage-related alarms. Right-click and disable each alarmAnswer: BQUESTION NO: 25Which two features secure the VMkernel? (Choose two)A. Memory hardeningB. Binary translationC. Kernel module integrityD. Service console firewallAnswer: A,CVCP-510 VMware Certified Professional on vSphere 5本人出售IT认证考试题库需要的联系QQ一六三四五三三零七六QUESTION NO: 26A company runs several instances of an application that requires large amounts of memory.Which three metrics are checked to diagnose a memory bottleneck at the ESXi host level? (Choose three)A. MEMSZB. MEMCTLC. SWAPD. ZIPE. MCILTGTAnswer: A,B,CQUESTION NO: 27An administrator has been tasked with creating a vSphere Standard Switch (vSS) for an ESXi host with the following specifications:1. 116 virtual machines will be connected to the switch,2. The switch wall have four uplinks configured for port-based load balancing.3. The switch will act as a secondary heartbeat network for HA.Which two statements are true about this configuration? (Choose two)A. The configuration requires a Service Console PortB. The configuration requires a VMkernel PortC. A vSS created with default settings in the vSphere Client is insufficient for this configurationD. A vSS created with 128 ports using the vSphere CLI is sufficient for this configuration Answer: B,CQUESTION NO: 28A network administrator has discovered a failure that has affected accessibility to the management network As a result, none clusters are able to communicate on this network. The cluster was configured with default settings.What happens as a result of the failure?A. The VMs will be powered off on slave hosts in the cluster.B. All VMs on all hosts in the cluster are unaffected.C. The VMs will be powered off on slave hosts that cannot communicate with the master on the affected network.D. The VMs will be powered down on all hosts in the clusterAnswer: AQUESTION NO: 29Click the Exhibit button.Assuming that this is the only virtual machine and the only resource pool, what is the maximum amount of memory that can be configured for use by the virtual machine that is part of the finance resource pool?A. 16,384 MB, less virtual machine overheadB. 57 MB less virtual machine overheadC. 3,009 MB, less virtual machine overheadD. 1 3,375 MB, less virtual machine overheadAnswer: AQUESTION NO: 30What is the traffic shaping adjustment?A. Minimum bandwidth adjusted in kbpsB. Peak bandwidth adjusted in MbpsC. Burst time in secondsD. Burst size in KBAnswer: AQUESTION NO: 31An administrator would like to have vCentre take action any time a virtual machine is using over 90% of its available resources for five minutes or longer.Which three actions can be taken by vCenter Server in response to the trigger withoutrunning a script? (Choose three)A. Increase Virtual Machine MemoryB. Reboot Guest on VMC. Send notification trap (SKMP)D. Increase Virtual Machine CPU SharesE. Send notification email (SMTP)Answer: B,C,EQUESTION NO: 32Click the exhibit button.ACME Logging Inc. has been using the vSphere Web Client template to five-node vSphere 5 cluster. After deploying a new template, the resulting virtual machine is not able to connect the deployment network to which it was assigned. When deploying another template, the message in the exhibit is shown.Based on the information, what is the likely problem?A. Host esxi2 does not have > network uplink attached to the Production vSwitch.B. Host esxi2 does not have the Production network created to bind to.C. DRS must be enabled if you are deploying templates into a cluster.D. A vDS must be configured it you are deploying templates into a cluster.Answer: BVCP-510 VMware Certified Professional on vSphere 5本人出售IT认证考试题库需要的联系QQ一六三四五三三零七六QUESTION NO: 33Which two settings are required by the deployment wizard when installing the VMware vCenter Server Appliance? (Choose two)A. Disk formatB. Amount of RAMC. Cluster and/or HostD. Size of me JVM HeapAnswer: A,BQUESTION NO: 34Which predefined vCenter Server role can perform tasks on ESXi host objects?A. Datastore ConsumerB. Datacenter AdministratorC. Resource Pool AdministratorD. AdministratorAnswer: DQUESTION NO: 35An administrator is troubleshooting an ESXi 5.x host and needs to export diagnostic information. The host is currently managed by a vCenter Server instance.Which two ways can the information be gathered using the vSphere Client? (Choose two) A. In the vSphere Client, select the affected ESXi host. Right-click the host and select export Diagnostic data. Select a location the location and click OK.B. Select Home, Under Administration, click System Logs and click the export systemLogs button. Select the effected ESXi host. Select ‘Select All’. Select a location and click Finish.C. Select Home, Under Administration, click System Logs and select the affected ESXI host. Right-click the host and select Export Diagnostic Data. Select a location and click OK.D. In the vSphere Client, select the affected ESXi host. Select File, Export and Export System Logs. Select a location and click Finish.Answer: B,DQUESTION NO: 36An administrator is configuring admission control settings for a vSphere HA cluster. The administrator selects the option Allow VMs to Be proved on even They Violate Availability ConstraintsWhich two events occur during an ESXi host failure? (Choose two)A. Only virtual machines with a high restart priority are restarted on surviving ESXi hosts.B. vSphere HA cannot guarantee that all virtual machines from a failed host will be restarted.C. vSphere HA restarts virtual machines on surviving ESXi hosts with the most unreserved capacity.D. Virtual machines can be powered on until the percentage of cluster resources reaches25 percent.Answer: A,BQUESTION NO: 37Click the Exhibit button.ACME Catering Services is using esx top to troubleshoot a problem with one of their ESXi hosts Host disconnection from vCenter server as well as sluggish perform when performing tasks on the host have been observed.Based on the output in tin- exhibit, what three corrective actions can be taken to resolve the issue? (Choose three)A. Increase the CPU Reservation on file server01B. Decrease the number of vCPUs in use on this hostC. Migrate the File Server00 virtual machine to another hostD. Increase the number of Physical CPUs in the hostE. Increase the amount of RAM in the host because swapping is occurringAnswer: A,C,EQUESTION NO: 38VMware solution pools virtual infrastructure resource in a datacenter and delivers them to users as well as a catalog-based service?A. VMware vCloud DirectorB. VMware vCenter ConfigControlC. VMware vCenter OrchestratorD. VMware vSphere 5Answer: AQUESTION NO: 39Anvil Incorporated has several departments which each have unique resource requirements in their environment:1. The Manufacturing department has three production virtual machines2. The Manufacturing virtual machines need to have priority access to resources.3. The development department has no specific resource requirementsResource Pools will be used to address three requirements.When creating the Manufacturing resource pool, which two settings might be configuredto meet the stated requirements? (Choose two.)A. Set the shares value to High for memory and CPU on the resource poolB. Set a reservation for memory and CPU on the resource poolC. Set affinity or anti-affinity rules to ensure that the Development VMs do not run on the same hosts as Production VMsD. Set a limit for memory and CPU on the resource poolAnswer: A,BQUESTION NO: 40An administrator has deployed a vSphere 5 implementation. Due to security reasons the system state of a virtual machine must be reverted on a regular basis what feature will meet this requirement?A. Create the virtual machine using Independent-Persistent disksB. Create a Scheduled Task using the Delete All Snapshots option according to security requirementsC. Create the virtual machine using Independent-Nonpersistent disksD. Create a Scheduled Task using the Delete Snapshot option to delete the most recent snapshot according to security requirements.Answer: CQUESTION NO: 41A company runs several instances of multi-threaded application that requires virtual machines to be configured with multiple vCPUs.Which metric is checked to determine if CPU contention exists on an ESXi 5.x host?A. %RUNB. %WAITC. %USEDD. %RPVAnswer: BQUESTION NO: 42Which vSwitch port group policy setting allows packets to be created by a virtual machine with different source MAC addresses MAC address?A. Promiscuous modeB. Traffic shapingC. Forged transmitsD. MAC address changesAnswer: CQUESTION NO: 43An administrator is using Update Manager 5.0 to update virtual appliances in a vSphere environment. The environment is using the vCenter Server appliance. The administrator is unable to remediate the vCenter Server appliance.What would cause the remediation to fail?A. Updating of the appliance can only be done if the vCenter Server Appliance has beenB. Remediation must be configured on the Appliance Administration page before useC. Remediation of the vCenter Server Appliance with Update Manager is not supportedD. Remediation of the vCenter Server Appliance must be done from the PowerCLL Answer: BQUESTION NO: 44Which three configuration settings will be migrated when upgrading a host from ESX 4.x Classic to ESXi 5.x? (Choose three)A. The NTP configuration in /etc/atp.confB. The syslog configuration in /etc/syslog.confC. The hostname information in /etc/hostsD. The time zone configuration in /etc/local timeAnswer: A,B,CQUESTION NO: 45What is the size of a virtual machine .vswp file if defaults are accepted for the virtual machine reservations, limits, and shares?A. The virtual machine. vswp file is equal to twice the amount of available memory configured for the virtual machine when it was created.B. The virtual machine. vswp file is equal to the amount of virtual memory (virtual machine available memory, plus virtual machine overhead the virtual machine when it was created.C. The virtual machine. vswp file is equal to zero length when the virtual machine is created and expands as necessaryD. The virtual machine. vswp file is equal to the amount of available memory configured for the virtual machine when it was created.Answer: DQUESTION NO: 46Which three features are only available when using a vNetwork Distributed Virtual Switch? (Choose three)A. NetFlow MonitoringB. 802 3ad Link AggregationC. Network I/O ControlD. Egress Traffic ShapingAnswer: A,C,DQUESTION NO: 47An iSCSI array is being added to a vSphere5 implementation. An administrator wants to verify that all IP storage VMkernel interfaces are configured for jumbo frames.What are two methods to verify the configuration? (Choose two)A. Run the esxcli network IP interface list commandB. Run the esxcfg-vswitch -l commandC. View the VMKernel interface properties in the vSphere ClientD. View the Network Adapter properties in the vSphere ClientAnswer: B,CQUESTION NO: 48Click the exhibit button.An administrator has deployed a new virtual machine on an ESXi host. Users are complaining of poor performance on the virtual machine performance tool display the result shown in the exhibit.Which two might improve the user experience? (Choose two)A. Add a vCPU to the virtual machineB. Remove CPU affinity on the advanced CPU setting of the virtual machineC. Migrate the virtual machine to another ESXi hostD. Remove the limit on the CPU settings of the virtual machineAnswer: A,BQUESTION NO: 49Which two statements are about Unplanned Device Loss in a vSphere 5 environment? (Choose two)A. It is condition where an ESXi host determines a device loss has occurred that was not planned.B. Performing a storage rescan restores access to determine why device loss occurred.C. It is a condition where an ESXi host is unable to determine why device loss occurred.D. Performing a storage rescan removes the persistent information related to the device. Answer: A,DQUESTION NO: 50An administrator is creating a virtual machine that will be running "Windows 2008 Enterprise (64-bit). The application to installed in the virtual machine requires eight vCPUs to run effectively. During installation, the only available options are one, two, three, or four vCPUs.What condition explains the available vCPU selections?A. The virtual machine hardware version is 8.B. The guest operating system for the virtual machine is 64-bitC. The ES3G host has two AMD dual-core CPUsD. The ESXi host has two Intel dual-core CPUsAnswer: BQUESTION NO: 51What are two valid default upgrade baselines included with vSphere Update Manager? (Choose two)A. VMFS Upgrade to Match HostB. VMware Tools Upgrade to Match HostC. VA Upgrade to LatestD. Host Upgrade to LatestAnswer: B,CQUESTION NO: 52What is the most appropriate way to test a virtual machine enabled for VMware Fault Tolerance?A. Cause a failure on the ESXi host running the primary virtual machineB. Cause a failure on an application within the primary virtual machineC. Disable network connectivity to the primary virtual machineD. Cause a failure on the primary virtual machineAnswer: DQUESTION NO: 53What are two network load-balancing policies for a vNetwork Distributed Switch? (Choose two)A. Route based on source destination MAC hashB. Route using Round RobinC. Route based on the originating virtual port IDD. Route based on IP hashAnswer: C,DQUESTION NO: 54An administrator is considering deploying a new storage array for a vSphere 5 implementation. If the array supports the vStorage APIs for array integration (VAAI), which two tasks can be performed directly by the array? (Choose two.)A. creating VMFS datastoresB. cloning virtual machines and templatesC. migrating virtual machines using Storage vMotionD. creating NFS datastoresAnswer: A,DQUESTION NO: 55Which two iSCSI adapters require one or more VMkernel ports? (Choose two.)A. Independent Hardware iSCSI AdapterB. Software iSCSI AdapterC. Adaptive Software iSCSI AdapterD. Dependent Hardware iSCSI AdapterAnswer: B,DQUESTION NO: 56An administrator receives a call indicating users reported extremely slow access to virtual machines the previous evening. Access to virtual machines performs as expected as checked by the administrator. Over the course of several days, the administrator continues to receive calls about the issue, which appears to occur at intermittent times each evening.Which step can be taken to collect information about the issue?A. Create a condition alarm to alert when Datastore Disk Usage (*) exceeds 70%B. Collect resxtop performance data in batch mode and analyze total number of I/O operations (CMDS/s) metricsC. Create an event alarm to alert when a storage device is disconnectedD. Collect resxtop performance data in batch mode and analyze average device latency (DAVG/cm-d) metrics.Answer: DQUESTION NO: 57An administrator wishes to send traffic from a vNetwork Distributed Switch to a collector virtual machine for analysis. vSphere 5 has been deployed in the datacenter.Which two configurations will enable the functionality? (Choose two)A. The source and target virtual machines must be on the same vNetwork Switch.B. The source and target virtual machines must both be on a vNetwork Switch, but can be on any vDS in the datacenter.C. The port group on the distributed port must have Promiscuous Mode enabled.D. The port group on distributed port must have NetFlow enabled.Answer: B,DQUESTION NO: 58Click the exhibit button:An administrator is configuring vMotion in their environment. As a part of the implementation, an administrator is examining resource mapping for virtual machines. What is a likely cause of the error shown in the exhibit?A. vMotion has been disabled because the Production network does not exist on both ESXi host.B. vMotion has not been enabled on the Production port group.C. vMotion has not been enabled on a VMkernel port group.D. vMotion has been disabled because datastored is not presented to both ESXi hosts. Answer: AQUESTION NO: 59An administrator has recently upgraded their Update manager infrastructure to vSphere 5. Several hosts and virtual machines have not been upgraded yet.Which vSphere object cannot be upgraded by Update Manager when running against a legacy host?A. Virtual Machine HardwareB. ESX HostC. ESX PatchesD. VMware ToolsAnswer: AQUESTION NO: 60In the vSphere Client, the Resource Allocation tab for virtual machines displays host memory and guest memory. Which two statements best describe these terms? (Choose two.)A. Guest memory is the amount of physical memory that has been allocated to a virtual machineB. Host memory is the amount of physical memory that has been allocated to a virtual machine.C. Guest memory is the memory usage of a virtual machine.。