What is interpolation vs property binding in angular

WHAT IS INTERPOLATION VS PROPERTY BINDING IN ANGULAR

Data binding makes the angular applications development very easy.

Data binding helps to do the data synchronization between the template(view/html) and class(typescript code)

There are 4 types of data binding in Angular and are following,

  • Event binding
  • Two way data binding
  • Interpolation
  • Property binding

What is Interpolation?

For interpolation, double curly braces are used in the template as below,

// app.html is the example for interpolation

<p>{{ name }}</p>  

and it stores the variables, then angular checks for the variable and updates the value assigned to the text.

The Typescript app.ts as below to display the name value to app.html.

// app.ts

@Component({
  templateUrl: 'app.html',
  selector: 'app-test',
})
export class AppComponent {
  name = 'Sharath C';
}

What is Property binding?

Property binding helps to set the property of a view element and it uses [] syntax as below

// app.html is the simple for the property binding.

<button [disabled]="buttonIsDisabled"></button>

TypeScript has to be coded as below to pass the property binding to view template. refer the app.ts as example for Typescript passing the property value

// app.ts
@Component({
  templateUrl: 'app.html',
  selector: 'app-test',
})
export class Component {
  buttonIsDisabled = true;
}

What is ELK

What is ELK (Elastic search, Logstash, Kibana) ?

ELK stack is a combination of 3 open-source products as below,

  1. Elasticsearch, a search and analytics engine.
  2. Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
  3. Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts.
    In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch. 
    Then Kibana would read the data from Elasticsearch and visualize it.

DevOps vs DevSecOps vs NetOps

What is DevOps vs DevSecOps vs NetOps ?

DevOps is the practice of using set of tools, processes and practices to get good agility in software implementation to customers. It combines Dev (software development ) and Ops (information operations). DevOps shortens the development lifecycles and provides Continous Integration & Delivery. 
DevSecOps is when security features are included in DevOps CI/CD flow.
NetOps is when network services are packaged to DevOps.

Jenkins job vs pipeline

What is Jenkins jobs and Jenkins pipeline ?

Jenkins jobs and Jenkins pipeline are essentially same, however pipeline is more staged flow of jobs. For Jenkins pipeline, Jenkinsfile is used.
What is Jenkinsfile?Jenkinsfile is a text file placed in the root project directory. The Jenkinsfile has multiple stages like build, unit test, sonar test, functional,  regression, integration,  performance testing, deployment etc.

What is Apache Kafka

Whats is Apache Kafka and Linkedin’s Initial contribution?

Apache Kafka was built by LinkedIn initially and then offered to Apache Foundation. Development was done using Java and Scala.
Why Kafka is able to handle high volume transactions?
Kafka is meant to handle high volume fractions as the way it is architectured. Message key value pairs are called as “procedures” in Kafka. The data are “partition”ed with in Kafka “topics”
Messages are strictly indexed with timestamps.
What is Kafka brokers ?Kafka brokers are clusters of one more servers. Kafka Partitions of topics are distributed across clusters.
Kafka is more effective compared to Java messaging services (JMS) or Advanced message queuing protocol (AMQP).

What is Flagger

What is Flagger and how that is used in cloud ?

Flagger works are controller of the deployment workflow and helps automating the promotion of canary deployments. It utilizes the Istio’s and Prometheus metrics for analyzing application behaviors.
What is Istio ?
Istio is an open source service mesh that allows you to connect, monitor, secure your microservices deployment on premises or in cloud or in Kubernetes orchestration platforms.
What is Prometheus?Prometheus tracks events and helps as an alerting software. 

What is docker daemon

What is Docker Daemon ?

In short, docker daemon acts as a server and exposes APIs to Docker client CLI and other third parties consumers. Altogether docker architectured as a client server based implementation.
Let’s also understand the basics about how docker works 
Docker is a platform which allows DevOps teams to package the applications and run in containers.
These docker containers talks directly to Operating system kernel to perform activities and keeps the applications and dependencies independently from machines. Docker container can even  run on Virtual machines as well. 
What is Kernel ?
Kernel is the core of any Operating system. Kernel has complete control on OS and connects hardware  and softwares.

What is Ansible roles

What is Ansible roles ?

Ansible roles are used to break the Ansible playbooks into multiple files. Usually an Ansible developer may have a tendency to write large single playbooks that adds complexity and that is when Ansible roles would come into real help.
Ansible molecules are used to create the ansible roles. 
How to install Ansible Molecule:pip install molecule 
How to verify the molecule version:$ molecule –version result : molecule, version 2.19.0
What is Ansible galaxy?
Ansible galaxy is site where the ansible developers collaborate to share ansible roles via installing roles, managing roles etc.
How to Initialize a role using Molecule ?Molecule could init a role. The init command can internally access Ansible galaxy. So molecule can generate a directory which has a directory with default as name. Inside that default directory,  test build and run can be performed using docker container.Molecule.yml will have all test scenarios like how to lint and test the roles and playbook.yml is used to test the roles.

How does DNS look up work for Kubernetes

How does DNS look up and DNS resolution work for Kubernetes?

What is DNS?
Think about olden time, we used to keep phone book to find contact numbers. DNS is like a phone book of IP address.
How Does DNS resolution work Generally?DNS resolution is the process converting domain name (e.g. shalimatech.com ) to computer friendly Ip number. Since this IP number is mapped to computer the requests go to that device and that’s when a request is sent to shalimatech.com the IP gets the resources back to the user.

How Does DNS resolution work in Kubernetes clusters?
DNS resolution is done vis Kubernetes’s CoreDNS. Once you refer resolve.conf then you would understand how kubelets configures this.

What is PSScriptAnalyzer used for

What is PSScriptAnalyzer used for ?

PSScriptAnalyzer is code quality scanner developed by Microsoft to scan powershell code. 

PSScriptAnalyzer can be installed using below command in Powershell ISE 

“Install-Module -Name PSScriptAnalyzer”
PSScriptAnalyzer cmndlet to unit test powershell code below:

“Invoke-ScriptAnalyzer -Path ‘path of targetted ps1 file to be scanned for code quality’