Question 480
An older Windows logon script is distributed with a .vbs extension. Which scripting technology is it based on?
- JavaScript
- Windows Command Prompt
- Python interpreter
- VBScript
Explanation
Correct Answer
D:VBScript was historically used for Windows automation via the Windows Script Host. Modern platform support and deprecation status should be checked before new deployments.
Incorrect Answers
A:Client-side JavaScript runs within the browser's scripting environment; to identify a legacy VBScript logon file, the relevant control is VBScript; this option addresses identifying browser-side JavaScript automation.
B:Batch files are interpreted by cmd.exe in the Windows command environment; Windows Command Prompt is used to identify the interpreter for a Windows batch file, whereas the case calls for identifying a legacy VBScript logon file.
C:Python scripts rely on a compatible Python runtime and installed dependencies; these are separate tasks: running a Python-based support automation program is not the same as identifying a legacy VBScript logon file.
Question 481
A support team repeatedly reconnects the same approved network shares at sign-in. What is a suitable use of scripting?
- JavaScript
- Automate mapped-drive setup
- Repeatable software installation automation
- Validate scope, test safely, and require review
Explanation
Correct Answer
B:A tested script can standardize routine network drive mapping using approved credentials and paths. Error handling prevents silently failing mappings.
Incorrect Answers
A:Client-side JavaScript runs within the browser's scripting environment; JavaScript is used to identify browser-side JavaScript automation, whereas the case calls for automating repetitive network share mapping.
C:Scripts can check prerequisites, run unattended installers and log results consistently; these are separate tasks: deploying approved applications consistently through scripts is not the same as automating repetitive network share mapping.
D:Unreviewed automation can damage data or configuration rapidly; using this would prioritize preventing destructive side effects from maintenance scripts instead of automating repetitive network share mapping.
Question 482
A maintenance task needs to install the same approved package on many managed PCs after validating prerequisites. What can scripting contribute?
- Automate mapped-drive setup
- Repeatable software installation automation
- Validate scope, test safely, and require review
- Python interpreter
- Untrusted script executing privileged actions
Explanation
Correct Answer
B:Scripts can check prerequisites, run unattended installers and log results consistently. They should be tested and scoped before large-scale execution.
Incorrect Answers
A:A tested script can standardize routine network drive mapping using approved credentials and paths; although suited to automating repetitive network share mapping, it is not sufficient for deploying approved applications consistently through scripts.
C:Unreviewed automation can damage data or configuration rapidly; for deploying approved applications consistently through scripts, Repeatable software installation automation addresses the stated need; Validate scope, test safely, and require review instead targets preventing destructive side effects from maintenance scripts.
D:Python scripts rely on a compatible Python runtime and installed dependencies; Python interpreter is used to run a Python-based support automation program, whereas the case calls for deploying approved applications consistently through scripts.
E:A script can introduce malware, modify settings or destroy data under the invoking account's authority; using this would prioritize avoiding running unknown elevated automation instead of deploying approved applications consistently through scripts.
Question 483
A technician downloads a purported repair script from a forum and is urged to run it as administrator immediately. What is the key security concern?
- Untrusted script executing privileged actions
- POSIX-compatible shell
- VBScript
- PowerShell
Explanation
Correct Answer
A:A script can introduce malware, modify settings or destroy data under the invoking account's authority. Verify source and contents before execution.
Incorrect Answers
B:Shell scripts are run by a compatible shell such as bash or sh according to their syntax and interpreter declaration; the evidence favors Untrusted script executing privileged actions for avoiding running unknown elevated automation, rather than applying POSIX-compatible shell to run a Linux shell automation script.
C:VBScript was historically used for Windows automation via the Windows Script Host; for avoiding running unknown elevated automation, Untrusted script executing privileged actions addresses the stated need; VBScript instead targets identifying a legacy VBScript logon file.
D:PowerShell runs cmdlets and pipeline-oriented scripts written for its engine; the requirement is to avoid running unknown elevated automation; this alternative is primarily used to execute a Windows PowerShell automation script.
Question 484
A team plans a script that changes configuration on hundreds of workstations. Which TWO safety practices should happen before broad execution? Choose TWO.
- Run it as Domain Admin everywhere by default
- Test the script on representative nonproduction devices
- Disable all logging to make it run faster
- Download additional commands from arbitrary websites at runtime
- Scope privileges and include a rollback or recovery strategy
Explanation
Correct Answers
B:A test environment exposes syntax errors, compatibility problems and side effects before affecting users. Record the results and correct faults.
E:Least privilege limits damage, while a recovery plan addresses unintended changes. These are essential safeguards for large-scale modifications.
Incorrect Answers
A:Excessive privileges increase the impact of scripting mistakes or compromise. Use only the rights required for documented tasks.
C:Without logs, troubleshooting partial deployment failures becomes difficult. Responsible automation retains adequate audit information.
D:Unknown code creates an uncontrolled supply-chain risk. Dependencies should be vetted and pinned to trusted sources.
Question 485
An external support partner needs to collect diagnostic log files from a Linux server over an approved encrypted connection. The partner must not receive a graphical desktop or an interactive administrative shell. Which remote-support capability best fits?
- Unencrypted Telnet console session
- Approved SFTP file-transfer service with restricted credentials
- Full remote graphical desktop through VNC
- General-purpose administrator shell with unrestricted SSH access
Explanation
Correct Answer
B:An approved SFTP service transfers files through SSH encryption and can be configured with restricted credentials and permitted directories. File-transfer-only access meets the support task without exposing a desktop or general shell.
Incorrect Answers
A:Telnet transmits its session in cleartext and offers interactive terminal access rather than a protected, file-only transfer channel. It violates both the encryption and least-privilege conditions.
C:VNC provides remote graphical control rather than a purpose-limited file collection service. It grants an unnecessary interactive capability under the specified access policy.
D:A general SSH administrative shell can be encrypted but grants command-execution access that the partner is explicitly forbidden to receive. Use a restricted SFTP subsystem or equivalent approved file-only tool instead.
Question 486
A Linux server has no graphical interface, and a technician needs an encrypted terminal to administer it. Which protocol fits?
- Secure Shell (SSH)
- Virtual Network Computing (VNC)
- Windows Remote Management (WinRM)
- SPICE remote display
Explanation
Correct Answer
A:SSH provides an authenticated encrypted command-line channel and can support secure file transfer. Key management and restricted accounts improve security.
Incorrect Answers
B:VNC remotes a graphical desktop across platforms; this technique can help to view a cross-platform graphical desktop remotely, but it does not directly manage a headless Linux server securely.
C:WinRM implements web-services-based remote management and supports common Windows administration workflows; Windows Remote Management (WinRM) is used to execute authorized remote Windows management commands, whereas the case calls for managing a headless Linux server securely.
D:SPICE supports remote display and input for compatible virtual-machine environments; this option serves interacting with a compatible virtual-machine console rather than managing a headless Linux server securely.
Question 487
A cross-platform workstation must share its graphical screen with a support agent using a framebuffer-based remote control protocol. Which protocol is commonly used?
- Virtual Network Computing (VNC)
- Virtual private network (VPN)
- Consent-based screen-sharing software
- Remote Desktop Protocol (RDP)
Explanation
Correct Answer
A:VNC remotes a graphical desktop across platforms. Native deployments vary in encryption support, so use a secure tunnel or appropriate protected implementation.
Incorrect Answers
B:A VPN encrypts traffic across the designated tunnel between the client and gateway; although suited to extending protected access to an internal network, it is not sufficient for viewing a cross-platform graphical desktop remotely.
C:Screen sharing allows a technician to view or assist with the existing user's desktop session; that could address observing the user's current desktop with consent, but it would leave the need to view a cross-platform graphical desktop remotely unresolved.
D:RDP provides a Windows remote desktop session when the host edition and policies permit it; this option serves controlling a Windows desktop remotely rather than viewing a cross-platform graphical desktop remotely.
Question 488
A managed service provider wants automated health alerts, patch reporting and scripted maintenance across customer devices. Which class of tool fits?
- Consent-based screen-sharing software
- Use approved protected access with MFA rather than direct exposure
- Virtual private network (VPN)
- Remote monitoring and management (RMM)
- Virtual Network Computing (VNC)
Explanation
Correct Answer
D:RMM platforms collect health information and orchestrate maintenance actions across enrolled endpoints. They are broader than a one-off screen-sharing session.
Incorrect Answers
A:Screen sharing allows a technician to view or assist with the existing user's desktop session; the task is to manage and monitor fleets of remote endpoints, not simply to observe the user's current desktop with consent.
B:Public RDP increases attack surface; the case demands managing and monitor fleets of remote endpoints, not avoiding exposing remote desktop authentication directly to the internet.
C:A VPN encrypts traffic across the designated tunnel between the client and gateway; Remote monitoring and management (RMM) fulfills the requirement to manage and monitor fleets of remote endpoints; this selection pertains to extending protected access to an internal network.
E:VNC remotes a graphical desktop across platforms; for managing and monitor fleets of remote endpoints, Remote monitoring and management (RMM) addresses the stated need; Virtual Network Computing (VNC) instead targets viewing a cross-platform graphical desktop remotely.
Question 489
A Windows administrator needs to invoke remote management commands and PowerShell remoting on managed servers. Which underlying protocol is relevant?
- Virtual Network Computing (VNC)
- Use approved protected access with MFA rather than direct exposure
- Consent-based screen-sharing software
- Windows Remote Management (WinRM)
- Virtual private network (VPN)
Explanation
Correct Answer
D:WinRM implements web-services-based remote management and supports common Windows administration workflows. Configure authenticated, encrypted connectivity and appropriate firewall rules.
Incorrect Answers
A:VNC remotes a graphical desktop across platforms; the reported need is to execute authorized remote Windows management commands; Virtual Network Computing (VNC) is oriented toward viewing a cross-platform graphical desktop remotely.
B:Public RDP increases attack surface; that could address avoiding exposing remote desktop authentication directly to the internet, but it would leave the need to execute authorized remote Windows management commands unresolved.
C:Screen sharing allows a technician to view or assist with the existing user's desktop session; to execute authorized remote Windows management commands, the relevant control is Windows Remote Management (WinRM); this option addresses observing the user's current desktop with consent.
E:A VPN encrypts traffic across the designated tunnel between the client and gateway; these are separate tasks: extending protected access to an internal network is not the same as executing authorized remote Windows management commands.
Question 490
A virtualized help desk lab uses a remote desktop protocol built for virtual machine display and interaction. Which option may apply?
- Windows Remote Management (WinRM)
- Use approved protected access with MFA rather than direct exposure
- SPICE remote display
- Consent-based screen-sharing software
Explanation
Correct Answer
C:SPICE supports remote display and input for compatible virtual-machine environments. It is not a replacement for encrypted network access across every corporate application.
Incorrect Answers
A:WinRM implements web-services-based remote management and supports common Windows administration workflows; using this would prioritize executing authorized remote Windows management commands instead of interacting with a compatible virtual-machine console.
B:Public RDP increases attack surface; for interacting with a compatible virtual-machine console, SPICE remote display addresses the stated need; Use approved protected access with MFA rather than direct exposure instead targets avoiding exposing remote desktop authentication directly to the internet.
D:Screen sharing allows a technician to view or assist with the existing user's desktop session; that could address observing the user's current desktop with consent, but it would leave the need to interact with a compatible virtual-machine console unresolved.