ESA - Exercises
ESA - Exercises
EXERCISES
EXERCISE 1
4. What is the availability for a system having 2 years MTBF and 1 month MTTR ?
a. 96%
b. 97.6%
c. 4%
d. More inputs are required to compute the availability
5. Which of the following describes the maximum amount of time a mission essential function can operate without the systems it
depends on before significantly impacting the organization?
a. MTBF
b. MTTR
c. RTO
d. RPO
7. We want to build a document storage system which will contain, on top of the NoSQL application database, a storage space where
documents will be stored. We want the database and the storage to be in the cloud for all its advantages. Choose two.
a. Amazon S3 and Amazon DynamoDB can be used respectively for document storage and the database
b. Amazon S3 buckets mostly contain objects that are often written to
c. Amazon DynamoDB provides a degree of flexibility allowing to create items attributes at the time of the creation of the items
d. Objects stored in S3 buckets can be accessed only at sometimes predefined by AWS
9. A file with a size of 20MB is stored on a disk space of 22MB. Assuming the storage system typically behaves as for that above file,
what is its storage efficiency?
a. 110%
b. 90.0%
c. 47.6%
d. More inputs are required to compute the storage efficiency
10. Which of the below approaches can be used to improve storage efficiency? Choose two.
a. Thin provisioning
b. Deduplication
c. Multipathing
d. Load balancing
11. The approach for improving storage efficiency where storage is provisioned based on how much space users need at any given time
is called
a. Thin provisioning
b. Deduplication
c. Zero-block elimination
d. Compression
12. The approach for improving storage efficiency where excessive copies of data are eliminated is called
a. Thin provisioning
b. Deduplication
c. Zero-block elimination
d. Compression
14. Choose what is true regarding objects stored in S3 buckets. Choose two.
a. S3 buckets mostly contain objects that are often written to
b. Objects stored include images, backups, data, movies, CSV files
c. Through the Console, you can upload a file up to 160GB
d. Objects stored can be accessed only at sometimes predefined by AWS
15. Choose what is true regarding Amazon DynamoDB. Choose two.
a. Items have a fixed number of attributes
b. The left menu “Explore items” allow performing actions on table items
c. Deleting items is not possible once they are created
d. “String” and “Number” are some data types for attributes with Amazon DynamoDB
EXERCISE 2
EXERCISE 3
We want to implement disaster recover on an SQL Server database, through automatic databases backups.
EXERCISE 4
We are creating on AWS an application to manage schools. We want to create a database to contain data of the application. For this
question we will focus on students and courses.
1. Through the AWS Management Console, create two tables named “student” and “course” with the below partition keys and sort
keys. The partition keys and sort keys are of type “String”. Submit 02 screenshots for the 02 tables.
2. Create two additional attributes “description” and “curriculum” of type “String” for the table “course”. Submit 02 screenshots while
creating each of the attributes.
EXERCISE 5
As a company is growing and having collaborators all over the country, they would like to transfer their local document repositories to the
cloud, to allow their collaborators to access what they need for their work, from a single source. They are planning to subscribe to Amazon
S3 for this.
1. Through the AWS Management Console, create a bucket named “workbucket2390”. Keep access control lists disabled.
2. Upload two lightweight files (one PNG picture and one PDF document, less than 200KB each) to the bucket.
a. Submit a screenshot showing the list of 02 files.
b. Open the object representing each file and display the link to publicly access the file. Submit 02 screenshots showing for
each file, the link for its public access and 2 other information around which concerns the file.
c. Copy the link to the PDF document to another tab of the same browser and press Enter. Submit a screenshot of what is
displayed. The screenshot should also show the link in the browser search bar.
3. While keeping the additional browser tab with the link to the PDF document open, return to the previous tab and perform the below
actions and submit a screenshot for each .
a. Enable access control list
b. Unblock public access to the PDF file
c. Make the PDF file public
d. Refresh the public link to the PDF file in the other tab
EXERCISE 6
1. Write in Python a Lempel-Ziv-Welch (LZW) compression algorithm. The below snippet may help.
a. w = NIL;
b. while ( read a character k )
c. {
d. if wk exists in the dictionary
e. w = wk;
f. else
g. add wk to the dictionary;
h. output the code for w;
i. w = k;
j. }
2. Write in Python a Lempel-Ziv-Welch (LZW) decompression algorithm
a. read a character k;
b. output k;
c. w = k;
d. while ( read a character k )
e. /* k could be a character or a code. */
f. {
g. entry = dictionary entry for k;
h. output entry;
i. add w + entry[0] to dictionary;
j. w = entry;
k. }