Intro + DVNT Pro Basics Flashcards

1
Q

What is an Integrated Development Environment (IDE)?

A

This is where we write code, versus using something like the Notepad or Notes apps.

Offers a bunch of cool features that help write code i.e Atom or VSCode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a SW Compiler?

A

Compiler: A software compiler translates the code written in a programming language to a target language (format) that can be executed by a computer.

Once compiled, users of an application do not require the compiler on their system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an interpreter?

A

Interpreter: Some computer languages are not designed to be compiled, but rather are processed directly by another program that can “interpret” the instructions and perform the action.

With interpreted languages, both the developer and users of the application require the interpreter to be installed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a SW Dev Kit (SDK)?

A

Software Development Kit (SDK): SDKs are packages of software development tools installed by developers to provide them the utilities and resources necessary to create applications in a programming language, for a particular environment, or hardware platform.

SDKs are only needed by the developer to create the application, users of an application would only need the final output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

REVIEW:

  • An application’s “code” is typically a collection of text files, and the act of “coding” involves writing and editing those text files.
A

Developers have always faced the challenge of how to package up and provide their application to the users that will need to or want to use it.

Many methods and options have been developed and used over the years, and today a very common mechanism in use is to deliver applications in “containers.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an App Container?

A

An application container is a packaging method where the application code and anydependenciesare combined together in anefficientformat that can be easily runisolatedfrom other “containers” on ahost platform.

Containers share the instance of the host OS, whereas VMs have their own copy of the host OS per VM, making them a lot larger and more resource consuming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Container Terms & Elements:

Dependencies - Everything an application needs outside of the code the developer directly writes is a “dependency”.

Efficient - The move to VMs was a step for efficiency, but a VM includes far more than most applications need to run. Containers provide a significant improvement in efficiencies for running applications in the areas of CPU, memory and storage space.

A

Isolated - When running, each application should be contained within its own execution space and not have access to, or be impacted by, other applications running. The reasons for this include security concerns as well as application stability and conflict isolation.

Host Platform - Like virtual machines, containers must be executed on some host platform. A single host platform should be able to run many containers simultaneously, each in their isolated environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are data formats? What are they catered to?

A

Data formatting is just the method or style for how data is represented i.e different programming languages.

Data formats are all about the audience – basically all about WHO the people are reading it. Different formats have different benefits (ex JSON is very human readable).

Formatting is interchangeable - it’s all about the audience,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are 3 very common programming languages?

A

XML (Extensible Markup Language)
JSON (Javascript Object Notation)
YAML (YAML Aint Markup Language)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an API?

A

Application Programmable Interface - a way for 2 pieces of SW to talk to each other; one SW now consumes other SW

API’s are a set of requirements that govern how one application can talk to another – it’s like bits and bolts made by 2 manufacturers, being able to work together, because they adhere to common specs.

Ex - when Yelp needs map data for location of a restaurant, they just use Google maps data via API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is SOAP (Simple Object Access Protocol)

A

API standard that was designed by MSFT to build Web services (rigid)

This led to other standards being created for web interaction such as REST (less rigid)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 2 main API’s specific for Network Engineers/Network Automation?

A

NETCONF - network config protocol - designed as a replacement to SNMP

RESTCONF - REST API-like interface to the network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a REST API?

A

REST defines a set of constraints for how the architecture of an Internet-scale/Web environment, should behave

API framework that’s built on top of the already long-time existing HTTP protocol (often called “Web Services”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the different REST actions?

What happens once they are sent?

A

○ GET - read; retrieve details
○ DELETE - remove resource from the system
○ POST - create; used to create a new object or resource
○ PUT - update; typically used to replace or update a resource; large/full updates on existing record
○ PATCH - used to modify details about a resource (a little detail for example); small updates on an existing record

→ When using methods, there are Response Status Codes that outline success or not, and why for a given action:
○ Ex - anything 400 (like “403 Forbidden”) or above mean that something went wrong with the request that’s being sent
○Ex - anything 500 is something wrong with the end service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is POSTMAN?

A

Simple but powerful REST API Client. It functions to quickly and effectively test APIs in a GUI and can save API’s into a collection/repository for future use.

Postman is really good for testing out and validating APIs

Postman can take an API and turn it into code in many different languages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Python?

A

Python is a very popular OOP language.

Python is really good for Network Engineers - easy to read, learn and is widely available and open source.

There are lots of training resources and code samples