Saturday, June 27, 2020

How I cleared AZ900 - Approach, Materials and Mock/Practice exam - June 2020


So finally I cleared my AZ 900 examination today and got my first Azure Badge. It was an online exam scheduled at 7 15 PM IST. I joined online at around 6 30 PM and cleared my test prerequisites checks, around 6 45 the 'Begin Exam' link started appearing.  

A proctor(invigilator) will join you on chat and verify your governemnent ID details and the surroundings of your test room. Once they are convinced that you are a fair candidate, They initiate the exam. 

Coming to the exam,  I had a total of 32 questions, and was fairly easy considering I prepared just a couple of days ahead. Below are the materials that I used to prepare, 


  • FreeCodeCamp.Org crash course in Youtube - Partnered with ExamPro.com
This is the only video tutorial I went through to crack the exam. It is just 3 hours long, really easy and straight forward. Doesn't overburden you with a lot of things and is straight to point. 



        This is a very exhaustive course. If you really have the time, do consider giving this course a try. More than the course, there are two practice set of questions at the end of this course. First one with around 115 questions and second with 100 questions. The questions I got on the exam were mostly connected to the questions on this course. Maybe a little re-worded from the course, but the content sticks to the same. I did both these question sets around 2 to 3 times on exam day and made sure I consistently got 90%+ scores. 

       I also went through this dump, this one is really close to the exam as well. You can expect most questions in this exam to be more or less connected to the questions discussed here. 

Out of the 32 questions, guess around 4-5 were not from the dump, but were more or less connected to questions from these dumps.

Update - 06/29/2020 - Suggested read on Key Focus Areas and Concepts to Clear AZ900 exam

To summarize, if you are running short on time. Start with the 3 hour FreeCodeCamp course. Thoroughly take notes and understand. Once you are done with the course, repeat, repeat, and again repeat these practice questions until you consistently get a 90%+ score.


Monday, June 22, 2020

Resources in Microsoft Azure - Hierarchy, Prerequisite and Examples

Resources are the most fundamental entity in a Microsoft Azure cloud solution. Anything from Virtual Machines to Azure SQL databases to Storage accounts can be classified as an Azure resource. 

To create a resource in Azure, as a prerequisite, you would require four levels of hierarchy, 'Resource' being the last in the tree and Management group being the first. The below diagram explains a sample, where we examine the resources created for a sample ETL project. Where you have two database servers, one for source and target, a resource each for both. Since they are both resources that point to databases, logically I grouped them under one Resource Group. 

Here in the example below, we created one resource group for the server hosting the ETL tool. The images of this server for multiple environments( Development, Test, Production), all can be logically grouped under one single Resource Group again. Same way for any visualization tool. 

Azure AZ900 Hierarchy



The first and fore-most prerequisite to create a resource is to have a Resource group. Again a resource group is only created under a Subscription group and a subscription group under a Management group.

Below are the four levels,
  1. Management Group - Logical containers holding multiple subscriptions
  2. Subscription - Logical containers holding Resource Groups and billing in Azure.
  3. Resource Group - Logical containers grouping multiple individual resource, separately or individually.
  4. Resources - Lowest level of entity/object in Azure.                       

More reads on Azure Resource and it's hierarchy are available in below link.

Monday, June 8, 2020

Creating your First Azure Cloud Free Account - Step by Step

  
Recently I tried out creating my first Azure free account to play around the portal and prepare for the 'AZ-900' fundamentals certification. Below are the steps to create your own, it's really easy, however you require a few prerequisites upfront.

Prerequisites to create an Azure free account,
  1. A valid working Phone number.
  2. A valid Credit/Debit Card.
  3. A Microsoft Account username. 

First you need a Microsoft Account, I already had one as I use a secondary outlook account. If you don't have one it is really easy to create, you can create one here at https://account.microsoft.com/account?lang=en-hk .

Secondly you need to have a valid Credit/Debit Card, This is mandatory, I was charged Rs 2, when I signed up. Other than this nominal fee, Microsoft doesn't charge you unless you allow it to. If you exhaust up your resources, you will be asked if you need an upgrade, if you opt for one, you will be charged based on the plan you opted for. So for people looking to create a new account, this shouldn't be a worry/deterrent. 

Thirdly, you need to have a valid phone number which is associated to your Microsoft account, this is where you receive a One Time Password(OTP) which you have to provide during the sign-up process. 

Once you have the above prerequisites ready, go to  https://azure.microsoft.com/en-us/free/, click on Start Free,


Create Azure Free Account


This will take you to a new form page, where you have to give details across four sub sections, 
About you, Identity verification by Phone, Verification by Card, and Agreement.

About you

In About you section, basic details are requested for, from First Name, Last Name, Email Address, Phone Number and Organization. See screenshot below,




Here PAN ID is optional.

Verification by Phone,

In the second section, you have to verify your mobile number with a one-time-password (OTP) send to your mobile number. 



Identity Verification by Card


This is where you have verify your identity, by providing your Debit/Credit card details.



I was charged a very nominal Rs 2, while creating the account.

Sign Agreeement




That's it, once you are done. You can login to your free account and start exploring. Happy learning everyone. 

Friday, May 1, 2020

AZ 900 - Microsoft Azure Cloud - Basic learning path - Part 1

Updated - 06/26 - I cleared AZ900 and here is my AZ900 quick learning path. 

For my career, right now it's high time I up-skilled and get certified in Cloud. I currently work on an Insurance framework which is hosted on an AWS Cloud platform. Though my current work confines me inside an AWS VM machine at all times, I understand that the world is moving aggressively towards cloud platforms and it is easy to fall behind if you don't keep up with that pace.

Thankfully a bunch of colleagues have started a group team learning session to share knowledge around Cloud with the aim of getting the team certified. 

The plan is to get myself certified on the below, before the end of the year, more than getting certified, get a detailed understanding of how cloud works. 
In Parallel, I have also started at looking multiple materials on the Azure Cloud. Here are a few materials online, which helped me get a basic understanding of Cloud for AZ-900 certification.

           Duration : 1 hour 13 minutes. 
           Author: David Chappel

            I was very fortunate to come across this course in April 2020, when PluralSight really opened up it's courses for Free. The course was published in 2015, despite that the course covers Cloud computing basics, and it explains a wide range of scenarios of how Cloud can be implemented by Enterprises and how it can add significant value over the in house systems.

The author is a very experienced cloud architect/practitioner, who at all points in the course, keeps it simple and straight forward. There is no overuse of technical jargon. Easy to understand scenario examples.

Each time I learn something new, I keep a bookmark to a 'Back to the basics course', and this would definitely be the one for Cloud Computing. 


         Going through official documentation is not always a pleasant and fruitful experience. Some tools/frameworks have such complex documentation that you end up being more puzzled than before you referred it. This case it is really simple and straight forward. I already completed two units and it's really easy. My suggestion is you take up a video course and in parallel go through this Microsoft documentation.

I am also looking at finding and shortlisting one Udemy course, there are a handful of ones with good review and rating.  I am trying to shortlist one and write note in the Part 2 version of this blog series - Learning Cloud.

There is also a plan for me to make this a series, I will try to prepare a cheat-sheet notebook and try sharing it here.




Friday, February 7, 2020

Parameterize Schema/Owner Name in SAP BODS SQL scripting function

Scenario: Requirement was to parameterize a schema name in SQL function in BODS scripting language. Schema name should be fetched from the datastore connection and used dynamically in job.

 You can follow the below steps to get this done,

Step 1: First fetch the schema name from the datastore name. Declare a variable in workflow, say $LV_TableOwnerDB to store the schema name. WE can use db_owner pre-built function for the same as below,


# Get the schema/owner name from from datastore using alias name.
$LV_TableOwnerDB = db_owner( 'DATASTORE_NAME', 'ALIAS_NAME');
 print('TABLE OWNER  = '||$LV_TableOwnerDB);

Now $LV_TableOwnerDB variable would store the schema name of your target database.

Step 2: Now declare another variable where you store the SQL Script to be executed.

$LV_Temp = 'UPDATE '||CAST($LV_TableOwnerDB,'VARCHAR(15)')||'.TABLE_NAME SET ACTIVE_FL =\'Y\' WHERE ACTIVE_FL=\'N\'';
Print($LV_Temp);

Step 3: Now pass the variable with SQL stored as argument to the sql function as the second parameter below.

sql('DATASTORE_NAME',$LV_Temp);

Suppose the Datatstore name is 'EDW_HR' alias name defined in datastore is 'ALIAS_1', the script would be as below,

# Get the schema/owner name from from datastore using alias name.
$LV_TableOwnerDB = db_owner( 'EDW_HR', 'ALIAS_1'); print('TABLE OWNER  = '||$LV_TableOwnerDB);
$LV_Temp = 'UPDATE '||CAST($LV_TableOwnerDB,'VARCHAR(15)')||'.TABLE_NAME SET ACTIVE_FL =\'Y\' WHERE ACTIVE_FL=\'N\'';Print($LV_Temp);
sql('EDW_HR',$LV_Temp);

Let us know if this helped. :)