Curated

Server Administration 3 (2.4–2.6)

0 votes

Questions58

  1. Question 1

    Server Administration

    An active-passive cluster's production workload requires 16GB of memory at peak, but its dedicated standby has only 8GB. Which change BEST supports full-capacity takeover?

    Show the answer

    Correct answerB. Increase the standby node's memory to 16GB

    AWhy not this: A shorter heartbeat interval affects failure detection, not the standby node's available memory.

    BWhy this is right: Providing 16GB addresses the stated memory requirement when the standby takes over the workload.

    CWhy not this: Additional memory on the active node does not increase the standby node's takeover capacity.

    DWhy not this: Automatic failback controls where workloads run after recovery, not capacity during takeover.

    The passive node needs enough capacity to run the protected workload when it takes over. Increasing the active node's memory does not address the standby node's capacity shortfall.

    Open this question
  2. Question 2

    Server Administration

    Which cluster configuration allows multiple nodes to serve production workloads concurrently?

    Show the answer

    Correct answerC. Active-active

    AWhy not this: Failback returns workloads to their preferred node after recovery.

    BWhy not this: Active-passive clustering reserves a standby node for takeover rather than concurrent production processing.

    CWhy this is right: Active-active clustering uses multiple nodes to process production workloads concurrently.

    DWhy not this: A heartbeat communicates cluster-node health; it is not a workload-processing configuration.

    Active-active clustering allows multiple nodes to serve production workloads concurrently. Active-passive clustering keeps a standby node available to take over workloads rather than sharing their normal processing.

    Open this question
  3. Question 3

    Server Administration

    A clustered application fails while its host continues sending heartbeats and running other clustered applications. The cluster transfers only the failed application's resources to another node; what has occurred?

    Show the answer

    Correct answerC. Application-level failover

    AWhy not this: The host remains operational and its other applications stay in place; the failure is limited to one application.

    BWhy not this: The transfer responds to an application failure, not routine distribution of production work.

    CWhy this is right: Only the failed application's resources move to another node while the original host remains operational.

    DWhy not this: Failback returns resources to a preferred node after recovery rather than moving them because of a new failure.

    Application-level failover transfers the affected application's resources when that application fails, even if its host remains operational. Node-level failover responds to a node failure and affects the resources hosted by that node.

    Open this question
  4. Question 4

    Server Administration

    An administrator must keep a server running if one internal power supply fails, without adding another server. Which upgrade BEST meets this requirement?

    Show the answer

    Correct answerD. A supported redundant power-supply configuration

    AWhy not this: A UPS protects against an upstream power interruption, not failure of the server's internal power supply.

    BWhy not this: A second processor adds processing resources but does not provide an alternate source of internal power.

    CWhy not this: A standby server provides server-level redundancy and violates the restriction against adding another server.

    DWhy this is right: A supported redundant configuration allows the remaining power supply to carry the server's load.

    Redundant power supplies provide component-level protection: the remaining supply can power the server when one fails. A UPS supplies power during an upstream outage but does not replace a failed internal power supply.

    Open this question
  5. Question 5

    Server Administration

    A service runs on one server attached to a single-controller storage array that supports a dual-controller upgrade. Which changes together allow service recovery after a motherboard failure or continued storage access after a controller failure, without replacing the array or restoring backups? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Add a failover server with access to the array.E. Upgrade the array to redundant controllers.

    AWhy this is right: An alternate server with access to the service's storage can take over when the original motherboard fails.

    BWhy not this: A VM still depends on its physical host; the same motherboard failure would stop it.

    CWhy not this: A second network adapter protects a network connection, not the motherboard or array controller.

    DWhy not this: Redundant power supplies protect against a power-supply failure, not a motherboard or storage-controller failure.

    EWhy this is right: Redundant controllers remove the array's single controller as a single point of failure.

    FWhy not this: RAID 6 tolerates disk failures but does not provide an alternate storage controller.

    A failover server provides an alternate host after motherboard failure; redundant array controllers preserve storage access after controller failure. RAID protects against disk failures, not failure of the controller serving those disks.

    Open this question
  6. Question 6

    Server Administration

    A guest OS is unresponsive, but its host's management service remains reachable. Which interfaces can forcibly reset only that virtual machine without interrupting other guests? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. The hypervisor's web management interfaceD. The hypervisor's management API

    AWhy not this: Physical server power controls reset the host, interrupting its other running guests.

    BWhy this is right: The hypervisor's web interface can issue a reset for a selected VM without restarting the host.

    CWhy not this: Remote Desktop depends on the guest OS responding and cannot independently reset its virtual hardware.

    DWhy this is right: The management API can request a VM-level reset without relying on the guest OS.

    EWhy not this: SSH depends on the guest OS responding and does not provide an independent hypervisor-level reset.

    Hypervisor management interfaces can reset an individual VM independently of its guest OS. The physical server's BMC power controls act on the host, potentially interrupting every guest rather than only the affected VM.

    Open this question
  7. Question 7

    Server Administration

    What is the physical server that supplies processing and memory resources to virtual machines called?

    Show the answer

    Correct answerA. Host

    AWhy this is right: The host is the physical system whose resources support the virtual machines.

    BWhy not this: A management console provides administrative access rather than physical computing resources.

    CWhy not this: A virtual appliance is a preconfigured virtual machine designed for a particular function.

    DWhy not this: A guest consumes virtualized resources rather than supplying the underlying physical hardware.

    The host supplies the physical resources used by virtual machines. A guest is a virtualized system that consumes those resources, not the physical server providing them.

    Open this question
  8. Question 8

    Server Administration

    An administrator restarts the operating system inside one virtual machine on a server running several virtual machines. What is the expected effect on the other virtual machines?

    Show the answer

    Correct answerC. They continue running independently.

    AWhy not this: Other guests do not need to pause while a separate guest restarts.

    BWhy not this: A guest restart does not restart the host or its other virtual machines.

    CWhy this is right: Each guest has its own operating system instance, so restarting one normally leaves the others running.

    DWhy not this: Restarting one guest does not shut down the other guests.

    Restarting a guest operating system normally affects only that virtual machine. Restarting the host, rather than an individual guest, can interrupt every virtual machine running on it.

    Open this question
  9. Question 9

    Server Administration

    An MRU load balancer last sent a request to server C, and all servers remain available. A has the fewest connections, B is next in cyclic order, and D has the greatest capacity. Where should the next request go?

    Show the answer

    Correct answerD. Server C

    AWhy not this: The fewest active connections would favor A under least-connections balancing, not MRU.

    BWhy not this: Advancing to B would follow a cyclic assignment policy rather than MRU.

    CWhy not this: Greater capacity can influence weighted balancing, but it does not determine MRU selection.

    DWhy this is right: C is available and was used most recently, so it matches the MRU selection rule.

    Most recently used (MRU) selects the available server used most recently, which is C. Selecting A because it has the fewest connections would apply least-connections balancing instead.

    Open this question
  10. Question 10

    Server Administration

    Four healthy servers receive round-robin assignments in order A, B, C, D; B received the last assignment, but D completed a request most recently. C has the most active connections, and A has the fewest. Which servers receive the next two connections?

    Show the answer

    Correct answerD. C, then D

    AWhy not this: B already received the last assignment; round robin advances rather than assigning B another turn immediately.

    BWhy not this: Starting after the latest completion incorrectly treats completion order as the assignment sequence.

    CWhy not this: Starting with A incorrectly uses its low connection count instead of continuing the rotation after B.

    DWhy this is right: C follows B in the rotation, and D follows C, regardless of their active connection counts.

    Round robin advances through the configured server order, so assignments after B go to C and D. Connection counts and request completion order do not change the rotation; choosing the least busy server would use a different algorithm.

    Open this question
  11. Question 11

    Server Administration

    Which load-balancing implementation runs as an application on a general-purpose server rather than as a dedicated appliance?

    Show the answer

    Correct answerB. Software load balancer

    AWhy not this: Hardware load balancing uses a dedicated appliance.

    BWhy this is right: Software load balancing uses an application running on a general-purpose operating system.

    CWhy not this: NIC failover provides an alternate network interface when an active interface fails.

    DWhy not this: Link aggregation combines network links rather than distributing requests among servers.

    A software load balancer runs as an application on a general-purpose operating system. A hardware load balancer is a dedicated appliance rather than an application installed on an existing server.

    Open this question
  12. Question 12

    Server Administration

    A VM must obtain its address from the physical LAN's DHCP server and appear to LAN clients as a separate host. Which networking mode should the administrator select?

    Show the answer

    Correct answerC. Bridged networking

    AWhy not this: Host-only networking connects the host and VMs without directly joining the physical LAN.

    BWhy not this: Internal-only networking connects VMs without providing a direct connection to the physical LAN.

    CWhy this is right: Bridged networking lets the VM participate on the physical LAN as a separate host.

    DWhy not this: NAT normally gives the VM an address on a private virtual network rather than directly from the physical LAN.

    Bridged networking connects the VM directly to the physical LAN, where it can obtain its own LAN address. NAT networking normally places the VM behind a translation service rather than directly on that LAN.

    Open this question
  13. Question 13

    Server Administration

    Which virtual component appears to a guest operating system as a network adapter?

    Show the answer

    Correct answerC. vNIC

    AWhy not this: A virtual router routes packets between networks rather than serving as the guest's adapter.

    BWhy not this: A virtual switch forwards frames between connected interfaces rather than acting as the guest's adapter.

    CWhy this is right: A vNIC is the virtual network interface presented to the guest operating system.

    DWhy not this: A NAT gateway translates network addresses rather than providing the guest's network adapter.

    A vNIC provides the guest operating system with a network adapter. A virtual switch connects adapters and forwards frames; it is not the adapter presented to the guest.

    Open this question
  14. Question 14

    Server Administration

    A VM has one network adapter connected to production and needs a separate guest interface on an isolated backup network. Which change preserves production connectivity while meeting this requirement?

    Show the answer

    Correct answerA. Add a vNIC connected to the backup virtual network

    AWhy this is right: A second vNIC provides the separate backup interface without changing the existing production connection.

    BWhy not this: Moving the existing vNIC removes the VM's production connection.

    CWhy not this: A secondary IP address does not attach the existing vNIC to the isolated backup network.

    DWhy not this: Another production uplink does not provide the guest with a separate backup interface.

    Adding a vNIC gives the guest a separate interface connected to the backup network while retaining its production connection. A secondary IP address on the existing vNIC does not connect that adapter to a different isolated virtual network.

    Open this question
  15. Question 15

    Server Administration

    VMs share one uplink IP through NAT, and unsolicited inbound connections are blocked by default. One VM must accept HTTPS from uplink clients without changing their configuration or exposing other VM services; which change meets these requirements?

    Show the answer

    Correct answerB. Forward uplink TCP port 443 to the server VM

    AWhy not this: Another private vNIC does not create an inbound mapping through the NAT service.

    BWhy this is right: A specific port mapping permits inbound HTTPS while retaining NAT and limiting the exposed service.

    CWhy not this: Bridging abandons the shared-address NAT arrangement and requires separate uplink addressing for the VM.

    DWhy not this: Forwarding every TCP port could expose additional services beyond HTTPS.

    A port-forwarding rule maps inbound HTTPS traffic on the shared uplink address to the intended VM. Bridging would change the addressing model, while forwarding every TCP port would expose more than the required service.

    Open this question
  16. Question 16

    Server Administration

    Two VMs on the same host, subnet, and VLAN can communicate, but a third VM on another host becomes unreachable when the first host's physical uplink fails. What BEST explains the remaining connectivity?

    Show the answer

    Correct answerD. The virtual switch forwards local frames without the uplink

    AWhy not this: The failed uplink prevents the local VM traffic from reaching the physical switch.

    BWhy not this: vNICs provide guest interfaces; they do not independently route around a failed host uplink.

    CWhy not this: Same-subnet communication between local VMs does not require network address translation.

    DWhy this is right: Local VM ports can exchange frames through the virtual switch even when its physical uplink is down.

    A virtual switch can forward frames between local VM ports without using its physical uplink. The physical switch is needed to reach the other host, but it does not need to carry traffic between these local VMs.

    Open this question
  17. Question 17

    Server Administration

    A VM requires 8 GB of physical memory to remain available during host memory contention. Which setting guarantees that minimum rather than merely giving the VM priority over other VMs?

    Show the answer

    Correct answerC. An 8 GB memory reservation

    AWhy not this: A memory limit sets a maximum the VM can consume, not a guaranteed minimum.

    BWhy not this: Memory shares determine relative priority during contention without guaranteeing 8 GB.

    CWhy this is right: A memory reservation guarantees the specified minimum amount of physical memory for the VM.

    DWhy not this: Virtual disk capacity supplies storage space rather than guaranteed physical RAM.

    A memory reservation guarantees a minimum amount of physical memory for a VM. Memory shares establish relative priority during contention but do not guarantee a fixed amount.

    Open this question
  18. Question 18

    Server Administration

    Which virtual resource provides the working space for a guest operating system's active programs and data?

    Show the answer

    Correct answerB. Guest RAM

    AWhy not this: A virtual disk provides persistent storage for files and the guest operating system.

    BWhy this is right: Guest RAM holds the active instructions and data used by the guest operating system and applications.

    CWhy not this: A virtual NIC connects the guest to a virtual or physical network.

    DWhy not this: A virtual CPU executes instructions rather than providing working memory.

    Guest RAM provides working space for active programs and data. A virtual disk provides persistent storage rather than the guest's main working memory.

    Open this question
  19. Question 19

    Server Administration

    A VM's processor-intensive workload reaches its configured CPU limit while the host has spare processing capacity. Which change would allow the VM to use more of that capacity?

    Show the answer

    Correct answerD. Increase the VM's CPU limit

    AWhy not this: Additional disk capacity provides storage space without changing the VM's CPU allocation.

    BWhy not this: A memory reservation guarantees RAM availability, not additional processor time.

    CWhy not this: A higher NIC bandwidth limit permits more network traffic without changing the CPU cap.

    DWhy this is right: Raising the CPU limit allows the VM to consume more of the host's available processing capacity.

    A CPU limit caps the processing capacity available to a VM, even when the host has spare capacity. A memory reservation guarantees RAM availability but does not raise the CPU cap.

    Open this question
  20. Question 20

    Server Administration

    An administrator must present a new VM with a 500 GB virtual disk without allocating all 500 GB of datastore space immediately. Which provisioning method meets this requirement?

    Show the answer

    Correct answerB. Thin provisioning

    AWhy not this: Fixed-size allocation reserves the disk's full configured capacity rather than growing its backing allocation.

    BWhy this is right: Thin provisioning presents the configured capacity while allocating backing space as data is written.

    CWhy not this: Lazy-zeroed thick provisioning allocates the full capacity immediately but defers zeroing blocks until needed.

    DWhy not this: Eager-zeroed thick provisioning allocates and zeroes the full disk capacity at creation.

    Thin provisioning allocates datastore space as data is written, while presenting the configured disk capacity to the VM. Lazy-zeroed thick provisioning delays zeroing blocks but still allocates the full capacity at creation.

    Open this question
  21. Question 21

    Server Administration

    Which cloud model offers computing services for use by the general public through a cloud provider?

    Show the answer

    Correct answerC. Public cloud

    AWhy not this: A community cloud serves a defined group of organizations with shared requirements.

    BWhy not this: A private cloud is provisioned for exclusive use by one organization.

    CWhy this is right: A public cloud offers computing services for use by the general public.

    DWhy not this: A hybrid cloud connects distinct cloud environments rather than defining who can subscribe.

    A public cloud offers services for use by the general public. A community cloud restricts use to organizations with shared requirements rather than offering services generally.

    Open this question
  22. Question 22

    Server Administration

    A company keeps its baseline workload in a private cloud and automatically moves overflow processing to a connected public cloud. Which cloud model describes this arrangement?

    Show the answer

    Correct answerC. Hybrid cloud

    AWhy not this: The arrangement includes public cloud processing as well as private cloud resources.

    BWhy not this: A community cloud serves organizations with shared concerns; it does not describe private-to-public workload overflow.

    CWhy this is right: Connected private and public clouds supporting workload overflow form a hybrid cloud.

    DWhy not this: The arrangement retains an integrated private cloud rather than using only public cloud resources.

    A hybrid cloud integrates distinct cloud environments, allowing workloads to use private and public resources. A private cloud alone does not describe the connected public cloud capacity.

    Open this question
  23. Question 23

    Server Administration

    A provider operates an off-site cloud exclusively for one company, with employee self-service provisioning. The company also retains conventional on-site servers; how should the provider-operated cloud be classified?

    Show the answer

    Correct answerD. Private cloud

    AWhy not this: A community cloud serves multiple organizations with shared concerns, not one company's exclusive use.

    BWhy not this: Conventional on-site servers do not establish the presence of another cloud integrated with this one.

    CWhy not this: Third-party operation does not make a cloud public when the environment is reserved for one organization.

    DWhy this is right: Exclusive use by one organization defines a private cloud regardless of its location or operator.

    A private cloud is reserved for one organization's exclusive use, even when a third party operates it off-site. Retaining conventional on-site servers does not by itself create a hybrid cloud.

    Open this question
  24. Question 24

    Server Administration

    A retailer needs additional virtual servers for a brief seasonal peak but cannot justify buying hardware. Which public cloud benefit BEST addresses this requirement?

    Show the answer

    Correct answerA. On-demand capacity with usage-based charges

    AWhy this is right: Temporary capacity and usage-based charges address a short peak without requiring hardware purchases.

    BWhy not this: Exclusive infrastructure is associated with a private cloud, not a general benefit of public cloud services.

    CWhy not this: Public cloud customers typically do not control the placement of the provider's physical servers.

    DWhy not this: Hybrid integration connects cloud environments; it is not required simply to rent temporary capacity.

    Public cloud services let the retailer provision temporary capacity and pay for its use instead of purchasing hardware. Integrating private and public resources describes a hybrid model, which is not required here.

    Open this question
  25. Question 25

    Server Administration

    An unchanged VBS inventory script uses COM objects and WScript.Echo for reporting. It must run unattended as a scheduled task and capture its messages in a text log; which approach meets these requirements?

    Show the answer

    Correct answerB. Use cscript.exe and redirect standard output

    AWhy not this: The graphical host normally displays WScript.Echo messages in dialog boxes rather than sending them to standard output.

    BWhy this is right: The console host supports VBScript and sends WScript.Echo messages to output that can be redirected to a file.

    CWhy not this: cmd.exe does not interpret VBScript syntax as batch commands.

    DWhy not this: PowerShell does not interpret an unchanged VBScript file as PowerShell source.

    cscript.exe runs VBScript with a console host, so WScript.Echo messages can be redirected to a log without dialog boxes. Under wscript.exe, WScript.Echo normally displays message boxes, which are unsuitable for unattended reporting.

    Open this question
  26. Question 26

    Server Administration

    Which script type traditionally stores Windows Command Prompt commands in a .bat file?

    Show the answer

    Correct answerC. Batch

    AWhy not this: Bash scripts use Bash syntax rather than Windows Command Prompt syntax.

    BWhy not this: Visual Basic Script normally uses .vbs files and a Windows Script Host interpreter.

    CWhy this is right: Batch files commonly use .bat and contain commands interpreted by cmd.exe.

    DWhy not this: PowerShell normally uses .ps1 files, not .bat files.

    Batch files contain commands interpreted by Windows cmd.exe and commonly use the .bat extension. PowerShell scripts normally use .ps1 and run through a different interpreter.

    Open this question
  27. Question 27

    Server Administration

    A Bash maintenance script must use a directory path containing spaces as one argument to a backup utility. How should the script reference the variable holding that path?

    Show the answer

    Correct answerD. Enclose the variable reference in double quotes

    AWhy not this: Backticks perform command substitution rather than protecting a variable's value as one argument.

    BWhy not this: Single quotes prevent variable expansion, so the utility receives the literal reference rather than the stored path.

    CWhy not this: An unquoted expansion can split the path into multiple arguments at spaces.

    DWhy this is right: Double quotes expand the variable while keeping spaces within a single argument.

    Double quotes allow variable expansion while preventing word splitting, preserving the path as one argument. Single quotes preserve the variable reference literally instead of substituting its value.

    Open this question
  28. Question 28

    Server Administration

    A parent batch file runs a child batch file, then records the child's exit status and continues processing. Which practices support this behavior under cmd.exe? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Save %ERRORLEVEL% immediately after the child returnsB. End the child with EXIT /B and its statusC. Invoke the child batch file using CALL

    AWhy this is right: Saving %ERRORLEVEL% promptly preserves the child's status before later commands can change it.

    BWhy this is right: EXIT /B returns from the child batch context and can supply an exit status without closing the command interpreter.

    CWhy this is right: CALL invokes another batch file while allowing execution to resume in the parent.

    DWhy not this: $LASTEXITCODE is a PowerShell variable, not cmd.exe batch syntax.

    EWhy not this: Direct invocation transfers batch execution to the child instead of establishing a return to the parent.

    CALL returns control to the parent, %ERRORLEVEL% exposes the child's exit status, and EXIT /B exits the child without closing cmd.exe. Invoking another batch file directly transfers control without providing the required return.

    Open this question
  29. Question 29

    Server Administration

    A PowerShell script retrieves services and must filter them by their Status property before formatting the results. What does the pipeline normally pass between these commands?

    Show the answer

    Correct answerC. Objects with accessible properties

    AWhy not this: PowerShell's pipeline normally carries objects rather than the formatted text shown on screen.

    BWhy not this: Exit codes report execution status rather than carrying service properties.

    CWhy this is right: Service objects retain properties such as Status that later pipeline commands can inspect.

    DWhy not this: Environment variables hold process environment values; they are not the normal pipeline representation of services.

    PowerShell normally passes objects through its pipeline, allowing filtering by properties such as Status. Formatted console text is a display representation, not the service objects needed for property-based filtering.

    Open this question
  30. Question 30

    Server Administration

    A PowerShell script contains this assignment: $label = 'Backup #1' <# primary label #> + ' ready' # status What value is assigned to $label?

    Show the answer

    Correct answerA. Backup #1 ready

    AWhy this is right: The quoted hash is literal text; the block and trailing comments are ignored, leaving the string concatenation.

    BWhy not this: The unquoted hash starts a single-line comment, so '# status' is not included in the value.

    CWhy not this: A hash inside a quoted string is literal text, so '#1' remains in the value.

    DWhy not this: A block comment ends at its closing marker, so the following concatenation still executes.

    PowerShell ignores the inline block comment and the trailing single-line comment, but preserves the hash inside the quoted string. The plus operator therefore joins 'Backup #1' and ' ready'; the inline block comment does not end the assignment.

    Open this question
  31. Question 31

    Server Administration

    An administrator creates a Bash shell variable named BACKUP_DIR, but a script launched from that shell cannot read it from its environment. What should the administrator do before relaunching the script?

    Show the answer

    Correct answerB. Export the variable from the current shell

    AWhy not this: Making a variable read-only prevents reassignment but does not automatically export it.

    BWhy this is right: Exporting makes the variable available in the environment of subsequently launched child processes.

    CWhy not this: Changing directories changes the working directory, not whether the variable is inherited.

    DWhy not this: Quoting affects interpretation of the value; it does not make a shell variable available to child processes.

    Exporting a Bash variable makes it available in the environment inherited by subsequently launched processes. Quoting controls how a value is interpreted but does not export the variable.

    Open this question
  32. Question 32

    Server Administration

    Which environment variable lists the directories a shell searches for executable programs?

    Show the answer

    Correct answerD. PATH

    AWhy not this: PWD identifies the current working directory, not the executable search directories.

    BWhy not this: HOME identifies the user's home directory, not the executable search directories.

    CWhy not this: TEMP identifies a location for temporary files, not executable search directories.

    DWhy this is right: PATH lists the directories searched when resolving executable names.

    PATH lists directories searched for executable programs. PWD identifies the current working directory, not the executable search directories.

    Open this question
  33. Question 33

    Server Administration

    A script imports the asset identifiers "0042" and "42" from a file; they identify different servers. Which data type should represent each identifier to preserve that distinction?

    Show the answer

    Correct answerB. String

    AWhy not this: Floating-point conversion treats the identifiers as numeric values and loses their leading-zero distinction.

    BWhy this is right: A string preserves the exact characters, so "0042" remains distinct from "42".

    CWhy not this: Integer conversion discards leading zeros, making both identifiers the numeric value 42.

    DWhy not this: A Boolean represents a truth value, not the characters of an asset identifier.

    A string preserves the identifier's characters, including leading zeros. Converting either identifier to an integer produces the same numeric value, 42, losing the distinction.

    Open this question
  34. Question 34

    Server Administration

    A script stores server names in a zero-indexed array in this order: web01, app01, db01, backup01. Which server name does accessing index 2 return?

    Show the answer

    Correct answerC. db01

    AWhy not this: app01 is the second element and has index 1.

    BWhy not this: web01 is the first element and has index 0.

    CWhy this is right: db01 is the third element and has index 2.

    DWhy not this: backup01 is the fourth element and has index 3.

    A zero-indexed array assigns index 0 to its first element, so index 2 returns the third element, db01. Choosing app01 confuses the index with a one-based position.

    Open this question
  35. Question 35

    Server Administration

    A script reads a retry count as the text "9" and must increase it to 10 rather than produce "91". What should it do before adding 1?

    Show the answer

    Correct answerD. Convert the count to an integer

    AWhy not this: Appending the character joins text and produces "91".

    BWhy not this: Padding changes the text's formatting rather than preparing it for arithmetic.

    CWhy not this: An array holds elements; enclosing text in one does not convert that text to a number.

    DWhy this is right: Converting the text to an integer makes it suitable for arithmetic addition.

    Converting numeric text to an integer allows arithmetic addition. Appending a character performs string concatenation, which would produce "91" rather than 10.

    Open this question
  36. Question 36

    Server Administration

    Which value can an integer variable represent directly?

    Show the answer

    Correct answerC. A temperature of −12 degrees

    AWhy not this: A server name is text and is represented as a string.

    BWhy not this: The fractional part cannot be represented directly by an integer.

    CWhy this is right: Negative whole numbers are valid integer values.

    DWhy not this: A list contains multiple values and needs a collection such as an array.

    An integer represents a whole number, including a negative whole number such as −12. A fractional value such as 12.5 requires a numeric type that supports fractional parts.

    Open this question
  37. Question 37

    Server Administration

    Which script construct stores a named value that can be referenced and updated during execution?

    Show the answer

    Correct answerC. Variable

    AWhy not this: A loop repeats operations rather than serving as named storage.

    BWhy not this: A comparator tests a relationship between values rather than storing them.

    CWhy this is right: A variable holds a named value that the script can reference and update.

    DWhy not this: A conditional selects an execution path based on a condition.

    A variable associates a name with a value that a script can reference or update. A comparator evaluates a relationship between values rather than storing a named value.

    Open this question
  38. Question 38

    Server Administration

    A maintenance script must check every server in a list whose length changes between runs. Which construct should apply the same check to each listed server?

    Show the answer

    Correct answerA. A foreach loop over the server list

    AWhy this is right: A foreach loop visits each listed server and runs the same check for that entry.

    BWhy not this: A conditional branch selects whether an action runs; it does not traverse the server list.

    CWhy not this: Comparing server names produces a comparison result rather than processing the list.

    DWhy not this: Storing the server count does not execute the check for each server.

    A foreach loop applies its body to each entry in a collection, accommodating changes in the list's length. A conditional branch selects an action but does not itself repeat that action for every server.

    Open this question
  39. Question 39

    Server Administration

    A script compares queue-length strings "9" and "10" and hostnames "WEB01" and "web01". Which comparisons evaluate to true when numeric comparisons use decimal values and text comparisons use case-sensitive lexicographic order? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. Text: "WEB01" does not equal "web01"E. Numeric: "9" is less than "10"F. Text: "9" is greater than "10"

    AWhy not this: Lexicographic comparison compares the first characters, and "9" sorts after "1".

    BWhy not this: Decimal 9 is smaller than decimal 10, regardless of their string lengths.

    CWhy this is right: The different letter cases make the hostname strings unequal under case-sensitive comparison.

    DWhy not this: Case-sensitive equality treats uppercase and lowercase letters as different.

    EWhy this is right: Interpreted as decimal numbers, 9 is less than 10.

    FWhy this is right: The first character "9" sorts after the first character "1" in lexicographic digit order.

    Numeric comparison places 9 below 10; lexicographic comparison places "9" above "10" because their first characters determine the order. Case-sensitive equality distinguishes "WEB01" from "web01"; treating numeric-looking text as numeric would give the wrong text-comparison result.

    Open this question
  40. Question 40

    Server Administration

    A script stores a destination in reportPath; a helper changes its own local variable with the same name, leaving the caller's destination unchanged. How should the helper's destination be passed back for the caller to use?

    Show the answer

    Correct answerD. Return the destination and assign it to reportPath

    AWhy not this: Repeated calls still modify only the helper's local variable.

    BWhy not this: Deleting a local value does not assign that value to the caller's variable.

    CWhy not this: A comparison evaluates values but does not transfer the helper's destination to the caller.

    DWhy this is right: Returning the value and assigning it in the caller updates the variable the caller actually uses.

    Returning the destination and assigning it to the caller's reportPath explicitly transfers the value across scopes. Repeating the helper call still changes only its local variable, not the caller's variable.

    Open this question
  41. Question 41

    Server Administration

    A script uses an if/else-if chain that checks disk usage of at least 80% for a warning before checking at least 95% for a critical alert. What change ensures that 97% usage produces the critical alert?

    Show the answer

    Correct answerB. Check the critical condition before the warning condition

    AWhy not this: An else after the warning branch handles usage below 80%, not usage already matched by the warning.

    BWhy this is right: Checking the critical threshold first routes 97% usage to the critical branch.

    CWhy not this: Storing a threshold separately does not change which branch matches first.

    DWhy not this: Repeating a branch later does not prevent the initial warning condition from matching first.

    An if/else-if chain executes the first matching branch, so the more restrictive critical condition must come first. An unconditional else would run only when the warning condition is false, which does not fix the handling of 97% usage.

    Open this question
  42. Question 42

    Server Administration

    A server must retrieve configuration at every boot before anyone signs in, but network availability varies. Which scripting approach BEST meets these requirements?

    Show the answer

    Correct answerD. A startup script with bounded retries for the configuration source

    AWhy not this: A login script requires a user sign-in, so it cannot satisfy the pre-login requirement.

    BWhy not this: A fixed pause may expire before the network is ready and unnecessarily delays boots when it is already available.

    CWhy not this: First-provisioning execution does not retrieve fresh configuration at every subsequent boot.

    DWhy this is right: Startup execution handles every boot, and bounded retries accommodate delayed network availability.

    A startup script meets the every-boot, pre-login requirement, while bounded retries accommodate variable network readiness without waiting indefinitely. A fixed pause does not establish that the configuration source is available.

    Open this question
  43. Question 43

    Server Administration

    An administrator schedules a script to restore a required service if it stops. What logic should the script use to avoid interrupting a healthy service?

    Show the answer

    Correct answerD. Check service status and start it if stopped

    AWhy not this: Configuring startup behavior does not restore a service that is currently stopped.

    BWhy not this: Restarting a running service creates an unnecessary interruption.

    CWhy not this: Rebooting interrupts the healthy service and other workloads on the server.

    DWhy this is right: A status check makes recovery conditional, leaving an already-running service undisturbed.

    Checking the current service status allows the script to start a stopped service without interrupting one that is already running. Configuring startup behavior affects future boots rather than restoring the service now.

    Open this question
  44. Question 44

    Server Administration

    A shutdown script must stop an application and then copy its final data files to an archive. What should the script do before copying?

    Show the answer

    Correct answerB. Confirm that the application has stopped

    AWhy not this: A future restart does not confirm that the application has finished writing its current data.

    BWhy this is right: Waiting for the application to stop prevents it from changing files during the archive copy.

    CWhy not this: Removing an account does not establish that the application has stopped or finished writing data.

    DWhy not this: Disconnecting the archive connection could prevent the shutdown script from completing its copy.

    The shutdown script should verify that the application has stopped before copying files it might still modify. Scheduling a restart affects the next boot but does not make the current files ready to archive.

    Open this question
  45. Question 45

    Server Administration

    What event normally triggers a server startup script?

    Show the answer

    Correct answerD. The operating system booting

    AWhy not this: A service stopping can trigger service-management actions, not the server's startup script.

    BWhy not this: Operating system shutdown is associated with shutdown scripts.

    CWhy not this: A user signing in triggers a login script rather than a server startup script.

    DWhy this is right: Startup scripts are associated with the operating system's boot process.

    A startup script runs as part of the server's boot process. A login script is triggered by a user signing in, which may occur much later or not at all.

    Open this question
  46. Question 46

    Server Administration

    A cluster node remains reachable by clients, but its peers stop receiving its heartbeat. Which statements should guide the administrator's assessment? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. An independent heartbeat path can reduce monitoring failures caused by a link outage.E. Heartbeat reception indicates node communication, not application-level health.F. A failed heartbeat network path could explain the missing signals.

    AWhy this is right: An independent path can preserve heartbeat communication when one network path fails.

    BWhy not this: Heartbeat monitoring and application data replication have different purposes; one does not establish the other's status.

    CWhy not this: Load balancing distributes client requests; heartbeat traffic supports cluster membership and health monitoring.

    DWhy not this: A node can send heartbeats while a hosted application is unresponsive.

    EWhy this is right: Heartbeats show that node communication is functioning, but application health requires separate checks.

    FWhy this is right: Missing heartbeats can result from a failed communication path rather than a failed server.

    Heartbeats indicate node communication; a network failure can interrupt them even when a node remains running. Independent paths improve resilience, but restored heartbeats alone do not establish application health.

    Open this question
  47. Question 47

    Server Administration

    A two-node active-passive cluster needs patches requiring reboots; either node can handle the workload. The application supports mixed patch levels during maintenance, but service must remain available. Which sequence is BEST?

    Show the answer

    Correct answerB. Patch and reboot the passive node, validate it, move service to it, then patch the original active node

    AWhy not this: The pending reboot leaves the updated node unvalidated, and rebooting both nodes interrupts service.

    BWhy this is right: Validating the patched standby before transferring service preserves an available, tested host during maintenance.

    CWhy not this: Moving service onto a node immediately before rebooting it exposes the workload to interruption.

    DWhy not this: Rebooting the active node before a controlled service transfer risks an avoidable interruption.

    Rolling maintenance patches and validates the passive node before transferring service and maintaining the other node. Patching the active node first risks an outage when it reboots.

    Open this question
  48. Question 48

    Server Administration

    What is failback in a server cluster?

    Show the answer

    Correct answerD. Returning workloads to their preferred node after recovery

    AWhy not this: Checking node reachability is a heartbeat function rather than failback.

    BWhy not this: Moving workloads away from a failed node describes failover rather than failback.

    CWhy not this: Concurrent workload processing describes active-active operation rather than failback.

    DWhy this is right: Failback restores workload placement on the preferred node after recovery.

    Failback returns workloads to their preferred node after that node recovers. Failover instead moves workloads away from a failed or unavailable node.

    Open this question
  49. Question 49

    Server Administration

    A server uses active/standby NIC teaming with link-state-only failure detection. The active NIC's switch loses its upstream connection, but the NIC link stays up; why does the healthy standby path remain unused?

    Show the answer

    Correct answerC. The configured failure trigger has not occurred.

    AWhy not this: Active/standby failover does not require the switch ports to form an aggregation group.

    BWhy not this: Round robin distributes work; it does not determine when an active/standby team detects failure.

    CWhy this is right: The local link remains up, so link-state-only detection has no failure event to trigger takeover.

    DWhy not this: Matching physical NIC addresses are not what determines whether an upstream outage triggers failover.

    Link-state-only detection does not recognize an upstream outage while the local NIC link remains up, so failover is not triggered. An aggregation group is not required for active/standby failover.

    Open this question
  50. Question 50

    Server Administration

    A server aggregates four 1Gbps links using flow-based hashing. Several simultaneous transfers exceed 1Gbps in total, but one transfer stays below 1Gbps; what BEST explains this behavior?

    Show the answer

    Correct answerD. Each flow is hashed to a single member link.

    AWhy not this: Application-host load balancing does not explain how an aggregated set of NIC links carries traffic.

    BWhy not this: Link aggregation distributes traffic rather than transmitting duplicate copies across every member.

    CWhy not this: A single active 1Gbps link with standby members would not provide aggregate throughput above 1Gbps.

    DWhy this is right: Flow-based hashing keeps a flow on one member link while allowing other flows to use other members.

    Flow-based aggregation can distribute separate flows across member links, increasing total throughput while keeping each flow on one link. Standby-only links would not explain aggregate throughput exceeding 1Gbps.

    Open this question