CompTIA Core 2 Objectives 4.8 – Operational Procedures – Scripting

Posted by:

|

On:

|

Scripting

1 / 13

You need to write a PowerShell script to map a network drive for users when they log in to their Windows machines. Which PowerShell cmdlet should you use to achieve this?

2 / 13

Which scripting language would you use to automate the deployment of applications on Windows machines?

3 / 13

You are creating a batch script to automate a series of commands in a Windows environment. What file extension should you use?

4 / 13

You need to create a script to initiate system updates on Windows machines. Which PowerShell cmdlet would you use?

5 / 13

For scripting in a Unix/Linux environment, which file extension is typically used?

6 / 13

What is a critical security consideration when creating and deploying scripts?

7 / 13

You need to create a script in Python. Which file extension should you use?

8 / 13

You need to write a script to automate a task on a Windows machine. Which file extension should you use for a PowerShell script?

9 / 13

You need to create a script to restart multiple machines in a Windows environment at a scheduled time. Which PowerShell cmdlet would you use to achieve this?

10 / 13

You need to write a script to automate the installation of an application on multiple Windows machines. Which PowerShell cmdlet would you use to start the installation process?

11 / 13

When creating scripts for system automation, what should you do to avoid unintentional changes to system settings?

12 / 13

You need to create a script to remap network drives for multiple users. Which scripting language would be best for this task?

13 / 13

You need to automate the backup of files on a Linux server. Which scripting language should you use?

Your score is

Exit