Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

SWE 645 FINAL EXAM QUESTIONS WITH VERIFIED ANSWERS

Document preview thumbnail
Preview 2 out of 13 pages

SWE 645 FINAL EXAM QUESTIONS WITH VERIFIED ANSWERS

Content preview

SWE 645 FINAL EXAM QUESTIONS WITH VERIFIED
ANSWERS

Basic python variables - Answers - str (string), int, float, boolean

Python Collections - Container data types - Answers - List, dictionary, tuple, set
Comprehension

Comprehension in Python - Answers - used to create a new built-in data structure like a
list, a dictionary or a set from an existing data structure

three types of comprehension - Answers - List
Set
Dictionary

how python syntax differs from java - Answers - python doesn't have the semi colon
python relies on indentation rather than curly braces it uses x spaces for indentations as
long as its consistent (even a tab)
python doesn't declare the data type
python conditionals use a : (colon) rather than a curly brace
python 3 onward uses print(x) instead of print x

Syntax requires ____ after if, for, while, function def, etc. - Answers - : COLON

Python uses indentation instead of - Answers - {}, to specify blocks of code

Data science libraries add new data types to Python - Answers - - ndarray (NumPy)
- Series (Pandas) and
- DataFrame (Pandas)

Sequence of characters in 'single' or "double quotes" - Answers - string literals

'Hello' is same as "Hello" in python - Answers - True

Strings are immutable - Answers - Once assigned a value to a string, it can't be mutated
or changed.

mystring = 'hello'
mystring[0] = 'z' - Answers - Error: item assignment not supported by str object

SQL is optimized for - Answers - storage

NoSQL is optimized for - Answers - Compute

, NoSQL is - Answers - Denormalized/hierarchical
Instantiated views
scale horizontally
Built for OLTP at scale

SQL is - Answers - Normalized/relations
Ad hox queries
Scale vertically
Good for OLAP

Partition key - Answers - uniquely identifies item
used for building an unordered hash index
allows table to be partitioned for scale

Partition sort key - Answers - uses two attributes together to uniquely identify an item
within unorded hash index data is arranged by the sort key
no lmimit on the number of items per partition key

Local secondary index - Answers - alternate sort key atribute
index is local to partition key

Global Secondary Index - Answers - Alternate partition and/or sort key
index is accross all partition keys

GSI update - Answers - 1. update request from client to table
2. update response from table to client
2(contd). asynchronous update (in progress from table to GSI)

what happens if GSI dont have enough write capacity - Answers - the tables will be
throtled

when to use LSI - Answers - LSI can be modeled as a GSI

if data size in an item collection is > 10GB - Answers - use GSI

if eventual consistency is ok for your scenario - Answers - use GSI

Scaling is based on - Answers - throughput and size

Throughput - Answers - Provision any amount of thorughput to a table

size - Answers - add any number of items to a tables

max item size - Answers - 400kb

LSI limit the number of range keys due to a _____lmit - Answers - 10gb

Document information

Uploaded on
July 2, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(360)
Sold
2133
Followers
1447
Items
58210
Last sold
1 week ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions