comptia-a-plus-core2/quizzes/OPS-8-quiz.md

52 lines
931 B
Markdown

# OPS-8 Quiz: Scripting Basics
Take this after studying `notes/OPS-8-scripting-basics.md`.
Reply with answers like:
`1B 2A 3D 4C 5B`
## Questions
1. Which extension is commonly used for PowerShell scripts?
A. `.bat`
B. `.ps1`
C. `.jpg`
D. `.xlsx`
2. Which extension is commonly used for Bash shell scripts?
A. `.sh`
B. `.docx`
C. `.png`
D. `.iso`
3. What is a common scripting use case?
A. Physically lifting a printer
B. Replacing toner
C. Automating software installation
D. Cleaning a monitor
4. What is a risk of running an unknown script?
A. It may change settings or introduce malware
B. It always improves security
C. It cannot affect files
D. It disables all permissions
5. What should you do before broad script deployment?
A. Skip testing
B. Test and review the script
C. Delete all backups
D. Disable rollback
## Answer Key For Instructor
1. B
2. A
3. C
4. A
5. B