Cloud Solution Architect Technical Interview Questions

Are you willing to become cloud solution architect? I am going to add a few important technical questions that you must know for your next cloud solution architect interview. My answers would not be perfect so feel free to search for better answers. Important part from this article is what kind of technical questions you should know to become a good cloud solution architect. So focus on the questions that I am asking here and learn from anywhere about their answers.

Most of the time you will be asked various open-ended technical questions. The best strategy to answer them is think of below 4 things:

  • What is technology?
  • How does it work?
  • Why would you use it?
  • How do you architect them?

You must know what a software Architect does?

  1. Business strategist
  2. Advisor
  3. designer

They have to speak the languages of CEO, CIO, CFO and Engineers.

What is Amazon EC2 (Elastic Compute Cloud) in AWS or Virtual Machine in Azure cloud?

It is virtualization of computers on cloud. Amazon EC2 is a virtualized machine where we can install applications and OS. It is an Infrastructure as a Service offering. We virtualize storage, network, CPU etc. using hypervisors.

What is caching and how does it work?

Caching is to offload servers by storing high frequently added information in the cache. If the user tries to take information from DB. It goes to cache and it will return. If the cache has no data it will go to the server return and cache it. Next person asks if it will return from the cache. It can improve performance, it can reduce latency. If you set up time to live of data in cache to timeout to keep it refreshing.

What is DNS? And what are the key record types?

Domain name System used to map IP addresses to a user friendly name. Phonebook of the internet. You can route traffic Based on geography, latency , weight etc. Key Record Types are as following:

  1. A Record that match name to IPV4 address
  2. AAAA Record that match name to IPV6 address
  3. CNAME record where u map one domain to another domain
  4. MX Record required for email.

 What is the MiTM (Man in The Middle) attack?

“A Man-In-The-Middle attack is the type of attack where attackers intrude into an existing connection to intercept the exchanged data and inject false information. It involves eavesdropping on a connection and intercepting messages.” -Toolbox for IT.

Hackers can use Packet sniffing software (WIRESHARK) to intrude the connection. Get the sender and receiver server information. He can get access to the website as Alice or Bob.

Data encryption at rest and transit?

At rest encrypt the disk and hence you get data encryption at rest out of the box. At transit use VPN or SSL/TLS (HTTPS = 443) to secure your data by hashing it during transit.

What is Symmetric and Asymmetric?

Asymmetric: Sender data is encrypted with key1 and the receiver side uses key2 to decrypt the data.

Symmetric: both sender and receiver use the same key to encrypt and decrypt data.

What is NMap?

Used to scan a network, segment or host to find out the open ports. So that you can attack on those ports. Interviewer may ask if there is a linux machine and it has an application that is not working. What will you do. I will answer by saying I will first scan the network by using Nmap or wireshark to find out which ports are closed or opened etc.

What is IAM?

Users are defined in IAM and they get assigned with roles and they have access based on the role to the protected resources. Also it does logging of each activity done by the user.  Authentication & Authorization also done by IAM. Who is the user and what he is allowed to do.

What is Social Engineering?

Social Engineer is someone who is a master of asking seemingly non-invasive

or unimportant questions to gather information over time

  • Gain trust
  • Reduce defenses

Social Engineer use deception to get sensitive info from someone also s/he can combine number of techniques to gather sensitive information.

How would you secure enterprise?

Follow Multi layer approach:

  • Policy
  • Look from User , Encryption, IAM and Tech perspective
  • Create Firewall protect your network perimeter
  • IDS and IPS system behind the firewall
  • DDoS ( Aws shield, cloud flare )
  • ACLS on the router and subnet
  • On the VM you install WAF to protect (XSS, XSRF)
  • Physical system secure ( like MAC address stop unused ports )
  • Phishing attack secure

How would you secure the cloud?

Follow Defence in Depth and secure physical to data layer.

Steps are as below:

  • Physical security
  • IAM (Identity and Access Management)
  • DDos, Firewall (Perimeter), IDS/IPS or intelligent thread detection
  • NSG (Network Security Group): Network protection
  • WAF (Web Application Firewall): Compute, Patches, Malware protection etc.
  • Application: design/code review of applications installed
  • Data: User azure PaaS services which is by default data at rest.

What is DDoS ?

Distributed denial of service (DDOS) is when a server is exhausted by serving large numbers malicious requests and could not serve genuine requests is called DDoS. It loses CIA principle ( Confidentiality , Integrity and Availability ). Now it is not available for genuine users.  Azure DDoS protection , cloud flare , AWS shield can save you.

What is IDS or IPS?

IDS (IIntrusion Detection System)

  • Been around for quite awhile, fairly common and easier to set up. Logs alerts and events for later analysis
  • Allows for reactive response / research

IPS ( Intrusion Prevention System)

  • Newer platform over the last few years
  • Enables prevention (such as blocking IP addresses, etc.)
  • False positives could block legitimate traffic

What is DHCP?

Dynamic host configuration protocol (DHCP) This is a server that assigns automatically/dynamically IP to connected hosts or servers. Suppose you have 300K systems then you use DHCP. How does it work? Whenever a new system comes up. It sends a broadcast (“Hey I am new in the network I need an address” ) called DHCP discover. All the DHCP servers will respond ( called as DHCP offer ). If there are 10 DHCP servers the client will receive 10 IPs then the client has to send a DHCP request to his favorite or desired DHCP server.  Then the server sends back a DHCP acknowledgement to the client.

What is a VLAN? 

VLAN (virtual local area network) You have 100 computers in one switch and within one subnet. Limit the finance to access the things only they need. Finance, HR, Sales, ITOps team might need access to everything. You can virtualize your switch to chop into multiple virtual logical switches. This way you can enhance security for those logical groups of computers. Cloud Architect Technical Interview (Master The Cloud Architect Interview Questions!)

What is VLAN Trunking?

4 VLAN in single switch and another 4 in other switch u run a single cable between them to establish connection. That is called VLAN Trunking? How do you do it in a private and secure manner? The trunk has a tag for a VLAN. Each VLAN will get its own IEEE 802.1Q tag.

In a cloud computing environment. On-premise to Azure cloud when you do direct connection or express route. You send data over VLAN over a Trunk. Azure takes your information and your VLAN Tag and keeps it separate from other customers’ traffic.

What’s the difference between a hybrid cloud and a full cloud environment ? And what are the advantages of each?

Hybrid Cloud architecturally speaking you have your datacenter that has servers, compute, storage, networking and security and you also have the cloud. And you have both connected to get the benefits  of your current infrastructure and connect the cloud to get the agility, scaling, and resilience.

Performance: You get lower latency from your datacenter compared to the cloud. Also you get control in case the cloud is down and you have your datacenter still running.

Native Cloud has No maintenance switch, routing, cooling, heating, physical security etc. If you are a new company and you don’t have money for capex then you should use cloud. So you save money and only spend on OPEX. You get more speed and scaling, reliance.

How can autoscaling help with DDoS protection?

Hackers control multiple computers and they send requests to your network and overwhelm your systems. If your system can handle 10K web requests and DDoS is giving 30K requests per system. Each of the systems had autoscaling enabled. Then automatically when the system will be over utilized (75% or more) cloud will add a new system and load balance them. So now you spawn up 10 diff systems and now you can handle 50K requests. So the DDoS attack was controlled by auto scaling.

What is Classful IP Addressing and problems?

Classful IP addressing host counts:

  • Class A - 16 million host identifiers
  • Class B - 65535 host identifiers
  • Class C - 254   host identifiers

Classful IP addressing IP ranges:

  • Class A 1.0.0.0-127.255.255.255 with mask 255.0.0.0 or (/8 in CIDR), 16 millions (2^24-2) IPs and 2^7 Networks.
  • Class B 128.0.0.0-191.255.255.255 with default subnet mask of 255.255.0.0 (/16 in CIDR) 65K (2^16-2) IPs and 2^14 Networks.
  • Class C 192.0.0.0-223.255.255.255 with default subnet mask of 255.255.255.0 (/24in CIDR) 254 (2^8-2) IPS and 2^21 Networks.
  • Class D and E are reserved for multicasts. 224.0.0.0 - 239.255.255.255

The problem would commonly occur when an organization required more than 254 host machines and therefore would no longer fall into class C but rather class B. This means that the organization would use a class B license even though they had far less than 65,535 hosts. Therefore if an organization only required 2,500 hosts, they would be wasting about 63,000 hosts by holding a class B license which would greatly decrease the availability of IPv4 addresses unnecessarily

From <https://www.keycdn.com/support/what-is-cidr>

What is CIDR?

Classless Inter-Domain Routing (CIDR) divides the IP address in network ID and host Id. CIDR is also known as supernetting. It is a method of allocating IP address and IP routing. It replaces the old school of classful IP addressing. CIDR is based on variable-length subnet masking (VLSM). This allows it to define prefixes of arbitrary lengths making it much more efficient than the old system. CIDR IP addresses are composed of two sets of numbers. The network address is written as a prefix, like you would see a normal IP address (e.g. 192.255.255.255). The second part is the suffix which indicates how many bits are in the entire address (e.g. /12). Putting it together, a CIDR IP address would look like the following: 192.255.255.255/12. The network prefix is also specified as part of the IP address. This varies depending upon the number of bits required. Therefore, taking the example above, we can say that the first 12 bits are the network part of the address while the last 20 bits are for host addresses.

What is SQS?

Simple Queueing System. Decouple A and B so you can scale both of them independently. It is used to decouple 2 independent components or microservices by giving reliable communication mechanisms.

What is autoscaling?

Buy the biggest server to meet your busiest day. On Christmas they get 10M requests. They can buy VMs and put them in an auto scaling group to scale automatically.

However in the cloud you get an autoscaling group for EC2 instances in AWS and you have Virtual Machine Scale Set in Microsoft Azure cloud.

There you just need to define:

  1. Desired Capacity : 2
  2. Minimum Capacity : 2
  3. Maximum Size: 10 when 75% of both machine is reach

What is a Load Balancer? Why do you use it?

It is a server or a hardware that will determine which server to send traffic. To share the traffic. What if a single server failed because of load. You don’t have redundancy. For designing High  Performance, High Available web applications, you need a load balancer. Load balancers increase the availability and performance of your system.

We can divide the load balancer in 2 parts: network and application load balancer.

Network Load Balancers are really fast because they work at layer -4. They are looking at TCP headers and they are pushing  at your servers. So if you want high performance you need a network load balancer. Cross-Region or global load balancing.

Application Load Balancers work at layer-7 so it is a web-traffic load balancer so they enable us to manage traffic to your web application. SSL termination, cookie-based session, round robin for load-balancing traffic. If you want application intelligence and routing then use this.

If you want to route between microservices then use it.

How load balancing works

What is API Gateway and its benefits?

https://dashbird.io/blog/can-api-gateway-act-load-balancer/

API Gateway offers below which ALB does not:

  • It integrates with IAM
  • Authentication & Authorization
  • API Tokens issuing and managing
  • Throttling
  • Caching

What is Firewall?

  • It blocks traffic at the edge of your network,
  • it keeps your network secure
  • It blocks all traffic denied by policies
  • It lets your outbound traffic back if it’s coming from you.

A firewall protects the perimeter of the edge of your network. It is a security appliance that’s basically standing guard saying you are not allowed in, you are allowed. It looks at traffic based on policy. By default it will block all the traffic from coming in. It will allow your internal traffic out on the internet and it will allow all your return traffic back through the firewall. Because Firewalls are Stateful therefore. Within perimeter if Mike wants to open google.com. Firewall is Stateful it will say okay Mike started the session, let his return traffic come back because, I know it’s destined for mike and  I know it’s related to the same session where Mike requested google.com. 

How does cloud computing affect an organization’s costs?

Saves capital cost. Costs like Workstation, firewall, load balancer, cooling, networking, power etc.

Operation cost also like : Electric bill, Network, staff

Move to the cloud, nothing to buy. You can do lift and shift and save capex. You only pay for what you use. Your Capex goes down and Opex goes up. Agility benefit, u can spawn up vms fastly.

What are VPC flow Logs ? NSG flow log In Azure?

In networking we have Cisco NetFlow. It will examine the traffic, they would cross cisco routers and you could say, hm the traffic all going from here to end point B and check for security violation. You can find areas of congestion in your network. Check any issue on network traffic and troubleshoot.

Vpc flow log gives info about traffic flow. They are excellent for any network troubleshooting especially in security.

It will tell you below things:

  • Source
  • Destination
  • Protocols
  • Port number

Something accepted by ACL but rejected by security group. If this traffic was supposed to be a web app hosted in a VM and you want to know why it got rejected by SG. Check the VPC flow logs.

What’s needed for a simple lift and shift of a system to the cloud?

Define the configuration of the server like How many cores, RAM and Storage.

What is the difference between Latency based Routing and Geolocation based routing?

Latency routing is for speed and performance, geo-location routing will also optimize the speed and performance however it will also send traffic to appropriate websites based on their locations.

Latency based routing determines the lowest latency and sends you to the web server with the lowest latency so you get the best experience

Latency based routing done by Traffic Manager/Front door

Geolocation routing looks at the source IP address and determines what is closest to you and sends them to a different destination. Example you can check IP and decide province and route to that website. For Finch province route to the French website. Route the English province to the English website. If you are dealing with a company having Multi Language websites there, use this.

What is the difference between a region, an availability zone, an edge location and local zone?

What is Region?

AWS has the concept of a Region, which is a physical location around the world where we cluster data centers. We call each group of logical data centers an Availability Zone. Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area.

What is Availability Zone?

From <https://aws.amazon.com/about-aws/global-infrastructure/regions_az/> An Availability Zone (AZ) is one or more discrete data centers with redundant power, networking, and connectivity in an AWS Region.

What is Local Zones?

From <https://aws.amazon.com/about-aws/global-infrastructure/regions_az/> AWS Local Zones place compute, storage, database, and other select AWS services closer to end-users. This is for critical latency systems like Games.

What is Edge Location?

From <https://aws.amazon.com/about-aws/global-infrastructure/regions_az/> Edge location is Reliable, low latency and high throughput network connectivity. Amazon CloudFront peers with thousands of Tier 1/2/3 telecom carriers globally, is well connected with all major access networks for optimal performance, and has hundreds of terabits of deployed capacity. CloudFront Edge locations are connected to the AWS Regions through the AWS network backbone - fully redundant, multiple 100GbE parallel fiber that circles the globe and links with tens of thousands of networks for improved origin fetches and dynamic content acceleration.

To deliver content to end users with lower latency, Amazon CloudFront uses a global network of 225+ Points of Presence (215+ Edge locations and 13 regional mid-tier caches) in 90 cities across 47 countries. Amazon CloudFront Edge locations are located in: North America, Europe, Asia etc.

From <https://aws.amazon.com/cloudfront/features/?whats-new-cloudfront.sort-by=item.additionalFields.postDateTime&whats-new-cloudfront.sort-order=desc>

What is IAM?

AAA (authentication, authorization and accounting)

Who is allowed in the system, What they can do and Track what they do.

What is an 802.1Q tag?

VLAN is a subnet in the cloud. Take a physical switch and virtualize them here are examples:

  • Port 10-20 vlan -2
  • Port 20-30 vlan -3
  • Port 30-40 vlan-4

Take a single physical connection coming from on-premise to cloud vlan network using 802.1Q tag. With 802.1q tag aws separate your traffic from other customers for direct connection.

What is CDN?

Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.

From <https://aws.amazon.com/cloudfront/>

  • Speed up content
  • Reduce network bandwidth to aws network
  • Closer to user
  • Guaranteed performance

Instead of going to Amazon.com go to dns and data center. It goes to CDN and you are calling from Miami and serving the site from that location. If cdn has not site cached then it can go fastly to the datacenter and fetch the content since cdn is on aws edge location which is connected to the aws backbone network. Reducing load on web server and Transfer cost on AWS or any cloud network for other cloud service providers.

What is the process to take a web server and make it publicly available on the internet if you are inside of the AWS cloud ?

You will take an external public IP from amazon pool and assign it to EC2 instance. From EC2 now you want the default router to be the internet router. Therefore, you need an internet gateway.

Answer is /30 So I got 4 IP 2 reserved and got 2 free.

  • 192.168.0.0/30
  • 192.168.0.1/30
  • 192.168.0.2/30
  • 192.168.0.3/30

0.0.0.0 reserved for  internet and 255.255.255.255  is for broadcast

What is the difference between IOPS and throughput?

IOPS (input output per seconds) determines how frequently you can read and write to the disc and how  fast. IOPS is related to latency the higher the IOPS, meaning the more read/write operations per second, the lower the latency.

NVME (Non-Volatile Memory Express) is faster than SSD. Both NVME and SSD drives tend to have relatively low latency because the read/write operations are very fast or the IOPS are very fast. Magnetic drives have much higher latency and much lower IOPS. But if you put a bunch of Magnetic drives together in a RAID environment you can still get great THROUGHOUT. IOPS inversely proposal to Latency

The higher IOPS the lower latency and the latency on the network and vice versa. THROUGHPUT is the amount of stuff and data that can be moved at any one period of time.

Example: cars run 55 mph then its throughput would be whatever it could stuff in the trunk, or the boot, But if you had a Freight Train with 55 mph then you could carry a lot more  stuff. And the stuff is the THROUGHPUT.

IOPS = LATENCY
THROUGHPUT = The amount of STUFF

Use case of IOPS and Throughput:

Video editors need a drive that needs high throughput because they are working with large video files but they can tolerate the latency.

A database needs extreme speed in terms of read and write operation but it is not moving large amounts of data then it needs higher IOPS.

What is the difference between ACL and NSG ?

Access Control Lists (ACL) is a Networking concept. It keeps traffic out of the subnet and Network Security Group (NSG) keeps traffic out of the Host. ACL protects the subnet and NSG protects the server. ACLs are stateless meaning it is not tracking the state of the connection. The traffic that is allowed in is not being monitored, so therefore, you don’t know a lot of return traffic. So rules in ACL have to be applied in both directions.

NSG is just like a firewall, it is stateful so you have to only enable the inbound direction. So if traffic is coming to the host then the return traffic is allowed from the same host back to the source.

ACL works at layer -3, NSG is stateful They are stateful, meaning that they allow return traffic to flow. In general allow everything in and out and block the specific one.

Stateful vs Stateless?

Stateful services keep track of sessions or transactions and react differently to the same inputs based on that history. Stateless services rely on clients to maintain sessions and center around operations that manipulate resources, rather than the state.

  1. ACL is stateless
  2. Firewall is stateful
  3. NSG is stateful both in AWS and Azure

What is RAID 0, 1, 5 , 10?

Redundant Array of Independent Disks (RAID) is a virtual disk technology that combines multiple physical drives into one unit.

  • Raid-0: Stripping, high speed, no FT, 100% capacity, data can not be recovered
  • Raid-1: Mirroring , normal speed, FT, 50% capacity, data can be recovered when 1 disk crash, during 1 disk crash performance remains same, minimum 2 disk required. If you have 2 , 10TB drives you get only 1TB of storage.
  • Raid-5: Stripping with Parity, High Throughput and normal IOPS,  normal speed, FT, 1 disk capacity we lose, minimum 3 disk we need, 1 disk for parity bit, if any 1 disk failed data can be recovered, during disk failure performance become more down because it has to calculate the parity bit, capacity wise 1 disk capacity lost and used for parity saving
  • Raid-10: Stripping and Mirroring together,  logical drive made of raid 0 and raid 1, first we create 2 raid 0 disks (4) then we combine them to a logical drive called raid 1. finally it becomes raid 10. This gives high performance, FT, and capacity is 50% when 2 disks are lost.

Stripping means distributing bits in different disk and hence faster write because per disk you write very less  bit and parallely you write so your write and read both are faster. Here you get speed however you don’t get Fault Tolerance one disk fails then entire data is lost.

Mirroring means duplicating means while writing you write all bits simultaneously in 2 different disks to keep redundant disk and protect from data loss. Mirroring does not slow down read write since its writing parallely in 2 disks together. However, since you are writing all bits in one disk at a time, it is slower than the Stripping technique. Here you do not get stripping technology disk speed however you get fault tolerance so if one disk failed then you still can recover your data since you had other disk available as redundant. You have to pay more for mirroring since you want to store 1 TB then you need 2TB for redundancy.

What is the AWS Shared Responsibility Model?

We take care of the cloud. You take care in the cloud.

AWS can manage below:

  • Physical network
  • Hardware
  • Manage server for SERVERLESS

https://aws.amazon.com/compliance/shared-responsibility-model/

How do you secure VPC?

Follow Defense in Depth model and secure from physical to data layer.

Physical

1- MAC are open for multiple unwanted ports then block them

Perimeter

  1. Firewall
  2. IPS
  3. IDS
  4. DDOS

IAM

  1. Single sign On and Identity Providers

Network

  1. Monitoring
  2. Encryption
  3. Session protection (XSS, XSR, Session Fixation, Session Side Jacking)
  4. Network segmentation
  5. Inside VPC to keep unwanted traffic out of the subnet use ACL

Compute

  1. NSG to secure host
  2. Anti-virus
  3. Single Sign On
  4. Managed Identity
  5. Virtual Patching (this is for legacy apps lift and shift with the bad code: WAS and WAF whenever web application scan finds a threat it creates a automatic rule in the web application firewall )

Applications

  1. SSL/TLS, HTTPS
  2. Single Sign ON
  3. Application integrity ( adhering to policies )
  4. Vulnerability Scans

DATA

Server less -> enable the threat detection -> SEIM , enable data encryption at rest and over network .

  1. Encryption at rest and transit
  2. Masking

What are the options for using the cloud for disaster recovery?

# Plan Cost Speed
1 Manual Backup and Restore, Point in time backups into the DR region. Cheap($) RPO = Hours, RTO = Days. Long time to come back to service.
2 Pilot Light (RPO 1min RTO 1hr). VMs are created on the DR site and turned off. However the database in the DR site is in active mode and you write your data in DR site live. WEB and Business VMs will have applications and configuration will be copied to DR sites however they are turned off. $$ RPO=Minutes, RTO=Hours.
3 WARM standby(RPO 1sec, RTO 1Min). Replicate your environment but use very small instances in the DR site but place them in an auto scaling group. When DR workloads are scaled up fully then it is called HOT standby. The more scale up the RTO you get in the DR site. $$$ RPO = Seconds, RTO = Minutes
4 Multi Region (Multi Site) Active-Active (RPO and RTO are zero) Your workload is deployed to, and actively serving traffic from, multiple AWS Regions. This strategy requires you to synchronize data across Regions. Use DNS to route the traffic Most Costly RPO=0, RTO=0

When VPN and Direct connection?

If you need guaranty consistent  latency  and  guaranty bandwidth use Direct connection since it is connected with direct wire. Costly option. Use the VPN because it is cheaper, works with the internet, and is flexible since everyone has the internet. You can create connections on demand. It was easy to connect to multiple remote sites. The side is you depend on internet bandwidth.

You have site where u have 10 remote campuses. The main site is hosted in the cloud. Everyone wants to talk to everyone. How can you set up your topology? 

# Technique Description Speed Maintenance
1 Full Mesh Number of edges will be n x (n-1)/2 FAST High
2 VPN Connect on-premise with site2site VPN and connect each on-premise. Normal Medium
3 Hub & Spoke (Cloud Hub) Hub and spoke topology on cloud Normal Low
4 Transit Gateway Managed service from cloud provider to provide transit connection among virtual networks in cloud. FAST High

What function is achieved with IPSEC?

IPSec provides the ability to authenticate each remote end to prevent man-in-the-middle attacks. And it ensures the integrity of the data because it uses a hashing algorithm to encrypt the payload. IPSec provides Non-Repudiation means Assurance that the sender of information is provided with proof of delivery and the recipient is provided with proof of the sender’s identity, so neither can later deny having processed the information. Also it provides the tunnel for private IP addresses and private traffic and private routing information over public networks.

From <https://csrc.nist.gov/glossary/term/non_repudiation> It is a replacement of internet protocol. IPsec is a suite of protocols. IP protocol and security protocol. It encrypts the payload and keeps the header un-encrypted. It is used in VPN to  create a tunnel of encryption from on-premise to cloud.

How can you scale relational databases?

Ask the question what type of traffic is being used by your database?

  • It’s a combination of read and write traffic.

If you have read traffic more then create read replicas and offload the read work to read replicas. Which will free up resources on the master database. You can further reduce the load on read replicas by adding some caching. In order to reduce write load, so you don’t have peaks and valleys you can use queuing system.

ACID vs BASE ?

Relational DB is ACID by nature:

  1. Atomicity
  2. Consistency
  3. Isolation
  4. Durability

NoSQL are BASE by nature:

  1. Basic Availability: Application must handle partial failures itself
  2. Soft State: DB state can change even without inputs
  3. Eventually Consistency: • DB will “eventually” become consistent

What is virtualization, how does it work and why will you use it?

Take a bare metal server, add a hypervisor and create a virtual machine on the hypervisor.

Block Storage and Object Storage how they work, what are their advantages?

If you need storage on a VM that does not go away with reboot, you are going to use something like block storage. If you have a static website or you want to distribute software, you are going to use something like object storage. If you are going to create data-lake , use object storage. If you need high performance storage you will use block storage. Object storage is cheap and can store large volumes of data.

Object Storage

Object in the object storage is consist of :

  • Data
  • Unique Id: 128 bit
  • Expandable metadata: contextual data

Objects can’t be modified—you have to write the object completely at once. Object storage also doesn’t work well with traditional databases, because writing objects is a slow process and writing an app to use an object storage API isn’t as simple as using file storage.

From <https://www.redhat.com/en/topics/data-storage/file-block-object-storage>

Block Storage

Block storage chops data into blocks—get it?—and stores them as separate pieces. Each block of data is given a unique identifier, which allows a storage system to place the smaller pieces of data wherever is most convenient. That means that some data can be stored in a Linux® environment and some can be stored in a Windows unit. It is usually deployed in storage-area network (SAN) environments and must be tied to a functioning server. Block storage can be expensive. It has limited capability to handle metadata, which means it needs to be dealt with at the application or database level—adding another thing for a developer or systems administrator to worry about. From <https://www.redhat.com/en/topics/data-storage/file-block-object-storage>

What Is NAT and Why would you use it?

Network address translation and its really about translating one IP address to another address.

Now they could be used to connect private addresses to the internet by translating it into a public address.

From <https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/Common_Use_Cases_for_NAT>

What is Stateful Firewall or AWS NSG?

Stateful means watching the state of the connection, they keep the context of the route and remember which request is initiated from which host. If you dis-allowed outbound to port 80 then automatically inbound flights are prohibited.

When you initiate a connection it goes through the firewall on the way out to the internet. The firewall looks at your connection and it tracks what you have done. Because when a response comes it will allow you to back in because it knows you initiated the connections.

When connecting to AWS when would you use direct or VPN connection?

Direct connection is a wired connection from your on-premise  route to Cloud provider router. You can use either use your ISP or direct Microsoft to connect direct connections. If you want guaranty bandwidth, performance and latency use direct connect.

VPN is You connect to the internet on both side and then you create a tunnel and you encrypt your data over the internet. So the internet Is not private and that’s why you have to encrypt your data. When you use a VPN it is cheaper because you are not buying a direct connection. You are connecting to the internet. VPN are really simple to setup because you can basically you can create any connection to any place that has internet connectivity, which is wonderful.

Advantages of VPN

  • Econmical
  • Flexible
  • Easy to setup

Disadvantages of VPN

  • Internet bandwidth and performance is not guarantied. Your ISP may guarantee you access to them but when you are on their network and off their network and on the internet there are no guarantees.
  • Internet is called best effort delivered if you try to reach webpage it does mean its going to get there. It should, it will try but it will not be guarantied.
  • So internet speed is high you get good performance if low then you get bad performance.
  • Latency is not guaranty in direct connect you get 3 ms to reach.  In VPN message1 can take 2 ms. Message2 takes 100 ms and then message3 takes 5 ms. So message2 can arrive after message3 and that may be a horrible situation. Message2 takes

In reality, no physical tunnel exists, of course; the data has to travel through the same wires as any other data passing through the public network. Rather, VPN tunneling employs the concepts known as data encapsulation and encryption to safely carry data traffic through the non-secure environment. Encapsulation insulates the packet of data from other data traveling over the same network, while encryption makes the data “invisible” (unreadable) even to surveillance agents and criminals who recognize it as encrypted information. So it’s like the data is traveling inside a tunnel. Figure 1.0 below might help you visualize the process.

You can think of VPN tunneling as similar to the process of moving physical cash from one bank location to another using an armored transport van along public highways. The cash in this instance is your data, the public highway is the non-secure public network, and the armored van is analogous to a VPN tunnel (data encapsulation and encryption).

From <https://www.vpnmentor.com/blog/ultimate-guide-to-vpn-tunneling/>

What is BGP and why is it used?

Border Gateway Protocol (BGP) is layer 4 protocol. It is an exterior gateway protocol and it works with a path vector routing protocol that operates on TCP port 179. When you connect an entity to an external entity, that’s when you use an exterior gateway. That’s why organization use BGP to connect to AWS or GCP as opposed to something like OSPF (Open Shortest Path First,  small routing within campus networks) or EIGRP (enhanced interior gateway routing protocol, used in networks of large commercial companies ) https://networkjourney.com/difference-between-eigrp-ospf-vs-bgp-routing-protocols/

BGP is highly Tunable and highly scalable. For example if an internet routing table has basically 3 quarters of a million routes and BGP can easily handle that, whereas an interior gateway routing protocol could not. That’s why organizations use BGP to connect to external entities like AWS.

BGP Routing preferences sequence:

  1. Largest weight
  2. Largest local preference
  3. Shortest number of autonomous system hops
  4. Lowest Med (metric)

In order to select the next hop BGP checks who has the maximum weight that route it will take, next it will prefer maximum local preference, next shortest number of system hops, next lowest metric. This way it optimizes the route selection and data transfer over the internet.

You are designing a video streaming software. What should you use TCP or UDP for? Which and why?

It must be UDP. TCP is used for reliable transport. UDP is used for Realtime transport. Why? If I send this “Rupesh like design” via UDP and  I receive “Rupesh Design” I lost like If I send this “Rupesh like design” via TCP and  I receive “Rupesh Design Like” I lost, then TCP will retransmit the Like and you get the data in different order. For video streaming you do not want this behavior. All streaming things must be UDP! Because it is better, faster for these applications. There are no sliding windows. Performance is going to be what it’s going to be and there is no re-transmission on lost data.

What is CXO and what does it mean to present differently to a CXO vs an Engineer?

CXO means a C-Level executive:

  • COO
  • CFO
  • CEO
  • CIO (chief information officer)

CXO means a C-level executive. They are extremely busy people. Because they are so busy they have an attention span of a few seconds at max. So you got to get your concept to the executive out to the point.

And you must talk about things that they care about.

The CEO is tasked with the organization’s strategy and increasing shareholder value meaning revenue growth or profitability growth.

The CFO cares about the organization’s finances. They are the gatekeeper for the organization’s money. When you are presenting to the CFO, you better be really good at basically doing some ROI (return on investment) modeling and showing that the value provided by your solution, provides greater  value and savings or profitability to the company than it’s cost. You have to do that.

The CIO wants to know your technology solution is going to meet the CEO’s goals and needs. So you have to present this and it’s going to work. Now when you are dealing with the Engineers, they might need a lot of technical depth.

Presenting to the executive should be “SHORT to the POINT and the Solution”

Presenting to the engineer should be to dive deep and present how it works technically.

In most companies, the board of directors and the founders are at the top of the corporate hierarchy followed by the C-level executives namely the CEO, COO, CFO, etc. … Usually Vice Presidents (VPs) and Senior Vice Presidents (SVPs) report to C-level executives. https://resources.workable.com/hr-terms/c-level-executive

What does organization strategy mean?

An organizational strategy is a plan that specifies how your business will allocate resources (e.g., money, labor, and inventory) to support infrastructure, production, marketing, inventory, and other business activities.

https://getsling.com/blog/organizational-strategy

What is a Shareholder?

A shareholder is a party that legally owns shares of a company’s stock. Shareholders who own less than 50% of a company’s stock are known as ‘minority shareholders’, whereas shareholders who own 50% or more of a company’s stock are called ‘majority shareholders’.  Shareholders are owners of the company, but they are not liable for the company’s debts.

From <https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp>

From <https://sumup.co.uk/invoices/dictionary/shareholders/>

What is a stakeholder?

Stakeholders can be:

  • Owners and shareholders
  • Employees of the company
  • Bondholders who own company-issued debt
  • Customers who may rely on the company to provide a particular good or service
  • Suppliers and vendors who may rely on the company to provide a consistent revenue stream

From <https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp> A shareholder can sell their stock and buy different stock; they do not have a long-term need for the company. Stakeholders, however, are bound to the company for a longer term and for reasons of greater need. For example, if a company is performing poorly financially, the vendors in that company’s supply chain might suffer if the company no longer uses their services. Similarly, employees of the company, who are stakeholders and rely on it for income, might lose their jobs.

What is AWS?

Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers—including the fastest-growing startups, largest enterprises, and leading government agencies—are using AWS to lower costs, become more agile, and innovate faster.

From <https://aws.amazon.com/what-is-aws/?nc1=f_cc>

What is cloud computing?

Cloud computing is the on-demand delivery of IT resources over the Internet with pay-as-you-go pricing. Instead of buying, owning, and maintaining physical data centers and servers, you can access technology services, such as computing power, storage, and databases, on an as-needed basis from a cloud provider like Amazon Web Services (AWS).

From <https://aws.amazon.com/what-is-cloud-computing/>

Cloud Computing Models?

From <https://docs.aws.amazon.com/whitepapers/latest/aws-overview/types-of-cloud-computing.html>

Infrastructure as a Service (IaaS)

IaaS contains the basic building blocks for cloud IT. It typically provides access to networking features, computers (virtual or on dedicated hardware), and data storage space.

From <https://aws.amazon.com/what-is-cloud-computing/>

Platform as a Service (PaaS)

PaaS removes the need for you to manage underlying infrastructure (usually hardware and operating systems), and allows you to focus on the deployment and management of your applications

From <https://aws.amazon.com/what-is-cloud-computing/>

Software as a Service (SaaS)

SaaS provides you with a complete product that is run and managed by the service provider.

From <https://aws.amazon.com/what-is-cloud-computing/>

Six Advantages of Cloud Computing

From <https://docs.aws.amazon.com/whitepapers/latest/aws-overview/six-advantages-of-cloud-computing.html>

  1. Go global in minutes
  2. Trade capital expense for variable expense
  3. Benefit from massive economies of scale
  4. Increase speed and agility
  5. Stop spending money running and maintaining data centers
  6. Stop guessing capacity

Cloud Computing Deployment Models?

  • Cloud
  • Hybrid
  • On Premise

What is Region?

An AWS Region is a physical location in the world where we have multiple Availability Zones. Each Amazon Region is designed to be completely isolated from the other AWS Regions. This achieves the greatest possible fault tolerance and stability. AWS has 25 AWS regions with 240 countries.

What is the Availability Zone?

Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. These Availability Zones offer you the ability to operate production applications and databases that are more highly available, fault tolerant, and scalable than would be possible from a single data center.  Each Availability Zone is designed as an independent failure zone. This means that Availability Zones are physically separated within a typical metropolitan region and are located in lower risk flood plains (specific flood zone categorization varies by AWS Region).

What is NAS?

Network attached storage. Centralize storage device for storing data on a network. I will have multiple hard drives in a RAID  configuration. Used in home and small side business. It has a NIC so that you can connect this with a switch or router to be in the network and then you can access it from laptop, desktop mobile etc. It can be accessed as a shared drive. It has a single point of failure, if power supply fail in the NAS then other devices will not able to access it.

What is SAN?

Storage area network is special. SANs are a highly scalable, highly redundant and high speed network that stores and provides access to large amounts of data. SAN is fault tolerant since data is shared among several disk arrays. If a switch, disk array or server goes down data can still be accessed. Server accesses this data as if it was a local attached hard drive. In NAS it is recognized as a network drive. All other devices in SAN are connected to each other using fiber channel (fiber optics ) 2 -128 gbps speed. Fiber channel is very costly. The other option is iSCSI (Internet Small Computer System Interface) which is a cheaper alternative to using Fiber channel but they are not very fast.  SANs are not affected by network traffic happening in LAN because SANs are not part of LAN. SANs are partitioned off, it’s basically a network all by itself.  SANs are very expensive therefore, only large company, enterprises can afford this.

Some important slides from NAS vs SAN - Network Attached Storage vs Storage Area Network

What is Scalability?

Scalability is the ability of a system to increase workload by adding resources. Scale up, down, out or in. Scalability vs Elasticity in 99 seconds

What is Elasticity?

Elasticity is the ability to automatically match the resources  sufficient for a given workload size.Scalability vs Elasticity in 99 seconds

Network load balancer vs Application load balancer

Application load balancer:

  • URL routing can be done in
  • In level -7  (application)
  • Low performance
  • Load balance frontend servers

Network load balancer:

  • In level -4 (transport)
  • High performance
  • Load balance backend servers

I will publish one more article where I will explain what are the soft skills you need to be successful in your next cloud architect interview so stay tuned.

References


Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.

💖 Say 👋 to me!
Rupesh Tiwari
Founder of Fullstack Master
Email: rupesh.tiwari.info@gmail.com
Website: RupeshTiwari.com

Recent Posts

Mandatory Algorithms for Coding Interview

3 minute read

Basic algorithms that you must know if you want to crack your coding interview. In case you are starting to prepare for coding practice then make sure you...

How to improve Reliability in the cloud?

9 minute read

Did you get a phone call from your customer saying they want to improve their application reliability while you move their workload to the cloud? If yes t...

What is EBIT and EBITDA in Finance?

4 minute read

EBITDA and EBIT is a very fundamental financial term that is nowadays mostly considered during the cloud adoption phase for IT companies. If your company ...

Introduction to CAP Theorem

5 minute read

Are you planning to design your next advanced distributed architecture? Make sure you are aware of the concepts such as high availability, consistency and...

What is Azure Virtual Machine Scale Sets

3 minute read

Now a days distributed architecture is common. We deploy our services into many different servers to scale them up and meet our demand. However, managing ...

Introduction of Managed Identities

3 minute read

Do you have situations where a process is trying to use your virtual machine in the cloud and you want to protect and control the access? Do you want to u...

Introduction to MSAL

1 minute read

If you have any project that you want to integrate with Azure Active Directory and secure your app. Then you must try using Microsoft Authentication Libra...

Site Recovery Strategy in Azure

2 minute read

Learn the failover and failback stages in Site Recovery on Azure. Learn Business Continuity and Disaster Recovery (BCDR) strategy in Azure.

Azure Active Directory Basics

3 minute read

Securing your workload and datacenter over the cloud is very challenging. You want your resources to be protected by both machines and users. Azure Active...

Where to Store Application Data in Azure

4 minute read

Data is very essential and now a days data is everything. So you have application in cloud and want to explore which type of data where to store in Azure....

What to use to Run applications in Azure

12 minute read

Learn what service from Azure you should use while creating your application in Azure. This article has quick short answer for when to use what in Azure s...

Virtualization Basics with VMware

9 minute read

Virtualization is the single concept that now-a-days cloud service providers are using at massive scale and delivering IT technologies such as storage, co...

Azure Network Watcher Basics

3 minute read

Azure Network Watcher is a monitoring service with lots of other important services for network. Most network diagnostics issues can be detected and analy...

Symmetric and Asymmetric Encryption Basics

1 minute read

Why do you care about encryption strategies? Well if you are planning to become system administrator or solution architect then you must know how you woul...

Getting Started with Monorepo with Nx Nrwl

31 minute read

Do you have a lot of JavaScript projects using GitHub repositories? How are you managing dependencies among those projects? Developers might be struggling...

Learn how to secure your Network

1 minute read

If you want to become Cloud Security Architect you must have basics of Networking. This article will discuss all fundamental concepts of networking. Learn...

Azure Storage Account Basics

5 minute read

When you want to move your business to cloud the major thing to consider is storage. What kind of data you can store? What is the pricing? How can you opt...

Azure Monitoring Basics

3 minute read

Azure Monitor is the central service that can help you to improve performance of your application and dependencies. In this article I will go through the ...

Definitions that you should know

15 minute read

When I started learning Azure being a webdev and software architect background. I came across many IT lingo, jargons, abbrebiations that I did know about ...

Configuring Azure Blob Storage

5 minute read

Blob Storage is helpful to upload images, videos, documents, pdfs etc. over the Azure cloud. In order to create new Azure Blob Storage. You must need to c...

Azure Routing and Peering Basics

4 minute read

Azure architects must aware of fundamentals of routing and peering. In this article we will see fundamentals as well as we will see some examples of routi...

Creating Azure Storage Account

7 minute read

Azure Storage account is a resource in Azure. Storage Account will give your group of services like Blob Service, File Service, Table Service, Queue Servi...

Azure VNet Basics

3 minute read

Azure VNet is the fundamental unit of networking in Azure Cloud. You must know the basics of VNet. In this article we will explore Azure VNet.

Azure Storage Replications Basics

less than 1 minute read

LRS (locally redundant storage) ZRS (zone redundant storage) GRS (geographically redundant storage) RA GRS (read-access geographically redundant storage) GZR...

Monitoring Containers with Azure Monitor

4 minute read

Did you know you can containerize your asp.net MVC with docker application and upload to Azure Container Registry and host them using Azure Kubernetes Clu...

TCP vs Http difference

2 minute read

TCP: is a transport-layer protocol, and HTTP is an application-layer protocol that runs over TCP.

Visualize Azure Monitor Logs and Metrics

2 minute read

Azure portal is great while visualizing Azure log and metrics. You can see the pie chart, graph for resources like VMs etc. You can also create your custo...

Creating ngShow directive in Angular 11

1 minute read

Are you wondering how to use ng-show in Angular 11? There is a way to achieve it by using [hidden]= “false”. However, if you are migrating large angularjs...

Azure Cost Management & Billing Basics

2 minute read

For entire azure resources even across subscriptions if you want to know about your billing, invoice, budget, alerts, recommendations then you must go to ...

Azure Advisor Basics

2 minute read

Azure Advisor collects recommendations from all of the services within your subscription and display them in a single page. Example you can see recommenda...

Azure Security Center Basics

3 minute read

Azure Security Center is the base infrastructure service to collect logs analyze them and generate tailored recommendations. Learn how can you review and ...

Configuring Azure Diagnostics Log

4 minute read

​This article will teach you t​he how to configure and implement diagnostics log for Azure resources. This article will help you to prepare for az-303: Mi...

Webhook for Beginners

4 minute read

Webbooks are basically user defined HTTP callbacks which are triggered by specific events. Whenever that trigger event occurs in the source site, the webh...

Topologies Azure Service Bus

7 minute read

Azure Service Bus is a transport layer comprises of messaging entities. Learn what is Topology in messaging world and how N-Service bus makes life easy by...

How to Install Scoop on windows

3 minute read

Do you love open-source? Do you want to make your PowerShell really powerful? Consider installing scoop and make your life simple! 😄 Learn how can scoop h...

How to Install Scoop on windows

3 minute read

Do you love open-source? Do you want to make your PowerShell really powerful? Consider installing scoop and make your life simple! 😄 Learn how can scoop h...

Binary Search Concept

5 minute read

Do you want to understand binary search? Read this article, I have discussed binary search problems in JavaScript.

Discuss Azure Fundamental Concepts

5 minute read

Did you know your company can take advantage of using many Azure cloud computing which will help your company to reduce its overall computing costs? Did y...

Caching Dependencies on GitHub Workflows

5 minute read

While building/compiling angular or node application on Local Build Machine or Azure Pipelines or GitHub Workflows or Netflix or Heroku. The main issue we...

Azure Information Protection Strategy

2 minute read

Azure Information Protection (AIP) is a cloud-based solution that enables organizations to classify and protect documents and emails by applying labels.

Azure Load Balancer Basics

3 minute read

Azure Load Balancer evenly distributes incoming network traffic load among backend resources or servers. It works at layer 4 (Transport Layer) of OSI (Ope...

Azure Information Protection Strategy

2 minute read

Azure Information Protection (AIP) is a cloud-based solution that enables organizations to classify and protect documents and emails by applying labels.

Azure Developer Associate Exam Basics

2 minute read

In order to become Azure Developer Associate you must pass AZ-204 exam. If you want to become Cloud Solution Architect then consider giving Microsoft AZ-2...

Introduction to Azure Fundamentals

12 minute read

Can you describe basic concepts of cloud computing? Is Azure right solution for your business needs? How can you create your Azure subscription today? I w...

PowerShell Random Notes for You!

4 minute read

Learn some important built-in very helpful methods in Powershell. It could be a quick note for you so don’t forget to bookmark this article! 🥇

Hosting N-Service Bus in Azure Functions

5 minute read

Have you tried to host NServiceBus within Azure Functions? In this article I will teach you how can you host your first NServiceBus project within Azure F...

What is Subnet and Why Subnet is Required?

5 minute read

When I was learning Azure Infrastructure, I had big question in my mind what is subnet and why do I need Subnet in my network? If you share my question th...

What is Subnet and Why Subnet is Required?

3 minute read

When I was learning Azure Infrastructure, I had big question in my mind what is subnet and why do I need Subnet in my network? If you share my question th...

CRUD with Cosmos DB using Dotnet Core SDK

9 minute read

Do you want to create dotnet csharp console app and write CRUD ( Create, Read, Update and Delete ) operations over Azure Cosmos DB noSQL data? Read this a...

What is Azure Resource Manager or ARM?

5 minute read

Did you know you can create and deploy Azure resources using JSON template? Did you also know that you can enforce business compliances on your resources?...

Make Your PowerShell Posh & Colorful

3 minute read

Do you want to make your PowerShell prompt colorful? Please read this article to make your PowerShell Terminal colorful and Git supported. I will use oh-m...

What is Azure Resource Manager or ARM?

5 minute read

Did you know you can create and deploy Azure resources using JSON template? Did you also know that you can enforce business compliances on your resources?...

Azure Sandbox Free Account for Learning

2 minute read

Do you want to learn Azure and afraid of being charged your credit card or getting big bills? Learn this article where I will explain how you can get free...

Isolated Process Models for Workers

1 minute read

.Net running on-process till .Net Core 3.1 & .Net isolated workers are coming on .Net 6 onwards & you can deploy Azure Function Apps in production...

Azure Functions Basics

9 minute read

Are you beginner on Azure Functions and want to learn the basics of Azure Functions? Did you know you can create Azure Functions and publish to Azure usin...

Azure Compute Resources

2 minute read

Do You want to start IT Business and you don’t have equipments? Don’t worry Azure is the solution for your business. By using Azure Compute Resources you ...

Azure Cosmos DB Basics

12 minute read

Are you beginner on Azure Cosmos DB and want to know what exactly is Cosmos DB? Then read this article. Azure Cosmos DB is a fully managed NoSQL database ...

Azure Update Domain vs Fault Domain

5 minute read

Do you know in Azure Data Center you can protect your server against regular server software maintenance outages? You can also protect your VMs on Azure a...

Angular Service as PubSub Message Handler

4 minute read

Convert Angular service to a Message Handler. Do you want to organize your Angular code base as Service Oriented Architecture (SOA) way. And you want to c...

Introduction of Azure Data Center

5 minute read

Did you know how your servers are placed in Azure Data-Center? Do you understand how Azure Data Center protects your servers against software or hardware ...

Azure DevOps Server 2020 Do’s & Don’t

4 minute read

Did you know Azure DevOps Services and Azure DevOps Server are different entities? I have learned lessons while working on Azure DevOps Server 2020 on-pre...

Scheduling Jekyll Post on GitHub Pages

2 minute read

Do you want to schedule your Jekyll blog post to be published on GitHub Pages on future date time? Then read this article. Introduction Jekyll static s...

Authenticating GIT on Development Box

1 minute read

Are you using windows machine for local development? Do you have Azure DevOp’s server git repo and want to connect from local box? Then read this article....

Running Angular 10 in Internet Explorer 11

2 minute read

Are you worried that new angular 10 project is not running in “IE11” even though you enable the given polyfills by angular team? Then please read this art...

Integrating CkEditor In Nx Monorepo

12 minute read

So you want to learn how you will integrate CkEditor v5 in Nx Monorepo. Do you also want to learn how to create custom plugin inside CkEditor v5? Then I w...

Updating Azure CI Pipeline Build Number

1 minute read

Did you have requirement to update your Angular CI build number as your new Package.json version number and Branch name? Well this is a good practice to d...

Publishing Nx Monorepo Angular App to NPM

3 minute read

Do you want to publish your nx monorepo app to npmjs.org? In this article, I will explain how can u publish your app to npmjs.org. Introduction In my m...

Creating New App with Nx Console

3 minute read

Do you want to create a new application on my nx monorepo work-space? Also do want to make sure that you should be able to build and test your application...

Branch protection in Azure DevOps

6 minute read

Protecting Master Branch from Bad Pull Requests is big challenge now a days while working in a team. You are working on git with distributed architecture. Wh...

Caching Azure CI Pipeline Artifacts

3 minute read

If you are following agile then continuous integration is must. I have setup CI/CD in Azure DevOps and I personally found my Angular build is taking lot of t...

Introduction to YAML

2 minute read

Yaml files are used in Azure Pipelines for build and release definition. Yaml files are also used in GitHub build and release. Yaml is designed to be clean a...

Type of Authentication - JWT Authentication

less than 1 minute read

As we already discussed rest of the authentication types in our previous video tutorials, JWT based authentication is best among all. It is world famous and ...

Use case vs user story

1 minute read

What is User Story A User Story is a note that captures what a user does or needs to do as part of her work. Each User Story consists of a short descripti...

Given When Then in Angular

1 minute read

In this video session Given When Then | Angular | BDD, we will teach you how to write unit tests in more readable fashion. Like Given When Then Style using J...

Add Item To Cart Use case – RxJS

1 minute read

In our previous demo session Creating Store Using RxJS | Angular | Demo we have written base code for our Cart Store. Now we will add methods to it, based on...

Creating Store Using RxJS in Angular - Demo

1 minute read

In this video session Creating Store Using RxJS | Angular | Demo we will create our Cart store and it is nothing but just a wrapper on top of state, so it be...

Handling Server Side HTTP Error

1 minute read

As we discussed in our previous video session Designing Shopping Page Using Angular Material Grid And Card | 0009-26, our web app is now growing as we are ad...

how to create mock object in jasmine

less than 1 minute read

While writing test in jasmine you will encounter a situation where you want to create a mock object & also you want to spy it's property. Jasmine cre...

Saving User data in MongoDB - Demo

1 minute read

In this video session Saving User To MongoDB | Mongoose | Demo | 0009-22 we will explain how to save user data in mongo db and how to validate user at server...

Up coming Full Stack Master Courses

less than 1 minute read

[advanced_iframe securitykey=”” src=”https://gumroad.com/fullstackmaster/p/up-coming-full-stack-master-courses” id=”” name=”” width=”100%” height=”1500px” m...

Integrating Restful API in Angular App - Demo

less than 1 minute read

In our previous demos session we have created our server and restful API and tested API with postman also. Next we will try to integrate this Restful API in ...

Products page & Lazy Loaded Module - Demo

less than 1 minute read

In continuity of our demo session Creating Products Module | Lazy loaded module | Angular | 0009-09 we will see how to create Products page for our app keepi...

Introduction to angular material - Demo

1 minute read

As you begin learning of coding basics, one important thing which makes your learning process easier and practical is availability of code. Most of the onlin...

An Introduction to MEAN Stack

1 minute read

MEAN is an acronym for MongoDB, ExpressJS, AngularJS and Node.js. From client to server to database, MEAN is full stack JavaScript framework, ideal for build...

This Keyword - Essential JavaScript Concepts

1 minute read

‘This’ keyword is widely used in almost all programming languages. Like in some programming languages This variable points to instance of an object or class....

Use Existing provider practical example

1 minute read

As we know UseExisting provider configures the Injector to return a value of another UseExisting token. Through this provider, we can use already existing in...

What is multi True provider in angular?

1 minute read

Multi: true means that one provider token provides an array of elements. Using multi: true we tell Angular that the provider is a multi provider. This is use...

Types of Providers -UseFactory Provider

1 minute read

UseFactory provider configures the Injector to return a value by invoking a UseFactory function. It is basically a function which follows factory design patt...

Types of Providers -UseValue Provider

1 minute read

UseValue provider configures the Injector to return a value for a token. It comes in that category of providers where we do not have unique thing to identify...

Types of Providers -UseExisting Provider

1 minute read

UseExisting provider configures the Injector to return a value of another UseExisting token. Through this provider, we can use already existing instance or o...

Types of Providers -UseClass Provider

1 minute read

Class Provider configures the Injector to return an instance of useClass for a token. It is similar to type provider but it has different way of providing co...

What’s new in Angular 8.0?

2 minute read

Angular 8.0.0 is here! Is there any breaking changes in Angular 8? No, Angular 8 is released now! As Angular team had promised they have not introduced break...

Unit Testing RxJS with Marble Diagrams

1 minute read

Unit Testing RxJS with Marble Diagrams Welcome to Unit Testing RxJS with Marble Diagrams course excercise material portal. Please watch Uni...

What is the Scope of Dependency in Angular?

1 minute read

Scope of Dependency in Angular is very important concept to understand for a full stack developer. This is primarily asked question by interviewer in many di...

How Injectors are inherited in angular?

less than 1 minute read

As we know, one must configure an injector with a provider, or it won't know how to create the dependency. The most obvious way for an injector to create an ...

What is Injection Token and Where to use it?

less than 1 minute read

We cannot simply ignore the shortcomings like Interface, Array (bunch of objects) cannot be used as DI Token in angular. There can be possibility where we ne...

What is DI Token

1 minute read

When we think of learning Dependency Injection in Angular, couple of questions arises like How this DI concept works in Angular? What are all the important ...

Benefits of Components based application

less than 1 minute read

Due to its component based architecture, angular has capability to protect our code for future. It is basically making our code future ready as each componen...

Component based Architecture in Angular

less than 1 minute read

One of the main architectural principles in Angular is that an application should be composed of well encapsulated, loosely coupled components. In this sessi...

Angular Hierarchical Dependency Injection

less than 1 minute read

In 0008-7- angular: Hierarchical Dependency Injection video session, you will see how Angular hierarchical dependency injection system works. You will discov...

Working of Dependency Injector or Container

less than 1 minute read

Dependency Injection Container or Injector is basically a static or global thing which is being used throughout the app to inject dependencies or objects. It...

Dependency Injection Types

less than 1 minute read

Basically there are three types of dependency injection, Depending on the context we can choose any type which is being supported by that framework. Three ty...

What is Dependency Injection?

1 minute read

Wikipedia Definition: Dependency injection is a technique whereby one object (or static method) supplies the dependencies of another object. A dependency is ...

Get started with Angular

1 minute read

Are you preparing for Angular interview? Not sure from where to start? Well we do have answers to all your angular related queries. We will help you to list ...

Tricks to build Interview-winning Resume

1 minute read

Along with choosing right template, best resume format, putting educational qualifications etc, the most important component required in an interview-winning...

How to do Html Form Validation using RxJS

1 minute read

Did you know you can use RxJS simple operators and do html form validation re-actively? Well I learn RxJS operators by implementing them in real world proje...

Why Express.JS with Typescript

2 minute read

I love Typescript the way it helps development speed and accuracy. I wanted to work with Typescript, Webpack and Express.JS finally came up with a project w...

Model in Domain Driven Design

2 minute read

Model in Domain Driven Design is a system of abstraction that eliminates things which are not required. Domain Model allows us to think about a particular do...

Webpack assets run time dependency injection

less than 1 minute read

How to Inject Base Assets path URL dependency to webpack CSS bundle? In your JavaScript project build by webpack, if you have requirement where at the build ...

Dependency Injection in React Core

2 minute read

Dependency Injection In Software Engineering Dependency Injection is a technique where one object injects or passes the dependency object to other object at ...

Decorators in Typescript and Angular

5 minute read

Decorator is a concept in Typescript that can be used to annotate a class or it's members. Decorator also enables meta programming where one can collect as ...

Creating Typescript Library using Webpack

4 minute read

Loading... In this article we will see how can you create your own typescript library that you can easily consume in your another typescript project. ...

RxJS Marble Diagrams

4 minute read

RxJS Marble Diagrams are made to visualize the values emitted from the RxJS Observable over timeline.</p> Hi in this article I will explain why we need...

Establishing Goals

5 minute read

In this article we are going to talk about. What goals are ? How to set Goals ? What makes really good goal ? Organize your life goal Sort out your lif...

Understanding JavaScript Scope

2 minute read

What is Scope in JavaScript Imagine Scope as a boundary within that things can be isolated. Like in your colony there are certain areas which has stuffs that...

Create Barrel for Typescript Project

2 minute read

When you create your own Typescript  library then you need a barrel file where you put all of your files that you want to expose to the outside world kind of...

Domain Driven Design Philosophy

3 minute read

Eric Even wrote Domain Driven Design (DDD) book. Eric says DDD is the Philosophy of software design that helps projects dealing with complex problem. I ...

Integrate GitHub-Pages in Angular 6 App

2 minute read

What is GhPages Do you want to save time to create post or article while writing software code ? Or do you want to see your angular app live running in the i...

My Pluralsight Course

less than 1 minute read

Hi everyone, I am very excited to announce that I became an author in Pluralsight.com and my first course on Unit Testing with RxJS Marble Diagram is going t...

My YouTube Channel

less than 1 minute read

Hi everyone, I started my FullstackMaster YouTube channel where I want to put some technical learning stuffs. I started putting RxJS videos over there. I hop...

Introduction to Multi Cloud and Strategy

8 minute read

Cloud itself is complex so why are customers bothering about multi-cloud at all? Why not just take google cloud and deploy all of your workload and be hap...

JavaScript Module Pattern

less than 1 minute read

I recently wrote one article on JavaScript Module pattern in Code project. Please visit this website and suggest me your thoughts on it... Javascript Module ...

How to use VLOOKUP in Microsoft Excel

3 minute read

Today, I learned about one Excel Sheet Formula "VLOOKUP". It is very useful formula that gives us the power to search a value in a particular column.   ...

Knockout Getting Started

7 minute read

I came through an open source JavaScript named as “Knockout.js”. After learning this javascript functionality and features. I found it very powerful, wh...

Basics of jQuery

less than 1 minute read

I took session on jQuery. It was nice experience to talk in front of my colleagues. First time I took session where some of my colleagues joined on phone als...

Restoring Scroll Position

1 minute read

Suppose you are searching for a product in a shopping website and you got a big set of results. It normally comes in a grid view with a long scroll bar. Some...

Assembly Binding Log Viewer

2 minute read

My Friend was looking for one error that he was continuously getting when he was trying to setup my old version 1.0 .net code. The error message was: Th...

Dynamically Adding UserControls

6 minute read

From last 4 days, I have been struggling on how I should load the UserControl dynamically in my default page. I know in today’s world where .Net 4.0 came up...

Dependency Injection Patterns

6 minute read

In order to make the application more loosely coupled we should use interfaces. In Dependency injection pattern there exist a class called as asse...

Microsoft contributions to jQuery Plugins

4 minute read

Almost 3 years ago Scottgu announced that Microsoft would begin offering product support for jQuery. Now Microsoft is playing a great role on contri...

Menu Widget

1 minute read

I was trying to make my own menu widget using jQuery and  I came with this below Widget. [sourcecode language="javascript"] //Menu Widget created by Rup...

Local Alias pattern

2 minute read

In any jQuery Plugin there JavaScript local alias pattern is being used as a best practice. They have localized the global jQuery object as an alias $. ...

Internet Explorer 8 - new features

2 minute read

Hi all,</p> I recently installed Internet Explorer 8 in my laptop and wondering many new features about the IE8. I was enjoying the good and...

jTip: jQuery Custom Tool Tip

1 minute read

Plethora of times it is required to show complex tool tip. Complex, I mean the tool tip that can contain images, links , text decoration etc...To show the cu...

Creating Custom jQuery Widget

less than 1 minute read

Hi I just came across a greate website http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/ There I learned how to create custom jQuery widge...

Prototypal Inheritance in JavaScript

4 minute read

There is a great article written by Douglas Crockford. I recommend everybody to read this article. By using Prototypal inheritance technique, we can create t...