相关试题
【判断题】
同一个列表对象中的元素类型可以各不相同。
【判断题】
同一个列表对象中所有元素必须为相同类型。
【判断题】
已知x为非空列表,那么执行语句x[0] = 3之后,列表对象x的内存地址不变。
【判断题】
标准库os的rename()方法可以实现文件移动操作。
【判断题】
标准库os的listdir()方法默认只能列出指定文件夹中当前层级的文件和文件夹列表,而不能列出其子文件夹中的文件。
【判断题】
当作为条件表达式时,[]与None等价。
【判断题】
表达式 [] == None 的值为True。
【判断题】
当作为条件表达式时,{}与None等价。
【判断题】
表达式 {}==None 的值为True。
【判断题】
表达式 pow(3,2) == 3**2 的值为True。
【判断题】
当作为条件表达式时,空值、空字符串、空列表、空元组、空字典、空集合、空迭代对象以及任意形式的数字0都等价于False。
【判断题】
在定义函数时,某个参数名字前面带有一个*符号表示可变长度参数,可以接收任意多个普通实参并存放于一个元组之中。
【判断题】
在定义函数时,某个参数名字前面带有两个*符号表示可变长度参数,可以接收任意多个关键参数并将其存放于一个字典之中。
【判断题】
定义函数时,带有默认值的参数必须出现在参数列表的最右端,任何一个带有默认值的参数右边不允许出现没有默认值的参数。
【判断题】
在调用函数时,可以通过关键参数的形式进行传值,从而避免必须记住函数形参顺序的麻烦。
【判断题】
在调用函数时,必须牢记函数形参顺序才能正确传值。
【判断题】
调用函数时传递的实参个数必须与函数形参个数相等才行。
【判断题】
正则表达式对象的match()方法可以在字符串的指定位置开始进行指定模式的匹配。
【判断题】
使用正则表达式对字符串进行分割时,可以指定多个分隔符,而字符串对象的split()方法无法做到这一点。
【判断题】
在编写函数时,建议首先对形参进行类型检查和数值范围检查之后再编写功能代码,或者使用异常处理结构,尽量避免代码抛出异常而导致程序崩溃。
【判断题】
执行语句 from math import sin 之后,可以直接使用 sin() 函数,例如 sin(3)。
【判断题】
列表对象的pop()方法默认删除并返回最后一个元素,如果列表已空则抛出异常。
【判断题】
在Python中定义类时,如果某个成员名称前有2个下划线则表示是私有成员。
【判断题】
在类定义的外部没有任何办法可以访问对象的私有成员。
【判断题】
可以使用py2exe或pyinstaller等扩展库把Python源程序打包成为exe文件,从而脱离Python环境在Windows平台上运行。
【判断题】
Python程序只能在安装了Python环境的计算机上以源代码形式运行。
【判断题】
不同版本的Python不能安装到同一台计算机上。
【判断题】
表达式 {1, 2} * 2 的值为 {1, 2, 1, 2}。
【判断题】
Python变量名区分大小写,所以student和Student不是同一个变量。
【判断题】
正则表达式元字符“^”一般用来表示从字符串开始处进行匹配,用在一对方括号中的时候则表示反向匹配,不匹配方括号中的字符。
【判断题】
正则表达式元字符“\s”用来匹配任意空白字符。
【判断题】
正则表达式 元字符“\d”用来匹配任意数字字符。
推荐试题
【多选题】
A physical Windows 2008 R2 Server is converted to a virtual machine using VMware vCenter Converter. Upon completion of the conversion and subsequent power on operation, the virtual machine fails to boot and the message below is observed in the Console of the virtual machine: <STOP 0x0000007B INACCESSIBLE_BOOT_DEVICE>. Which two potential issues may be causing this boot failure? (Choose two.)___
A. An incorrect SCSI controller was selected during conversion.
B. Incompatible software drivers were migrated into the virtual machine from the source machine.
C. The vmdk file backing the virtual machine was thick provisioned.
D. A snapshot was taken immediately after the conversion completed.
【多选题】
An administrator is configuring the Failover Order option on a vSphere Distributed Switch. Which two options should be used with IP-hash load balancing? (Choose two.)___
A. Active Uplinks
B. Standby Uplinks
C. Unused Uplinks
D. Override Failover Order
【多选题】
An administrator is configuring the Maximum Transmission Unit value on a vSphere Distributed Switch. Which two options are typical values for ESXi networking? (Choose two.)___
A. 1492
B. 1500
C. 9000
D. 9089
【多选题】
Which two configurable options apply to both virtual machine CPU and memory allocation? (Choose two.)___
A. Reservation
B. Shares
C. Resource Pool
D. Reserve All
【多选题】
When attempting to power on a Virtual Machine you observe the following error: <Cannot open the disk '/vmfs/volumes/volume/vm/vm-000002.vmdk' or one of the snapshot disks it depends on.> Which three actions will be the best solutions to address this problem? (Choose three.)___
A. Verify that the virtual machine's disk files are present.
B. Investigate the host and virtual machine log files.
C. Verify the vmdk descriptor files and if required, recreate them.
D. Delete the disk file preventing the power on operation.
E. Migrate or register the virtual machine to a different host.
【多选题】
An administrator has been tasked with enabling High Availability ___ on a cluster in a vSphere 6.x environment with default settings. The cluster configures properly and there are no errors. The next day when powering on a virtual machine, an error is presented: <Not Enough Failover Resources>. Which three scenarios are likely causes of this error message? (Choose three.)(CDE)
A. The default VM Monitoring Sensitivity is set too high.
B. There are not enough datastore heartbeat datastores configured by default.
C. The default slot size in the cluster is set too high.
D. There are virtual machines with large CPU reservations.
E. A host is in maintenance mode for a replacement of a failed Hard Drive.
【多选题】
vMotion can be performed between which three physical boundaries? (Choose three.)___
A. Between two vCenter Server Systems
B. Between two vSphere Distributed Virtual Switches
C. Between two vCenter Server Datacenter objects
D. Between two VMware NSX Layer 4 segments
E. Between two NFS datastores
【多选题】
An administrator configures vSphere Replication for a virtual machine and enables multiple point in time (PIT) instances under the recovery settings in the Configure Replication wizard. Which two statements are correct for vSphere Replication with multiple point in time instances enabled? (Choose two.)___
A. vSphere Replication retains a number of snapshot instances of the virtual machine on the target site based on the retention policy that you specify.
B. vSphere Replication uses the virtual machine's snapshot instances to define the target site Point in Time instance based on the retention policy that you specify.
C. vSphere Replication does not support virtual machines with snapshots.
D. vSphere Replication supports virtual machines with snapshots.
【多选题】
An administrator is virtualizing a physical application server and adding it to an existing multi-tiered vApp. The application license is currently tied to the physical NIC's MAC address, so the administrator needs to ensure the license will function properly in the virtual machine. Which two actions can the administrator take to satisfy this task? (Choose two.)___
A. Set the MAC address for the vNIC in the guest operating system.
B. Install the physical server's NIC into the ESXi host.
C. Configure the MAC address for the vNIC using the vSphere Web Client.
D. Assign the physical server NIC's MAC address in the vSphere Distributed Switch.
【多选题】
Which two Fibre Channel zoning options are supported with vSphere 6.x? (Choose two.)___
A. Single-Initiator
B. Single-Initiator-Single-Target
C. Multiple-Initiators-Single-Target
D. Multiple-Initiators-Multiple-Targets
【多选题】
An administrator is attempting to remove an ESXi 6.x host from a vSphere Distributed Switch (vDS). When the administrator attempts to remove the host, the following error is observed: <The resource '16' is still in use.> What three steps are needed to successfully remove the host from the switch? (Choose three.)___
A. Select Manage Ports on the vDS for the host.
B. Locate all ports currently in use on the vDS for the host.
C. Migrate or delete any vmkernel or virtual machine adapters associated with the switch.
D. Remove all network cards from the switch before trying to remove the host.
E. Create a standard switch for everything to be automatically be migrated to.
【多选题】
Which two Virtual SAN related actions might start resynchronization of virtual machine objects? (Choose two.)___
A. Editing a virtual machine storage policy to increase the number of replicas.
B. Editing a virtual machine storage policy to reduce the number of replicas.
C. Editing a virtual machine storage policy to increase the number of disk stripes.
D. Editing a virtual machine storage policy to reduce the number of disk stripes.
【多选题】
An administrator is troubleshooting basic network connectivity issues. Which two scenarios are potential issues that this administrator might face? (Choose two.)___
A. The vSwitch is not attached to the correct physical network.
B. The portgroup is not configured to use correct VLAN.
C. Traffic shaping is configured incorrectly.
D. Jumbo frames is configured incorrectly.
【多选题】
Which three items should be validated prior to installing ESXi 6.x? (Choose three.)___
A. Remote Storage has been disconnected.
B. Installation media is available.
C. Server hardware clock is set to UTC.
D. Storage has been partitioned with a VMFS volume.
E. Network cards have been setup to use Jumbo
F. rames.
【多选题】
An administrator is performing an interactive installation of ESXi 6.x. Which three options are available for installation? (Choose three.)___
A. DVD
B. USB
C. PXE
D. Scripted
E. Auto Deploy
【多选题】
After installation of a host in your test environment, you need to move it to production. The only major change that needs to be made is that the hostname of the server needs to change. What are two ways that an administrator can change the host name without editing configuration files on the host directly? (Choose two.)___
A. Login to the Direct Console User Interface and change it from here.
B. Edit the Default TCP/IP Configuration from the vSphere Web Client.
C. Use the Ruby vSphere Client to send a script to the ESXi host that updates the hostname.
D. Update the information in DNS and the
E. SXi host will automatically update with these changes.
【多选题】
An administrator has unsuccessfully attempted several times to install an Operating System inside a virtual machine. The administrator finds that the installation fails at random intervals. Which two actions can be taken to resolve this issue? (Choose two.)___
A. Verify the md5sum and if invalid, download the installation files again.
B. Attempt the installation an additional time.
C. Attempt to use a different installation media or installation method.
D. Create a new virtual machine and attempt the installation with the existing media.
【多选题】
VMware tools is failing to install on a Microsoft Windows virtual machine. What are two possible situations that would prevent the installation? (Choose two.)___
A. The VMware tools installation media is corrupt.
B. The incorrect Operating System was selected in the virtual machine options.
C. The software prerequisites have not been installed.
D. The prerequisite services have not been started.
【多选题】
As part of a multisite Single Sign-On (SSO) deployment what two steps are required to ensure that a change to one Single Sign-On instance is propagated to the other instances? (Choose two.)___
A. Schedule a Replication Task on the primary instance
B. Select the first instance during the installation of subsequent instances
C. During the installation of each instance choose Linked-Mode
D. Enable Synchronize to Active Directory on each instance
【多选题】
You need to add an object to an existing vApp using the vSphere Web Client. How is this accomplished?___
A. Create an Object Inside the vApp.
B. Add an Object to a vApp.
C. Add an Object to the
D. atastore the vApp is located in.
【多选题】
Which three steps must be taken to use vSphere Update Manager 6.x to upgrade an ESXi 5.5 host to vSphere 6.x? (Choose three.)___
A. Download an ESXi Image.
B. Configure the vSphere Update Manager Download Service.
C. Create a baseline and attach it to the ESXi Host.
D. Scan the vCenter Content Library for the
E. SXi Image.
【多选题】
Which two options would allow a database administrator, with no access to the vSphere infrastructure, to connect to a virtual machine? (Choose two.)___
A. Use the Virtual Machine Remote Console (VMRC).
B. Use Remote Desktop Protocol (RDP) to connect.
C. Ask the vSphere administrator to grant permission to access the console through vCenter Server.
D. Ask the vSphere administrator to grant permission to access with the Horizon View Direct Connect Client.
【多选题】
Which three are architecture components of vRealize Operations? (Choose three.)___
A. Identity Server
B. Administrative Server
C. Analytics Server
D. Database Server
E. Connection Broker
【单选题】
金克拉金克拉撒旦蒂萨里大儿童家爱丽丝打开就撒开绿灯技术的()
A. 手动阀手动阀
B. 撒旦
C. 反对法
D. 第三方
【单选题】
金克拉金克拉撒退热贴开绿灯技术的()
A. 是否
B. 阿斯顿
C. 撒旦
D. 感到反感
【单选题】
而非热舞法国会开绿灯技术的()
A. 撒的
B. 热个股分化
C. 返回
D. 而我认为
【单选题】
十大富豪不给发货返回返回返回()
A. dfdfgd
B. 梵蒂冈梵蒂冈
C. 广泛大概
D. 热
【多选题】
马克思主义哲学所讲的静止是指___
A. 运动的一种特殊形式
B. 绝对不动
C. 排斥运动
D. 事物处于量变状态
E. 事物在特定参考系中未发生位置变动
【多选题】
物质和运动的关系是___
A. 运动是物质的固有属性
B. 物质是运动的承担者
C. 运动是物质的存在方式
D. 运动不一定是物质的运动
E. 物质不一定都在运动
【多选题】
社会的物质性体现在___
A. 劳动是社会产生和存在的决定性因素
B. 在社会中不存在精神的现象和活动
C. 物质资料的产生是社会历史的前提
D. 全部社会生活在本质上是实践的
E. 社会生活中不存在物质关系以外的其他关系
【多选题】
意识的能动作用表现在___
A. 反映客观世界
B. 创造物质世界
C. 通过实践改造客观世界
D. 创造理论体系
E. 为自然界创造秩序
【多选题】
金克拉金克拉撒旦蒂萨里大儿童家爱丽丝打开就撒开绿灯技术的()
A. 手动阀手动阀
B. 撒旦
C. 反对法
D. 第三方
【多选题】
金克拉金克拉撒退热贴开绿灯技术的()
A. 是否
B. 阿斯顿
C. 撒旦
D. 感到反感
【多选题】
而非热舞法国会开绿灯技术的()
A. 撒的
B. 热个股分化
C. 返回
D. 而我认为
【多选题】
十大富豪不给发货返回返回返回()
A. dfdfgd
B. 梵蒂冈梵蒂冈
C. 广泛大概
D. 热
【判断题】
金克拉金克拉撒旦蒂萨里大儿童家爱丽丝打开就撒开绿灯技术的()