Introduction to Azure Cloud Shell Flashcards

1
Q

Define Azure Cloud Shell

A

A browser-accessible command-line experience for managing Azure resources.

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

Is Cloud shell part of a local machine?

A

No

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

What do languages does Cloud Shell support?

A

Bash and PowerShell

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

Give 3 examples of Azure resources that Cloud Shell helps manage.

A
  1. VMs
  2. Storage
  3. Networking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What updates are required to run Cloud Shell?

A

None

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

What is Azure Cloud Shell cloud storage for?

A

Persistent files (SSH keys, scripts, etc.)

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

What is the link for Cloud Shell?

A

https://shell.azure.com

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

How many minutes of inactivity are allotted before Cloud Shell terminates the session?

A

20 minutes

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

What resource does Cloud Shell run on?

A

A temporary VM

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

Where are persistent files for Cloud Shell stored?

A

Azure CloudDrive

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

What service allows you to work with contents of a share in Cloud Shell?

A

Azure Storage File Share

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

How do you edit the contents of scripts hosted in CloudDrive or File Share?

A

Click the curly brackets {}

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

Name the Linux tools available in Cloud Shell

A

bash
zsh
sh
tmux
dig

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

Name the Azure tools available in Cloud Shell

A

Azure CLI
AzCopy
Azure Functions CLI
Service Fabric CLI
Batch Shipyard
blobxfer

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

Which text editors are available in Cloud Shell?

A

cod
vim
nano
emacs

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

What source control is available in Cloud Shell?

A

git

17
Q

What build tools are available in Cloud Shell?

A

make
maven
npm
pip

18
Q

What Container tools are available in Cloud Shell?

A

Docker Machine
Kubectl
Helm
DC/OS CLI

19
Q

What database types can Cloud shell interact with?

A

MySQL client
Postgresql client
sqlcmd utility
massql-scripter

20
Q

What plug-ins does Cloud Shell require?

A

none

21
Q

Which of these is Cloud Shell a good solution for?
- Multi-tenant or multi-region problem solving
- Administrator level access
- Secure, command line session for quick targeted troubleshooting
- Prolonged testing or unattended command line task

A

Secure, command line session for quick targeted troubleshooting

22
Q

Which of these methods can you use to access Azure Cloud Shell from a computer running Windows 11?
- Install Windows Subsystem for Linux and make an SSH connection to Azure.
- Make a Remote Desktop Protocol connection to Azure.
- Use the Microsoft Edge Browser to log into an Azure Subscription.

A

Use the Microsoft Edge Browser to log into an Azure Subscription.

23
Q

You need to perform routine checks on your Azure Kubernetes Cluster via kubectl. Which of the following solutions should you use?
- Install kubectl and the Azure CLI on your machine, download the kubectl config file, and establish a connection.
- Open Azure Cloud Shell, and use az aks get-credentials to download the kubectl config file to the Cloud Shell session and establish a connection.
- Create a new Azure virtual machine (VM), download kubectl, and establish a new connection.

A

Open Azure Cloud Shell, and use az aks get-credentials to download the kubectl config file to the Cloud Shell session and establish a connection.

24
Q

You want to store a script that you constantly use for operations on Azure resources. This script needs to be rapidly available when you open a new Azure Cloud Shell session. Which of these procedures should you use?
- Upload the script to your CloudDrive on an Azure Cloud Shell session.
- Create a new script and store it on an Azure Storage Blob.
- Use Cloud Shell editor to create and edit the script you want to use.

A

Upload the script to your CloudDrive on an Azure Cloud Shell session.

25
Q

You have a script stored on the Cloud Shell storage. You constantly use this script for resource management, but you need to perform small changes to it. Which of these solutions is the best way to handle the situation?
- Download the script from the Azure Cloud Shell session, edit the script, and upload it back before using it.
- Push the script to GitHub and run it from the Azure Cloud Shell session.
- Use the Cloud Shell editor to make the necessary changes and save it directly on the CloudDrive.

A

Use the Cloud Shell editor to make the necessary changes and save it directly on the CloudDrive.