Scripting, Cloud, Virtualization Flashcards

(114 cards)

1
Q

What is a script?

A

Text file containing commands to automate tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the benefits of scripting?

A

Automate repetitive tasks, reduce human error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between interpreted and compiled scripts?

A

Scripts run by interpreter, programs pre-compiled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of a variable in scripting?

A

Store and manipulate data during execution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a loop function?

A

Repeat code block multiple times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a conditional statement?

A

Execute code based on true/false conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the file extension for Windows batch files?

A

.bat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the file extension for PowerShell scripts?

A

.ps1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the extension for Visual Basic Scripts?

A

.vbs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the extension for Linux shell scripts?

A

.sh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the extension for Python scripts?

A

.py

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the extension for JavaScript files?

A

.js

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the types of variables in programming?

A
  • Boolean
  • Integer
  • Float
  • Character
  • String
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of a for loop?

A

Repeat when number of iterations known

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of a while loop?

A

Repeat while condition is true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of an if-then-else statement?

A

Execute different code based on conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the definition of a function?

A

Reusable block of code with specific purpose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the purpose of comments in code?

A

Document code for human understanding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is an example of system restart automation?

A

Schedule reboots during maintenance windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is an example of software installation automation?

A

Deploy applications across multiple systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is an example of file backup automation?

A

Copy important data to backup locations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is an example of user account management automation?

A

Create, modify, or disable user accounts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the definition of Infrastructure as a Service (IaaS)?

A

Rent virtual machines, storage, networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the definition of Platform as a Service (PaaS)?

A

Development platform without infrastructure management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the definition of Software as a Service (SaaS)?
Complete applications accessed via internet
26
Give an example of IaaS.
* Amazon EC2 * Microsoft Azure VMs
27
Give an example of PaaS.
* Google App Engine * Azure App Service
28
Give an example of SaaS.
* Office 365 * Salesforce * Gmail
29
What defines a public cloud?
Shared infrastructure accessible over internet
30
What defines a private cloud?
Dedicated infrastructure for single organization
31
What defines a hybrid cloud?
Combination of public and private clouds
32
What defines a community cloud?
Shared by organizations with common needs
33
What is multi-cloud?
Using multiple cloud service providers
34
What are the benefits of cloud services?
* Scalability * Cost efficiency * High availability * Global accessibility * Automatic updates * Disaster recovery
35
What is virtualization?
Running multiple virtual machines on single hardware
36
What is the purpose of a hypervisor?
Software that manages virtual machines
37
What is a Type 1 hypervisor?
Runs directly on hardware (bare metal)
38
What is a Type 2 hypervisor?
Runs on top of existing operating system
39
What is a virtual machine (VM)?
Software-based computer running inside host
40
What is a host system?
Physical computer running hypervisor
41
What are the benefits of virtualization?
* Hardware consolidation * Cost reduction * Isolation * Snapshot capability * Resource allocation * Testing environment
42
What is VMware vSphere?
Enterprise Type 1 hypervisor
43
What is Microsoft Hyper-V?
Windows-integrated virtualization
44
What is VirtualBox?
Free Type 2 hypervisor for desktops
45
What is VMware Workstation?
Professional Type 2 hypervisor
46
What is KVM?
Linux kernel-based virtualization
47
What is Xen?
Open-source Type 1 hypervisor
48
What is a container?
Lightweight alternative to full virtualization
49
What is Docker?
Popular container platform
50
What is the difference between containers and VMs?
Containers share OS kernel, VMs have separate OS
51
What are the benefits of containers?
Faster startup, less resource usage
52
What is a container image?
Template for creating containers
53
What is container orchestration?
Tools like Kubernetes manage containers
54
What is object storage?
Store files as objects (Amazon S3)
55
What is block storage?
Raw storage volumes (Amazon EBS)
56
What is file storage?
Network file systems (Amazon EFS)
57
What is cold storage?
Infrequent access, lower cost
58
What is hot storage?
Frequent access, higher performance
59
What is Backup as a Service?
Cloud-based backup solutions
60
What is the shared responsibility model?
Provider secures infrastructure, customer secures data
61
What is identity and access management?
Control who can access cloud resources
62
What is encryption in transit?
Protect data moving to/from cloud
63
What is encryption at rest?
Protect stored cloud data
64
What are network security groups?
Virtual firewalls for cloud resources
65
What is multi-factor authentication?
Secure cloud account access
66
What is a virtual CPU (vCPU)?
Allocated processor cores to VM
67
What is virtual memory?
RAM assigned to virtual machine
68
What is virtual storage?
Disk space allocated to VM
69
What is a virtual network adapter?
Network connectivity for VM
70
What is a virtual switch?
Connects VMs to network
71
What are resource pools?
Group resources for allocation
72
What is Virtual Desktop Infrastructure (VDI)?
Centralized desktop environments
73
What is Desktop as a Service (DaaS)?
Cloud-hosted virtual desktops
74
What is application virtualization?
Run apps without local installation
75
What are remote desktop services?
Access desktops over network
76
What is a thin client?
Minimal hardware accessing virtual desktop
77
What is session-based computing?
Multiple users share single OS instance
78
What are scripting best practices?
* Error handling * Input validation * Documentation * Testing * Version control * Security considerations
79
What is lift and shift in cloud migration?
Move existing systems to cloud unchanged
80
What is replatforming in cloud migration?
Minor modifications for cloud optimization
81
What is refactoring in cloud migration?
Redesign applications for cloud-native features
82
What is migration planning?
Assess dependencies and requirements
83
What is data migration?
Transfer existing data to cloud storage
84
What is a cutover strategy?
Plan transition from on-premises to cloud
85
What are VM templates?
Pre-configured VM images for deployment
86
What is VM cloning?
Create copies of existing VMs
87
What are VM snapshots?
Point-in-time VM state backup
88
What is resource monitoring?
Track CPU, memory, storage usage
89
What is live migration?
Move running VM between hosts
90
What is VM lifecycle management?
Provision, manage, decommission VMs
91
What is a Virtual LAN (VLAN)?
Logical network segmentation
92
What is software-defined networking (SDN)?
Programmable network control
93
What is network function virtualization (NFV)?
Virtualized network services
94
What is a virtual private network (VPN)?
Secure network connections over internet
95
What are load balancers?
Distribute traffic across multiple servers
96
What are virtual firewalls?
Software-based network security
97
What are VM backup strategies?
* Image-level * File-level backups
98
What are cloud backup services?
Automated offsite data protection
99
What is Disaster Recovery as a Service (DRaaS)?
Cloud-based disaster recovery
100
What is recovery point objective (RPO)?
Maximum acceptable data loss
101
What is recovery time objective (RTO)?
Maximum acceptable downtime
102
What is business continuity?
Maintain operations during disruptions
103
What is resource allocation?
Right-size CPU, memory, storage
104
What is performance monitoring?
Track system metrics and bottlenecks
105
What is auto-scaling?
Automatically adjust resources based on demand
106
What is load balancing?
Distribute workload across multiple resources
107
What are caching strategies?
Store frequently accessed data in memory
108
What are content delivery networks (CDN)?
Distribute content geographically
109
What are cloud licensing models?
* Per-user * Consumption-based * Subscription
110
What is virtual machine licensing?
OS and application licenses in VMs
111
What are compliance requirements?
Meet regulatory standards in cloud
112
What is data sovereignty?
Know where data is stored geographically
113
What are audit trails?
Track access and changes for compliance
114
What is vendor lock-in?
Difficulty moving between cloud providers