100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

AZ-104: Prerequisites for Azure administrators Actual Questions And Answers Graded A+.

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
13-08-2024
Written in
2024/2025

What does a Administrator use the Azure Portal For? - correct answer Lets you build, manage, and monitor everything from simple web apps to complex cloud applications in a singe, unified console. What does a Administrator use the Azure Cloud Shell For? - correct answer An interactive, browser-accessible shell for managing Azure resources. You can choose a shell that best suits the way you work, like a bash shell or PowerShell. Its untethered from a local machine. What does a Administrator use Azure PowerShell For? - correct answer A module you add to Windows PowerShell or PowerShell core to enable you to connect to your azure subscription and manage resources. It adds Azure-specific commands. Comes in an interactive mode with one command at a time (one liners) or a scripting mode where you can execute a script that consists of multiple commands (Like PowerShell ISE) What does a Administrator use Azure CLI For? - correct answer Allows you to execute commands through a terminal, command-line prompt, or script instead of a web browser. Comes in an interactive mode with one command at a time or a scripting mode where you can execute a script using the syntax of your chosen shell. How do you find the commands you need in Azure CLI? - correct answer One way is to use az find, commands in the cli are structured in groups and subgroups. For instance, the Storage group consists of subgroups including account, blob, storage, and queue. with "az find blob" you will get a list of commands and the "--help" argument will get you more detailed info on the command, and for a command group, a list of available subcommands. What is Azure Resource Manager? - correct answer A consistent management layer to perform tasks through Azure PowerShell, Azure CLI, Azure portal, REST API, and client SDKs. The tasks are passed through the same Azure Resource Manager API and authenticates and authorizes requests through the service. Then they are routed to the appropriate resource providers. What are key terminology you should know for Azure Resource Manager? - correct answer resource, resource group, resource provider, template, declarative syntax. What is a resource? - correct answer A manageable item that is available through Azure. Some common resources are a virtual machine, storage account, web app, database, and virtual network, but there are many more. What is a resource group? - correct answer A container that holds related resources for an Azure solution. It can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how to allocate resources based on what makes the most sense for your organization. What is a resource provider? - correct answer A service that supplies the resources you can deploy and manage through Resource Manager. Each resource provider offers operations for working with the resources that are deployed. Common providers are Microsoft.Compute, which supplies the virtual machine resource, Microsoft.Storage, which supplies the storage account resource, and Microsoft.Web which supplies the resources related to web apps. What is a template? - correct answer A JSON (JavaScript Object Notation) file that defines one or more resources to deploy to a resource group. It also defines the dependencies between the deployed resources. Can be used to deploy the resources consistently and repeatedly. What is Declarative Syntax? - correct answer Lets you state "Here is what i intend to create" without having to write the sequence of programming commands to create it. The Resource Manager template is an example of this. What is the format for a resource type? - correct answer {resource-provider}/{resource-type} for example, Microsoft.KeyVault/vaults What are some small rules for resource groups? - correct answer Resources can only exist in one resource group. Resource groups cannot be renamed. Resource groups can have resources of many different types (service) Resource groups can have resources from many different regions. How do you prevent resource groups from being deleted? - correct answer Using Resource Manager locks in the form of Read-Only locks, which prevent any changes to the resource Delete locks, which prevents deletion These locks can be applied to a subscription, resource group, or resource. Can only be created by owner and user access administrator roles What happens when you move a resource to another resource group or subscription? - correct answer Both the source and target group are locked during the operation, write and delete operations are blocked on the resource group until the move completes. How do you move a resource? - correct answer Select the resource group containing those resources and select the move button, acknowledge that you need to update scripts. How do you remove resource groups? - correct answer Use powershell "Remove-AzResourceGroup -name "ContosoRG01" or the delete button on the portal. How do you limit your resource? - correct answer Using the Usage + Quotas option to track current usage, and plan for future use. What is a Azure Resource Manager template? - correct answer Precisely defines all the resource manager resources in a deployment. Can be deployed to a resource group as a single operation What are the benefits of using templates? - correct answer Templates improve consistency Templates help express complex deployments Templates reduce manual, error-prone tasks Templates are code Templates promote reuse Templates are linkable Templates simplify orchestration What language is used for Azure Resource Manager templates? - correct answer They are written in JSON, Allows you to express data stored as an object in text. Key-value pairs What is the parameters section for in a template? - correct answer You can specify which values you can input when deploying the resources What are Azure Quickstart templates? - correct answer Templates provided by the azure community, Everything you need to deploy in your solution or just a starting point for your template What tools are available for administrators to create resource groups and provision Virtual Machines (VMs)? - correct answer The Azure portal The Azure CLI Azure PowerShell What is interactive mode in PowerShell? - correct answer Writing commands and executing them immediately What is a PowerShell cmdlet? - correct answer A command in powershell, it manipulates a single feature PowerShell What is the Get-Help cmdlet for? - correct answer Pulling up a programmed in help file associated with every cmdlet What is a PowerShell module? - correct answer A DLL that includes the code to process each available cmdlet, You can get a list of loaded modules by using the Get-Module command PowerShell What is the Az module - correct answer A module that contains cmdlets to work with Azure features. -AzureRM is a legacy module that should be moved off of What are the steps to create a resource group with Azure PowerShell? - correct answer There are four steps we need to perform: Import the Azure cmdlets. Connect to your Azure subscription. Create the resource group. Verify that creation was successful. PowerShell How do you import the Azure cmdlets? - correct answer Import-Module Az (did you install it into your computer?) PowerShell How do you connect your Azure Acct? - correct answer Connect-AzAccount PowerShell How do you determine what azure subscription you are in? - correct answer Get-AzContext PowerShell How do you change the subscription you are in? - correct answer Select-AzSubscription -SubscriptionID 'XXXXXXXXXXXX' PowerShell How do you get a list of all resource groups? - correct answer Get-AzResourceGroup | Format-Table PowerShell How do you create a resource group? - correct answer New-AzResourceGroup -Name <name> -Location <location> PowerShell How do you create an Azure Virtual Machine? - correct answer New-AzVm -ResourceGroupName <resource group into which the new vm will be placed> -Name <the name of the VM in Azure> -Credential <an object containing the username and password for the VM admin account. The Get-Credential cmdlet will prompt for a username and password and package it into a credential object> -Location <geographic location where the VM will be provisioned> -Image <the operating system to use for the VM, a linux distro or windows server> PowerShell What is a variable? - correct answer Marked as "$variablename = X" variables can be used to package complex items in commandlets further down the script like a group of computers or an item that the user prompts for in the script. This variable persists for the session or until you re assign it What is a PowerShell script? - correct answer A text file containing commands and control constructs. The commands are invocations of cmdlets and the control constructs are programming features like loops, variables, parameters, comments, etc. supplied by PowerShell.

Show more Read less
Institution
AZ 104.
Course
AZ 104.









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AZ 104.
Course
AZ 104.

Document information

Uploaded on
August 13, 2024
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

AZ-104: Prerequisites for Azure
administrators

What does a Administrator use the Azure Portal For? - correct answer Lets you build, manage, and
monitor everything from simple web apps to complex cloud applications in a singe, unified console.



What does a Administrator use the Azure Cloud Shell For? - correct answer An interactive, browser-
accessible shell for managing Azure resources. You can choose a shell that best suits the way you work,
like a bash shell or PowerShell. Its untethered from a local machine.



What does a Administrator use Azure PowerShell For? - correct answer A module you add to
Windows PowerShell or PowerShell core to enable you to connect to your azure subscription and
manage resources. It adds Azure-specific commands. Comes in an interactive mode with one command
at a time (one liners) or a scripting mode where you can execute a script that consists of multiple
commands (Like PowerShell ISE)



What does a Administrator use Azure CLI For? - correct answer Allows you to execute commands
through a terminal, command-line prompt, or script instead of a web browser. Comes in an interactive
mode with one command at a time or a scripting mode where you can execute a script using the syntax
of your chosen shell.



How do you find the commands you need in Azure CLI? - correct answer One way is to use az find,
commands in the cli are structured in groups and subgroups. For instance, the Storage group consists of
subgroups including account, blob, storage, and queue. with "az find blob" you will get a list of
commands and the "--help" argument will get you more detailed info on the command, and for a
command group, a list of available subcommands.



What is Azure Resource Manager? - correct answer A consistent management layer to perform tasks
through Azure PowerShell, Azure CLI, Azure portal, REST API, and client SDKs. The tasks are passed
through the same Azure Resource Manager API and authenticates and authorizes requests through the
service. Then they are routed to the appropriate resource providers.



What are key terminology you should know for Azure Resource Manager? - correct answer resource,
resource group, resource provider, template, declarative syntax.

, What is a resource? - correct answer A manageable item that is available through Azure. Some
common resources are a virtual machine, storage account, web app, database, and virtual network, but
there are many more.



What is a resource group? - correct answer A container that holds related resources for an Azure
solution. It can include all the resources for the solution, or only those resources that you want to
manage as a group. You decide how to allocate resources based on what makes the most sense for your
organization.



What is a resource provider? - correct answer A service that supplies the resources you can deploy
and manage through Resource Manager. Each resource provider offers operations for working with the
resources that are deployed. Common providers are Microsoft.Compute, which supplies the virtual
machine resource, Microsoft.Storage, which supplies the storage account resource, and Microsoft.Web
which supplies the resources related to web apps.



What is a template? - correct answer A JSON (JavaScript Object Notation) file that defines one or
more resources to deploy to a resource group. It also defines the dependencies between the deployed
resources. Can be used to deploy the resources consistently and repeatedly.



What is Declarative Syntax? - correct answer Lets you state "Here is what i intend to create" without
having to write the sequence of programming commands to create it. The Resource Manager template
is an example of this.



What is the format for a resource type? - correct answer {resource-provider}/{resource-type} for
example, Microsoft.KeyVault/vaults



What are some small rules for resource groups? - correct answer Resources can only exist in one
resource group. Resource groups cannot be renamed. Resource groups can have resources of many
different types (service) Resource groups can have resources from many different regions.



How do you prevent resource groups from being deleted? - correct answer Using Resource Manager
locks in the form of

Read-Only locks, which prevent any changes to the resource

Delete locks, which prevents deletion

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Rechga Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
15
Member since
1 year
Number of followers
2
Documents
2232
Last sold
2 weeks ago

5.0

10 reviews

5
10
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions