Cloud Institution

#aws #devops #bestdevopscourse #terraform #besttraininginstitution #bestcloudcomputinginstitution #cloudcomputing #bestterraformcourse #azurecourseinbangalore

Azure questions
AZURE, Cloud Computing

AZURE Questions and Answers Part-5

AZURE Questions and Answers Part-5 1.Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the onpremises Active Directory domain.You plan to deploy several new virtual machines (VMs) in Azure. The VMs will have the same operating system and custom software requirements.You configure a reference VM in the on-premise virtual environment. You then generalize the VM to create an image.You need to upload the image to Azure to ensure that it is available for selection when you create the new Azure VMs.Which PowerShell cmdlets should you use? A. Add-AzVMB. Add-AzVhdC. Add-AzImageD. Add-AzImageDataDisk B. Add-AzVhd Click to Know Answet Collapse 2.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company’s Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB.VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company’s on- premises network and VirtualNetworkA.You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering betweenVirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company’s on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation.Solution: You choose the Allow gateway transit setting on VirtualNetworkA.Does the solution meet the goal? A. YesB. No B. No Click to Know Answet Collapse 3.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company’s Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB.VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company’s on- premises network and VirtualNetworkA.You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering betweenVirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company’s on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation.Solution: You choose the Allow gateway transit setting on VirtualNetworkB.Does the solution meet the goal? A. YesB. No B. No Click to Know Answet Collapse 4.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company’s Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB.VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company’s on- premises network and VirtualNetworkA.You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering betweenVirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company’s on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation.You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation.Solution: You download and re-install the VPN client configuration package on the Windows 10 workstation.Does the solution meet the goal? A. YesB. No A. Yes Click to Know Answet Collapse 5.Your company has virtual machines (VMs) hosted in Microsoft Azure. The VMs are located in a single Azure virtual network named VNet1.The company has users that work remotely. The remote workers require access to the VMs on VNet1.You need to provide access for the remote workers.What should you do? A. Configure a Site-to-Site (S2S) VPN.B. Configure a VNet-toVNet VPN.C. Configure a Point-to-Site (P2S) VPN.D. Configure DirectAccess on a Windows Server 2012 server VM.E. Configure a Multi-Site VPN C. Configure a Point-to-Site (P2S) VPN. Click to Know Answet Collapse For  more azure Question and Answer Click here  For  more information Visit Cloud Institution 

Azure questions
AZURE, Cloud Computing

AZURE Questions and Answers Part-4

AZURE Questions and Answers Part-4 1.Your company has three virtual machines (VMs) that are included in an availability set.You try to resize one of the VMs, which returns an allocation failure message.It is imperative that the VM is resized.Which of the following actions should you take? A. You should only stop one of the VMs.B. You should stop two of the VMs.C. You should stop all three VMs.D. You should remove the necessary VM from the availability set C. You should stop all three VMs. Click to Know Answet Collapse 2.You have an Azure virtual machine (VM) that has a single data disk. You have been tasked with attaching this data disk to another Azure VM.You need to make sure that your strategy allows for the virtual machines to be offline for the least amount of time possible.Which of the following is the action you should take FIRST? A. Stop the VM that includes the data disk.B. Stop the VM that the data disk must be attached to.C. Detach the data disk.D. Delete the VM that includes the data disk. C. Detach the data disk. Click to Know Answet Collapse 3.Your company has an Azure subscription.You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set.You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance.Which of the following is the value that you should configure for the platformFaultDomainCount property? A. 10B. 30C. Min ValueD. Max Value D. Max Value Click to Know Answet Collapse 4.Your company has an Azure subscription.You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set.You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance.Which of the following is the value that you should configure for the platformUpdateDomainCount property? A. 10B. 20C. 30D. 40 B. 20 Click to Know Answet Collapse 5.Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the onpremises Active Directory domain.The on-premise virtual environment consists of virtual machines (VMs) running on Windows Server 2012 R2 HyperV host servers.You have created some PowerShell scripts to automate the configuration of newly created VMs. You plan to create several new VMs.You need a solution that ensures the scripts are run on the new VMs.Which of the following is the best solution? A. Configure a SetupComplete.cmd batch file in the %windir%setupscripts directory.B. Configure a Group Policy Object (GPO) to run the scripts as logon scripts.C. Configure a Group Policy Object (GPO) to run the scripts as startup scripts.D. Place the scripts in a new virtual hard disk (VHD) A. Configure a SetupComplete.cmd batch file in the %windir%setupscripts directory. Click to Know Answet Collapse For  more azure Question and Answer Click here  For  more information Visit Cloud Institution  https://www.youtube.com/watch?v=6oguZg_qpbQ&list=PLNV8WHK03GvltFjM6ZMr2kjil3QQ1oiFL&index=1

Azure questions
AZURE, Cloud Computing

AZURE Questions and Answers Part-3

AZURE Questions and Answers Part-3 1.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on-premises ActiveDirectory domain.You have a server named DirSync1 that is configured as a DirSync server.You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately.Solution: You restart the NetLogon service on a domain controller.Does the solution meet the goal?  A. Yes B. No  B. No Click to Know Answet Collapse 2.Your company has a Microsoft Azure subscription.The company has datacenters in Los Angeles and New York.You are configuring the two datacenters as geo-clustered sites for site resiliency.You need to recommend an Azure storage redundancy option.You have the following data storage requirements:✑ Data must be stored on multiple nodes.✑ Data must be stored on nodes in separate geographic locations.✑ Data can be read from the secondary location as well as from the primary location.Which of the following Azure stored redundancy options should you recommend? A. Geo-redundant storageB. Read-only geo-redundant storageC. Zone-redundant storageD. Locally redundant storage B. Read-only geo-redundant storage Click to Know Answet Collapse 3.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account.You want to review the ARM template that was used by Jon Ross.Solution: You access the Virtual Machine blade.Does the solution meet the goal?  A. Yes B. No  B. No Click to Know Answet Collapse 4.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account.You want to review the ARM template that was used by Jon Ross.Solution: You access the Resource Group blade.Does the solution meet the goal?  A. Yes B. No  A. Yes Click to Know Answet Collapse 5.Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share.A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account.You want to review the ARM template that was used by Jon Ross.Solution: You access the Container blade.Does the solution meet the goal?  A. Yes B. No  B. No Click to Know Answet Collapse For  more azure Question and Answer Click here  For  more information Visit Cloud Institution  https://www.youtube.com/watch?v=YiHuUi5Cvbg&list=PLNV8WHK03GvltFjM6ZMr2kjil3QQ1oiFL&index=2

Illustration of running your first Terraform program on AWS with a Terraform logo.
AWS, Cloud Computing, DevOps, Terraform

Running your First Terraform Program on AWS

Run Your First Terraform Program on AWS Terraform is an open-source infrastructure as code tool that allows you to build, change, and manage infrastructure in a consistent and repeatable manner using simple configuration files.  If you’re new to Terraform and looking to leverage its power for managing infrastructure on AWS, this guide is for you. Terraform on AWS is the Infrastructure as Code (IaC) tool, simplifies cloud resource provisioning, allowing you to automate and manage infrastructure efficiently. Let’s dive into how to run your first Terraform program on AWS. 1. Prerequisites 1.1 AWS Account Set up an AWS account at aws.amazon.com 1.2 Terraform Installation  Download and install Terraform 1.3 Visual Studio Code Installation Install Visual Studio Code (VS Code). Install the HashiCorp Terraform extension in VS Code for syntax support and code completion.  After Installing the extension, Set Up the Project Directory. 1.4 Set Up the Project Directory Create a new folder for your Terraform project files. Inside this folder, create a new file named main.tf Now, go to AWS Terraform Provider : Please navigate to the Provider section to obtain the base configuration code. Copy this code and paste it into your main.tf file for use in your Terraform project. Here is the Code, Terraform provider  Copy this code and paste it in main.tfterraform {required_providers {aws = {source = “hashicorp/aws”version = “5.75.1”}}}provider “aws” {# Configuration options} Copy this code and paste it in main.tf To Configure the aws into terraform, go terminal type the following commands   Type aws configure and give enter : After applying commands, it will ask you to enter the aws access key id   To get the Access ID, go to AWS console and go to the Security Credentials. Go to Create Access key and create the key After creating, you will get the Access key and Secret Access key Copy the Access key and paste it in the terminal After entering the access and secret keys, it will prompt you for the region and output format. Leave it as it is and press Enter.   Now we should run our code. To run the resources, type the following commands: terraform init The terraform init command initializes your working directory by downloading provider plugins, setting up backend configuration, loading modules, and preparing Terraform to manage infrastructure based on your configuration files.Before we move on  to next step, we will add one IAM user using terraform. Go to the aws terraform provider and search IAM. You will get the code to create IAM using terraform. Here is the code, aws_iam_user Copy the code and paste it in our main.tf file provider “aws” {region = “us-east-1” # Change to your desired AWS region}resource “aws_iam_user” “example_user” {name = “example-user” # Define the IAM user name} Here you can add any name and any region to create IAM Users Now give the command called terraform plan The terraform plan command previews changes Terraform will make to align the actual infrastructure with your configuration, and give the blue print like structure.     Now follow the command called terraform apply The terraform apply command executes the planned changes, creating, updating and resources to match your configuration   Give yes to perform actions . You have successfully initialized your first Terraform code configuration in AWS. To check the IAM user, go to the aws console and search iam and go to users The user was successfully added   Now the last command called terraform destroy  Give yes to make destroy all resources. The terraform destroy command removes all resources managed by Terraform in your configuration, effectively deleting the infrastructure. To check, go to the aws console and go to the IAM Users Here there is no resource to display, because the resource was destroyed using terraform   Thus the users to display. For  more AWS Question and Answer Click here  Stay Updated! Follow us on Facebook, LinkedIn, and Instagram for the latest updates, success stories, and career tips. For  more information Visit Cloud Institution 

Scroll to Top