Upgrade to remove ads
A set of topics from the course that I found the most tricky
Terms in this set (36)
What are the three main formats for storing API data?
What are characteristics about them
YAML (simple, good for beginners)
XML (Hefty, verbose, uses <tags>)
What is data serialisation?
How APIs share data with each other (e.g. via JSON, YAML, XML)
Changes data to storable data, like how phone voice analogue is converted to binary so it can be stored. Then is
What does git rm do?
Stops tracking files
What does git stash do?
temporarily save current changes, if they're not ready to be comited. Retrieve via git stash pop
What does git checkout do?
Lets you navigate through branches
What does git diff do?
Compare changes between branches
How do you retrieve git stashes?
Git stash pop
What is test-driven development?
Where you write the tests for a software before writing the software itself
What are the advantages of Test driven development?
Shows spec issues before writing code, avoiding rewrites
Makes debugging easier - you have the tests already!
What are microservices?
A way of developing where parts of the app are put into modules, and are fairly independent
In python world, having inventory.py, search.py, orders.py, that are imported into app.py (main)
What are the advantages for microservices over monolithic approach (traditional development)
You can scale up just parts of microservices
Easier to change microservices
More readable and efficient usually
What is loose coupling?
Reducing dependencies of a module/class/function
Easier to maintain, and is more usable
What is a Model-View-Controller pattern?
Model = back end, only interfaces with data, hides ugly stuff from view/controller
View = The front end. Website, app, etc. Just what user interacts with
Controller = Middle man that fetches data from both the model and the view. Also does the processing. E.g. takes View data from an online form.
What is the main advantage of the Model-View-Controller pattern?
Decouples the app.
E.g. if the controller wants to change from MySQL to Postgres or MariaDB, it can without impacting other components too much.
In the HTTP URL, what's the scheme?
The first part....
...and so on
In the HTTP URL, what's the qeury?
the ? question mark
optional query to the server
In the HTTP URL, what's the fragment?
Provides direction to a specific resource, like part of a web page.
scrolls down to that heading
Inside an HTTP Request, what is the Request-Line?
Contains the method/verb, the URI, and protocol version
Request Methods/verbs include GET, POST, PATCH, PUT etc.
In an HTTP request, what's the 'zero' part?
Contains additional information about target, authentication, etc.
What is the HTTP Request 'PUT' verb/method?
Replace the user
Unlike patching, you just PUT it there, doesn't care
What is the HTTP Request 'PATCH' verb/method?
Update the user
Like patching a game, graceful
What do the HTTP status 2xx codes mean?
What do the HTTP status 3xx codes mean?
What do the HTTP status 4xx codes mean?
Client error (e.g. 404 not found)
What do the HTTP status 5xx codes mean?
Server error (e.g. 503 service unavailable)
What is in the HTTP Accept state?
The media aka MIME type (App/Audio/Image and so on)
What are the two main methods for APIs?
Remote Procedure Call (RPC)
Representational State Transfer (REST)
What are Remote Procedure Call (RPC) Style APIs?
Does exactly as name suggests - call remote procedures, located in a remote space
What are the implementations of RPC?
SOAP (good for complex services)
NETCONF (for network devices)
gRPC (made by google, for speed)
What are Representational State Transfer (REST) Style APIs?
REST isn't a protocol itself
But it was created with HTTP in mind, making it optimised for web
Isn't defined as strictly as RPC
Excellent performance & scalability
What are the constraints/characteristics of RESTful APIs?
Client/Server Architecture (separated)
Statelessness (each request independent)
Cacheability (HTTP responses must mark themselves, better performance)
Layered System (clients can't tell if connecting via intermediary agents like a proxy/caching server, or load balancer)
Uniform Interface (client doesn't need to know the server's resources)
Optional - code on demand
Remember as 'Cisco Sucks, Cisco Lacks Uniformity'!
What are Collections in Postman?
Saved requests can be organised into a collection.
Good if they share URI or authentication methods/credentials
What is the need for Webhooks?
APIs keep polling, asking for an update. Not only inefficient, but it's only as up to date as its last poll
Webhooks better for frequent requests, and data that needs to be updated frequently.
Server now updates the client when a request is ready
What are 'Alternative Boxes' in UML diagrams?
When there's multiple options possible
What are solid vs dotted lines in UML diagrams?
Solid means new API call.
Dotted means response to existing API call
What are activity boxes in UML Diagrams?
Shows what components are being used
THIS SET IS OFTEN IN FOLDERS WITH...
DevNet Associates Exam
Devnet Associates 200-901
Cisco DevNet Associate 200-901 DEVASC Practice Que…
Cisco DevNet Associate
YOU MIGHT ALSO LIKE...
TCU Data Mana.
DBMS Chapter Two
OTHER SETS BY THIS CREATOR
The changing nature of the Royal Navy
The Loss of the American Colonies 1770-1…
OTHER QUIZLET SETS
207: Chapter 16
chapter 13 RELGION
Early American History Quiz 2
Cardiovascular Practice Questions 2 (3)