Bird
Raised Fist0
Azurecloud~10 mins

Why Azure for cloud computing - Test Your Understanding

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a virtual machine in Azure using the Azure CLI.

Azure
az vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --admin-username azureuser --generate-ssh-keys [1]
Drag options to blanks, or click blank then click option'
A--no-wait
B--location eastus
C--os-disk-size-gb 30
D--size Standard_B1s
Attempts:
3 left
💡 Hint
Common Mistakes
Using --size instead of --location
Omitting the location option
Using --no-wait which only controls command execution behavior
2fill in blank
medium

Complete the code to create an Azure Storage account with a unique name.

Azure
az storage account create --name [1] --resource-group myResourceGroup --location eastus --sku Standard_LRS
Drag options to blanks, or click blank then click option'
Amystorage123
Bstorageaccount!
Cmystorageaccount
DMyStorageAccount
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase letters in the name
Including special characters like '!'
Using a name that is too generic and likely taken
3fill in blank
hard

Fix the error in the Azure CLI command to list all resource groups.

Azure
az group [1]
Drag options to blanks, or click blank then click option'
Alist-all
Bget
Cshow
Dlist
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'show' which requires a specific resource name
Using 'get' which is not a valid Azure CLI group command
Using 'list-all' which is not a valid command
4fill in blank
hard

Fill both blanks to create a network security group and add a rule to allow SSH traffic.

Azure
az network nsg create --resource-group myResourceGroup --name myNSG
az network nsg rule create --resource-group myResourceGroup --nsg-name myNSG --name AllowSSH --protocol [1] --priority 1000 --destination-port-ranges [2] --access Allow --direction Inbound
Drag options to blanks, or click blank then click option'
ATcp
BUdp
C22
D80
Attempts:
3 left
💡 Hint
Common Mistakes
Using UDP instead of TCP
Allowing port 80 which is for HTTP
Confusing protocol and port number
5fill in blank
hard

Fill all three blanks to create an Azure App Service plan and a web app with Linux runtime.

Azure
az appservice plan create --name [1] --resource-group myResourceGroup --sku [2] --is-linux
az webapp create --resource-group myResourceGroup --plan [3] --name myWebApp --runtime "PYTHON|3.8"
Drag options to blanks, or click blank then click option'
AmyAppServicePlan
BB1
DS1
Attempts:
3 left
💡 Hint
Common Mistakes
Using different names for the plan in the two commands
Choosing an invalid SKU
Omitting the --is-linux flag for Linux runtime

Practice

(1/5)
1. Why do many businesses choose Azure for cloud computing?
easy
A. It offers scalable resources without large upfront costs
B. It requires buying expensive hardware upfront
C. It only works on Windows computers
D. It cannot be managed through a web portal

Solution

  1. Step 1: Understand Azure's cost model

    Azure provides computing power and storage over the internet, so you pay as you go without buying hardware upfront.
  2. Step 2: Compare options

    Options A, B, and D are incorrect because Azure works on many platforms, does not require upfront hardware purchase, and can be managed via a web portal.
  3. Final Answer:

    It offers scalable resources without large upfront costs -> Option A
  4. Quick Check:

    Azure = scalable, pay-as-you-go [OK]
Hint: Azure is pay-as-you-go and scalable [OK]
Common Mistakes:
  • Thinking Azure needs expensive hardware upfront
  • Believing Azure only works on Windows
  • Assuming Azure can't be managed online
2. Which of the following is the correct way to manage Azure resources?
easy
A. Only through mobile apps
B. Only by installing special software on your computer
C. By physically visiting Microsoft data centers
D. Using a web portal or simple command-line tools

Solution

  1. Step 1: Identify Azure management methods

    Azure resources can be managed via an easy-to-use web portal or command-line tools, making it flexible and accessible.
  2. Step 2: Eliminate incorrect options

    Options B, C, and D are incorrect because you don't need special software only, physical visits, or only mobile apps to manage Azure.
  3. Final Answer:

    Using a web portal or simple command-line tools -> Option D
  4. Quick Check:

    Azure management = portal + commands [OK]
Hint: Manage Azure via portal or commands [OK]
Common Mistakes:
  • Thinking you must install special software
  • Believing physical visits are needed
  • Assuming only mobile apps work
3. What happens when an app hosted on Azure needs more computing power?
medium
A. Azure automatically adds more resources to handle the load
B. The app crashes because Azure cannot scale
C. You must manually buy new servers
D. Azure shuts down the app to save costs

Solution

  1. Step 1: Understand Azure's scaling feature

    Azure can automatically increase computing resources when an app needs more power, helping it run smoothly.
  2. Step 2: Review other options

    Options A, B, and C are incorrect because Azure does not shut down apps to save costs, does not crash apps, and does not require manual server purchase.
  3. Final Answer:

    Azure automatically adds more resources to handle the load -> Option A
  4. Quick Check:

    Azure scales apps automatically [OK]
Hint: Azure auto-scales apps under load [OK]
Common Mistakes:
  • Assuming apps crash when demand grows
  • Thinking manual server purchase is needed
  • Believing Azure shuts down apps to save money
4. You tried to manage Azure resources but got an error. What is a common mistake that causes this?
medium
A. Running commands without internet connection
B. All of the above
C. Trying to manage resources without permissions
D. Using incorrect login credentials

Solution

  1. Step 1: Identify common errors in Azure management

    Errors can happen if login details are wrong, internet is missing, or user lacks permissions.
  2. Step 2: Combine all causes

    Since all listed reasons can cause errors, the correct choice is the option that includes all.
  3. Final Answer:

    All of the above -> Option B
  4. Quick Check:

    Login, internet, permissions all matter [OK]
Hint: Check login, internet, permissions if errors occur [OK]
Common Mistakes:
  • Ignoring permission issues
  • Not verifying internet connection
  • Using wrong login details
5. You want to build a secure app that can grow quickly without buying hardware. How does Azure help you achieve this?
hard
A. By forcing you to buy and manage physical servers
B. By limiting app size to fixed resources
C. By providing on-demand computing and built-in security features
D. By requiring manual updates for security

Solution

  1. Step 1: Understand Azure's cloud benefits

    Azure offers computing power on demand and includes security features to protect apps without upfront hardware costs.
  2. Step 2: Evaluate other options

    Options A, C, and D are incorrect because Azure does not require physical servers, does not limit app size fixedly, and automates security updates.
  3. Final Answer:

    By providing on-demand computing and built-in security features -> Option C
  4. Quick Check:

    Azure = scalable + secure + no hardware upfront [OK]
Hint: Azure offers secure, scalable, on-demand resources [OK]
Common Mistakes:
  • Thinking physical servers are needed
  • Assuming app size is fixed
  • Believing security updates are manual
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard