Q2.
Q3. What is Azure Resource Manager ARM templates?
Q4. Which of the following web applications can be deployed with Azure?
a) ASP.NET,
b) PHP,
c) WCF,
d) All of the mentioned
Q5. Is it possible to call different ARM templates from master ARM templates example calling another template residing somewhere in Azure storage account, or a template residing in github etc?
----------------------------------------------------------------------------------------------------------------------------
Q1.
Answer:
----------------------------------------------------------------------------------------------------------------------------
Q2.
Answer:
----------------------------------------------------------------------------------------------------------------------------
Q3. What is Azure Resource Manager ARM templates?
Answer:
Azure Resource Manager also known as ARM is used to “manage” infrastructures which involve a no. of azure services. It can be used to deploy, manage and delete all the resources together using a simple JSON script known as ARM Templates.
>> It uses the concept of IaC (Infrastructure as Code)
- They contain data in JSON format.
- It is automating the deployment process of many components like VM, Storage account, Virtual network, database, database server etc using ARM templates. you can deploy resources consistently and repeatedly.
- Various sections of ARM templates-
- Schema: Defines structure of the template and the API version used. This is usually constant value. It is internally used by Azure to validate the script below based on schema version defined here. This defines features and capabilities avaliable within the template.
- Parameters: Enable dynamic input for customization during deployment phase.
- Variables: Stores values that can be re-used within JSON template.
- Resource: used to specify the resource we want to deploy or update in Resource Group
- apiVersion: apiVersion is tagged to resources. It defines properties and functionalities avaliable for that resource.
- Functions: These are build in methods that enables you to perform certain operations like string manupulation, conditional logic, resource referring etc.
- Output: Values that are returned after deployment.
----------------------------------------------------------------------------------------------------------------------------
Q4. Which of the following web applications can be deployed with Azure?
a) ASP.NET,
b) PHP,
c) WCF,
d) All of the mentioned
Answer:
D All of the mentioned
----------------------------------------------------------------------------------------------------------------------------
Q5. Is it possible to call different ARM templates from master ARM templates example calling another template residing somewhere in Azure storage account, or a template residing in github etc?
Answer:
Certainly, we can achieve this by Linked Template
Its very common to store the ARM templates at particular location like GitHub or Azure Storage account. We can access the ARM templates with TemplateLink Parameter
To deploy an external template, use the TemplateLink parameter
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "https://raw.githubusercontent.com/yourusername/repo/main/linked-template.json",
"contentVersion": "1.0.0.0"
}----------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment