Edited, memorised or added to reading list

on 18-Oct-2019 (Fri)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

Flashcard 4468328238348

Question
In AWS (and computing in general), [...] storage is attached to an OS (and hence is not infinitely scalable) and holds non-continues chuncks of related raw data, whereas [...] storage holds single file entities (and their metadata) and is not attached to a machine with OS (therefore scales infinitely). <-- looking for two different occultions
Answer
block, object


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4471146286348

Question
In AWS S3, when you enable versioning, explain what happens when you update a file (i.e. upload a changed version of an already existing file)?
Answer

A: the new version gets stored in your bucket (with a unique random version id) along with the original version. The new version is marked as latest so it will be only one shown when you move the versioning "Hide"/"Show" toggle to "Hide"


^^^ you can only see all the versions in your console if you toggle the version button from "Hide" to "Show" in your bucket


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472043343116

Question
What is a module in Python?
Answer

Essentially just a .py script file :

A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
6. Modules — Python 3.8.0 documentation
ions from a module can be imported into other modules or into the main module (the collection of variables that you have access to in a script executed at the top level and in calculator mode). <span>A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) is available as the value of the global variable __name__. For instance, use your favorite text editor to create a file called fibo.py i







Flashcard 4472046226700

Question
[Python] How do you import variables declared in another module?
Answer

In the same way you import functions,

(from the official Python tutorial..)

On the other hand, if you know what you are doing you can touch a module’s global variables with the same notation used to refer to its functions, modname.itemname .


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
6. Modules — Python 3.8.0 documentation
ymbol table by all functions defined in the module. Thus, the author of a module can use global variables in the module without worrying about accidental clashes with a user’s global variables. <span>On the other hand, if you know what you are doing you can touch a module’s global variables with the same notation used to refer to its functions, modname.itemname. Modules can import other modules. It is customary but not required to place all import statements at the beginning of a module (or script, for that matter). The imported module names ar







Flashcard 4472049110284

Question
[Python] In what order are different locations searched when importing a particular module?
Answer
When a module named spam is imported, the interpreter first searches for a built-in module with that name. If not found, it then searches for a file named spam.py in a list of directories given by the variable sys.path .


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
6. Modules — Python 3.8.0 documentation
> This is often used either to provide a convenient user interface to a module, or for testing purposes (running the module as a script executes a test suite). 6.1.2. The Module Search Path¶ <span>When a module named spam is imported, the interpreter first searches for a built-in module with that name. If not found, it then searches for a file named spam.py in a list of directories given by the variable sys.path. sys.path is initialized from these locations: The directory containing the input script (or the current directory when no file is specified). PYTHONPATH (a list of directory names, with







Flashcard 4472053304588

Question
[Python] What does __init__.py in the directory of a package allow us to do?
Answer
So, that is basically what __init__.py does! It allows you to treat a directory as if it was a python module. Then you can further define imports inside your __init__.py file to make imports more succinct, or you can just leave the file blank.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
How to create a Python Package with __init__.py - Timothy Bramlett
g)) print(string_func.stringToLower(some_string)) print(string_func.stringToUpper(some_string)) Now the syntax is a lot shorter and you can see that string_func is behaving like its own module. <span>So, that is basically what __init__.py does! It allows you to treat a directory as if it was a python module. Then you can further define imports inside your __init__.py file to make imports more succinct, or you can just leave the file blank. Debugging import Issues There are basically 3 tips I have for debugging import issues: Use the interactive interpreter (The REPL) to import the modules and see if you are getting what y







Flashcard 4472057498892

Question
[Computing] What does REPL, in the context of interpretters, stand for? What is it?
Answer

read–eval–print loop (REPL)

An interactive interpretter; like the Python shell.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill
Read–eval–print loop - Wikipedia
ced material may be challenged and removed. Find sources: "Read–eval–print loop" – news · newspapers · books · scholar · JSTOR (June 2015) (Learn how and when to remove this template message) A <span>read–eval–print loop (REPL), also termed an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs (i.e., single expressions), evaluates (ex







Flashcard 4472071916812

Question
In AWS, for CloudFront CDN, [...] [...] refer to the servers where the content gets cached for faster delivery to end user
Answer
Edge Locations


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472074013964

Question
In AWS, for CloudFront CDN, the main server where the content is sourced from to the different Edge Locations is called the [...]
Answer

Origin

^^ mostly origin is S3 bucket or ELB, but could be EC2 or Route 53 (according to acloud.guru)


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472076111116

Question
In AWS, for CloudFront CDN, a [...] is the name given to the collection of Edge Locations used to serve content from a particular Origin (e.g. S3 bucket)
Answer
Distribution


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472078208268

Question
In AWS, for CloudFront CDN, Origins can be any of [...could be one or two words...] , ELB, EC2 or Route 53
Answer

S3 bucket

^^ Recall Origin is the server where the original content is sourced from to the different Edge Locations


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472080305420

Question
In AWS, for CloudFront CDN, Origins can be any of S3 bucket, [...] , EC2 or Route 53
Answer

ELB (load balancer connected to EC2 instances)

^^ Recall Origin is the server where the original content is sourced from to the different Edge Locations


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472082402572

Question
In AWS, for CloudFront CDN, there are two types of Distributions supported: [...] Distributions and RTMP
Answer

Web Distributions

^^ Recall Distribution is just name given to collection of Edge Locations used to serve content from a particular Origin (e.g. S3 bucket)
^^^ RTMP is Real Time Media Player used to distribute adobe media player files, it is barely used so most Distributions are Web Distributions


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472084499724

Question
In AWS, for CloudFront CDN, Edge locations are not just READ only, you can also write/upload to them too, one example is how S3 [...] [...] works
Answer
Transfer Acceleration


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472086596876

Question
In AWS, for CloudFront CDN, when objects are cached in the edge location they are cached for the life/length of the [...this is an acronym...]
Answer

TTL (Time To Live)

^^ TTL is configurable through CloudFront settings.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472088694028

Question

In AWS, for CloudFront CDN, if you upload new content to your Origin (e.g. S3 bucket), and you want users to see the updated content right away, and not wait for the cache TTL set for the Edge Locations to expire, you can setup/create an [...]

Answer

Invalidation

^^ you are charged money for the invalidations
^^^ you can set them at path level (i.e. particular directory within a bucket.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472090791180

Question
In AWS, the name of Amazon's CDN (content distribution network) to allow faster delivary of content to users is called AWS [...]
Answer
CloudFront


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472092888332

Question
In AWS, if you want to restrict access to CloudFront delivered content to say paying customers only (e,g, how Netflix distributes their Videos) you can configure the use of [...] [...] s
Answer
Signed URLs


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472094985484

Question
In AWS, [...] is a big box/disk Amazon ships to you for moving large chuncks of data in and out of S3, to save networking traffic costs
Answer
Snowball


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472097082636

Question
In AWS, using [...] is a good solution when you have Terrabytes of data you want to move to/from S3 and you don't want to spend a fortune on network transfer costs
Answer

Snowball

^^ each snowball can move 50T to 80T, as there are two types


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472099179788

Question
In AWS, you have Snowball that is a big box/disk Amazon ships you to move Terrabytes of data in and out of S3, but with Snowball Edge, you have same capability but with added benefit of [...] in addition to storage
Answer

Compute

^^ each snowball can move 50T to 80T, as there are two types while Snowball Edge has 100T of storage space
^^^ An example of Snowball Edge usage is airlines have them on planes to run tests in flight, where internet is not available/slow, so they can run things like Lambda functions and have S3 like storage two, offline


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472101276940

Question
In AWS, you use Snowball to move Terrabytes of data to/from S3 but if you have Petabytes or more of data to move at once, then you need AWS [...]
Answer

Snowmobile


^^^ Snowmobile is a bit truck that can move 100Petabytes of data per truck and save lots of money on internet transfer costs


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472103374092

Question
In AWS, [...] [...] is a service that lets you have a hybrid model of having your application server onsite while having your data on S3 (for backups, etc). It achieves this by putting VM software or actual hardware into your onprem datacentre that syncs data to S3.
Answer
Storage Gateway


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472105471244

Question
In AWS, for Storage Gateway, you use [...] Gateway if you want to just store flat files on S3
Answer

File

^^ Recall Storage Gateway is a service that lets you have a hybrid model of having your application server onsite while having your data on S3 (for backups, etc). It achieves this by putting VM software or actual hardware into your onprem datacentre.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472107568396

Question
In AWS, for Storage Gateway, you use [...] Gateway if you want to store block storage volumes on the cloud (as opposed to simple flat files)
Answer

Volume

^^ Recall Storage Gateway is a service that lets you have a hybrid model of having your application server onsite while having your data on S3 (for backups, etc). It achieves this by putting VM software or actual hardware into your onprem datacentre.
^^^ for Volume Gateway, volumes are saved as EBS snapshots and stored on S3


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472109665548

Question
In AWS, for Volume Storage Gateway (where your on-premise block storage volumes are synced to S3, via saving them as EBS snapshots), you have Stored Volumes that sync your entire storage onsite and on S3 and [...] Volumes that also syncs entire storage on S3, but only caches the most frequently used data on the onpremise side.
Answer
Cached


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill






Flashcard 4472111762700

Question
In AWS, Gateway Virual Tape Library (a variable of Storage Gateway), is for backing up your [...] drive archives to S3 (and through that probably to glacier, for cost saving).
Answer

Tape

^^ Note Gateway Virual Tape Library integrates well with the most used tape archiving solutions so it can be adopted quickly to release you of headache of storing tape drives in bank vaults for example, as we did in Intrynsyc.


statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill