Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Question 1 of 60 · Database layer considerations and use cases · Easy
Which database type is most appropriate for structured data that requires joins and ACID transactions?
Not quite. Try another option.
Answer: Relational database
Relational databases support structured tables, joins, and ACID transactions.
Question 2 of 60 · Database layer considerations and use cases · Easy
Which factor should be considered when selecting a database for an application?
Not quite. Try another option.
Answer: Application access patterns
Access patterns show how an application reads and writes data, helping determine the most suitable database.
Question 3 of 60 · Database layer considerations and use cases · Easy
Which database characteristic is most important for an online payment system?
Not quite. Try another option.
Answer: Transaction consistency
Payment systems require consistent transactions so that financial data remains accurate.
Question 4 of 60 · Amazon RDS features and connection management · Easy
What is Amazon Relational Database Service (Amazon RDS)?
Not quite. Try another option.
Answer: A managed relational database service
Amazon RDS simplifies the setup, operation, and scaling of relational databases on AWS.
Question 5 of 60 · Amazon RDS features and connection management · Easy
Which Amazon RDS feature pools and shares database connections to improve application scalability?
Not quite. Try another option.
Answer: Amazon RDS Proxy
Amazon RDS Proxy pools and reuses database connections, reducing the connection-management load.
Question 6 of 60 · Amazon RDS features and connection management · Easy
What should an application normally use to connect to an Amazon RDS database instance?
Not quite. Try another option.
Answer: The database endpoint
The RDS endpoint provides the hostname that applications use to connect to the database.
Question 7 of 60 · Amazon RDS features and connection management · Easy
Which task is generally managed by Amazon RDS?
Not quite. Try another option.
Answer: Database software patching
Amazon RDS manages common administrative tasks such as software patching and infrastructure maintenance.
Question 8 of 60 · Automated backups and read replicas in RDS · Easy
What is a primary purpose of Amazon RDS automated backups?
Not quite. Try another option.
Answer: Restoring a database to a point in time
Automated backups support point-in-time recovery within the configured retention period.
Question 9 of 60 · Automated backups and read replicas in RDS · Easy
What is the main purpose of an Amazon RDS read replica?
Not quite. Try another option.
Answer: Scaling read workloads
Read replicas offload read queries from the primary database and improve read scalability.
Question 10 of 60 · Automated backups and read replicas in RDS · Easy
How is data typically copied from an Amazon RDS source database to a read replica?
Not quite. Try another option.
Answer: Using asynchronous replication
RDS read replicas generally use asynchronous replication, so a small replication delay may occur.
Question 11 of 60 · Amazon DynamoDB and other purpose-built databases · Easy
What type of database is Amazon DynamoDB?
Not quite. Try another option.
Answer: A key-value and document database
Amazon DynamoDB is a fully managed NoSQL database supporting key-value and document data models.
Question 12 of 60 · Amazon DynamoDB and other purpose-built databases · Easy
Which key component determines how Amazon DynamoDB distributes data across partitions?
Not quite. Try another option.
Answer: Partition key
DynamoDB uses the partition key value to determine where an item is stored.
Question 13 of 60 · Amazon DynamoDB and other purpose-built databases · Easy
Which AWS database service is designed for highly connected graph data?
Not quite. Try another option.
Answer: Amazon Neptune
Amazon Neptune is a purpose-built graph database for relationships and highly connected datasets.
Question 14 of 60 · Amazon DynamoDB and other purpose-built databases · Easy
Which AWS service is designed primarily for in-memory caching?
Not quite. Try another option.
Answer: Amazon ElastiCache
Amazon ElastiCache provides managed in-memory caching using engines such as Valkey, Memcached, and Redis OSS.
Question 15 of 60 · Migrating databases to AWS · Easy
Which AWS service helps migrate data between databases while minimizing application downtime?
Not quite. Try another option.
Answer: AWS Database Migration Service
AWS Database Migration Service (AWS DMS) supports database migrations with minimal downtime.
Question 16 of 60 · Migrating databases to AWS · Easy
Which AWS tool helps convert a source database schema to a different target database engine?
Not quite. Try another option.
Answer: AWS Schema Conversion Tool
AWS Schema Conversion Tool helps convert schemas and database code for heterogeneous migrations.
Question 17 of 60 · Migrating databases to AWS · Easy
What should an organization do before beginning a database migration to AWS?
Not quite. Try another option.
Answer: Assess the source database
Assessing the source database helps identify its size, dependencies, compatibility, and migration requirements.
Question 18 of 60 · Applying Well-Architected principles to the database layer · Easy
Which practice improves database availability in the AWS Cloud?
Not quite. Try another option.
Answer: Deploying across multiple Availability Zones
A Multi-AZ design improves availability by providing database resources in separate Availability Zones.
Question 19 of 60 · Applying Well-Architected principles to the database layer · Easy
Which security principle grants database users only the permissions they need?
Not quite. Try another option.
Answer: Least privilege
Least privilege reduces security risk by limiting users and applications to required permissions.
Question 20 of 60 · Applying Well-Architected principles to the database layer · Easy
Which practice supports cost optimization for the database layer?
Not quite. Try another option.
Answer: Right-sizing database resources
Right-sizing matches database capacity to workload needs and helps avoid unnecessary cost.
Question 21 of 60 · Database layer considerations and use cases · Medium
An application requires complex joins, strong referential integrity, and transactions across several related tables. Which database type is the most appropriate choice?
Not quite. Try another option.
Answer: Relational database
Relational databases support structured schemas, joins, referential integrity, and ACID transactions across related tables.
Question 22 of 60 · Database layer considerations and use cases · Medium
A social networking application frequently queries relationships such as friends, followers, and mutual connections. Which database model best fits this workload?
Not quite. Try another option.
Answer: Graph database
Graph databases are designed to represent entities and relationships, making traversal queries efficient.
Question 23 of 60 · Database layer considerations and use cases · Medium
An application stores session data using a unique session identifier and needs very fast lookups without complex queries. Which database pattern is most suitable?
Not quite. Try another option.
Answer: Key-value database
Key-value databases provide efficient access when each item is retrieved primarily by a unique key.
Question 24 of 60 · Amazon RDS features and connection management · Medium
A team wants Amazon RDS to apply minor database engine patches during a predictable maintenance window. Which configuration should they use?
Not quite. Try another option.
Answer: Preferred maintenance window
The preferred maintenance window defines when routine maintenance activities, such as minor upgrades, should occur.
Question 25 of 60 · Amazon RDS features and connection management · Medium
An application should continue connecting to an RDS database after a failover without changing its configured endpoint. Which endpoint should it use?
Not quite. Try another option.
Answer: The RDS instance endpoint
The RDS endpoint is designed to redirect connections to the active database instance after failover.
Question 26 of 60 · Amazon RDS features and connection management · Medium
A connection pool keeps many idle connections open and causes the database to reach its connection limit. Which change most directly addresses the issue?
Not quite. Try another option.
Answer: Reduce pool size
Reducing the connection pool size limits the number of idle and active connections maintained by the application.
Question 27 of 60 · Amazon RDS features and connection management · Medium
An organization needs database credentials to rotate automatically without storing long-lived passwords in application configuration files. Which approach is most appropriate?
Not quite. Try another option.
Answer: Use AWS Secrets Manager
AWS Secrets Manager securely stores credentials and supports automated rotation for supported database services.
Question 28 of 60 · Automated backups and read replicas in RDS · Medium
A company wants to restore an RDS database to a specific point during the last seven days after accidental data deletion. Which feature should it enable?
Not quite. Try another option.
Answer: Automated backups
Automated backups support point-in-time recovery within the configured backup retention period.
Question 29 of 60 · Automated backups and read replicas in RDS · Medium
A reporting workload is increasing read traffic on a production RDS database. The reports can tolerate slightly stale data. What is the best solution?
Not quite. Try another option.
Answer: Create a read replica
A read replica asynchronously copies data and can serve read-only workloads, reducing read pressure on the primary instance.
Question 30 of 60 · Automated backups and read replicas in RDS · Medium
A read replica has increasing replication lag during large reporting queries. Which action is most likely to reduce the impact?
Not quite. Try another option.
Answer: Scale the replica instance
Increasing the replica's compute capacity can help it process replicated changes and queries more quickly.
Question 31 of 60 · Automated backups and read replicas in RDS · Medium
A database must remain available if the underlying Availability Zone becomes unavailable, with automatic failover for the primary workload. Which RDS option should be selected?
Not quite. Try another option.
Answer: Multi-AZ deployment
A Multi-AZ deployment maintains a synchronous standby in another Availability Zone and supports automatic failover.
Question 32 of 60 · Amazon DynamoDB and other purpose-built databases · Medium
A DynamoDB table is queried by CustomerId and sorted by OrderDate. Which key design best supports this access pattern?
Not quite. Try another option.
Answer: Partition key CustomerId and sort key OrderDate
Using CustomerId as the partition key groups a customer's orders, while OrderDate enables ordered range queries.
Question 33 of 60 · Amazon DynamoDB and other purpose-built databases · Medium
A DynamoDB workload has unpredictable traffic and requires automatic capacity adjustment while maintaining low latency. Which feature is most appropriate?
Not quite. Try another option.
Answer: On-demand capacity mode
On-demand capacity automatically handles variable request rates without requiring capacity planning or provisioning.
Question 34 of 60 · Amazon DynamoDB and other purpose-built databases · Medium
An application needs to retrieve DynamoDB items by email address, but the table's primary key is UserId. What should be created?
Not quite. Try another option.
Answer: A global secondary index
A global secondary index supports queries using attributes other than the table's primary key.
Question 35 of 60 · Amazon DynamoDB and other purpose-built databases · Medium
A financial application needs highly durable, scalable storage for immutable event records that are rarely updated. Which purpose-built option is most suitable?
Not quite. Try another option.
Answer: Amazon S3
Amazon S3 provides durable, scalable object storage and is well suited to immutable event records and archival data.
Question 36 of 60 · Migrating databases to AWS · Medium
A company needs to migrate a running on-premises database to AWS while minimizing downtime. Which AWS service is designed for this requirement?
Not quite. Try another option.
Answer: AWS Database Migration Service
AWS DMS can perform ongoing replication from the source database, allowing a cutover with limited downtime.
Question 37 of 60 · Migrating databases to AWS · Medium
A migration project moves from one database engine to another and requires schema and code conversion. Which AWS tool should be used with the migration service?
Not quite. Try another option.
Answer: AWS Schema Conversion Tool
AWS SCT assesses and converts schemas, stored procedures, and other database objects for heterogeneous migrations.
Question 38 of 60 · Migrating databases to AWS · Medium
Before migrating a large database, the team wants to identify unsupported features and estimate conversion effort. What should it do first?
Not quite. Try another option.
Answer: Assess source compatibility
Compatibility assessment reveals unsupported features, conversion requirements, and potential migration risks before execution.
Question 39 of 60 · Applying Well-Architected principles to the database layer · Medium
A database contains sensitive customer information. Which design best supports the security pillar of the AWS Well-Architected Framework?
Not quite. Try another option.
Answer: Encrypt data at rest and in transit
Encryption protects stored data and network traffic, reducing the risk of unauthorized disclosure.
Question 40 of 60 · Applying Well-Architected principles to the database layer · Medium
A database workload varies significantly during the day, and the team wants to control costs without reducing required performance. Which practice aligns best with cost optimization?
Not quite. Try another option.
Answer: Right-size resources from metrics
Monitoring actual utilization supports right-sizing, which avoids paying for unused database capacity while preserving performance.
Question 41 of 60 · Database layer considerations and use cases · Hard
A financial application requires strongly consistent balances, multi-row ACID transactions, complex joins, and auditable point-in-time recovery. Which database architecture best satisfies these requirements?
Not quite. Try another option.
Answer: A relational database with synchronous transactions and managed backups
Relational databases are appropriate when the workload requires ACID transactions, joins, referential integrity, and structured recovery controls.
Question 42 of 60 · Database layer considerations and use cases · Hard
An order system receives unpredictable traffic spikes. Most requests retrieve an order by customer ID and timestamp, while writes must remain durable and highly available. Which design most directly improves scalability without introducing cross-record joins?
Not quite. Try another option.
Answer: Use a wide-column store with a customer-time partition key
A wide-column database can scale horizontally for predictable access patterns when the partition key distributes traffic and supports the required query directly.
Question 43 of 60 · Database layer considerations and use cases · Hard
A team plans to select a database solely by comparing benchmarked transactions per second. Which additional evaluation is most important before making the decision?
Database suitability depends on workload shape, consistency, durability, recovery, scaling, and operations, not on an isolated throughput benchmark.
Question 44 of 60 · Amazon RDS features and connection management · Hard
An Amazon RDS database experiences connection exhaustion whenever the application scales out. Query latency is normal, but many connections remain idle. Which change best addresses the root cause?
Not quite. Try another option.
Answer: Place a connection pooler such as RDS Proxy between clients and RDS
RDS Proxy pools and multiplexes connections, reducing connection churn and protecting the database from large numbers of idle client connections.
Question 45 of 60 · Amazon RDS features and connection management · Hard
An application must reconnect automatically after an RDS Multi-AZ failover. Which connection strategy is most appropriate?
Not quite. Try another option.
Answer: Use the RDS endpoint and implement retry with backoff
The RDS endpoint is maintained across failover. Clients should reconnect using it and retry transient connection failures with bounded backoff.
Question 46 of 60 · Amazon RDS features and connection management · Hard
A production RDS instance is in a private subnet, while an application runs in another VPC. The application cannot connect even though the RDS security group allows its port. Which missing condition is most likely?
Not quite. Try another option.
Answer: The VPCs lack private routing through peering or Transit Gateway
Security groups permit traffic only after network reachability exists. Cross-VPC private access also requires connectivity and route-table configuration.
Question 47 of 60 · Amazon RDS features and connection management · Hard
A database administrator changes an RDS parameter, but the engine behavior does not change immediately. Which explanation is most accurate?
Not quite. Try another option.
Answer: The parameter may be static and require a pending reboot
RDS parameters can be dynamic or static. Static parameters generally require a reboot before the new value takes effect.
Question 48 of 60 · Automated backups and read replicas in RDS · Hard
A company needs recovery to any point within the last 21 days after accidental deletes. It also needs to offload reporting queries from the production database. Which combination is correct?
Not quite. Try another option.
Answer: Automated backups with 21-day retention and a read replica
Automated backups support point-in-time recovery within the retention window, while read replicas serve read workloads asynchronously.
Question 49 of 60 · Automated backups and read replicas in RDS · Hard
A read replica is several minutes behind the primary during a reporting burst. The business requires reports to reflect committed transactions immediately after an order confirmation. What is the best change?
Not quite. Try another option.
Answer: Route consistency-sensitive reads to the primary
RDS read replicas use asynchronous replication, so they can lag. Reads requiring current committed data must use the primary or another synchronous design.
Question 50 of 60 · Automated backups and read replicas in RDS · Hard
A read replica is promoted after a primary failure. Which operational consequence must the application team account for?
Not quite. Try another option.
Answer: Replication stops and the promoted instance becomes independently writable
Promotion breaks the replica relationship and makes the instance an independent primary. Rebuilding replication or redesigning topology may be required.
Question 51 of 60 · Automated backups and read replicas in RDS · Hard
A team wants a read replica in another Region for disaster recovery. Which issue most directly affects the recovery design?
Not quite. Try another option.
Answer: Cross-Region replication is asynchronous and may lose recent commits
Cross-Region read-replica replication is asynchronous. The recovery point objective must account for replication lag and possible loss of recent transactions.
Question 52 of 60 · Automated backups and read replicas in RDS · Hard
An RDS backup window overlaps with a nightly batch job and causes unacceptable I/O contention. Which response best reduces operational impact?
Not quite. Try another option.
Answer: Move the backup window outside the batch workload
Scheduling the backup window during a low-traffic period reduces contention while preserving automated recovery capability.
Question 53 of 60 · Amazon DynamoDB and other purpose-built databases · Hard
A DynamoDB table uses tenantId as its partition key. One tenant generates 70% of all traffic, causing throttling despite unused total table capacity. What is the best redesign?
Not quite. Try another option.
Answer: Add a write-sharding suffix to distribute the hot tenant
A hot logical key can concentrate traffic on one partition. Sharding the key spreads requests across physical partitions, with reads querying the relevant shards.
Question 54 of 60 · Amazon DynamoDB and other purpose-built databases · Hard
A DynamoDB workload requires atomic updates to an account balance and a ledger item, rejecting the operation if either condition is invalid. Which feature best fits?
Not quite. Try another option.
Answer: A transactional write with conditional expressions
DynamoDB transactions provide atomicity across items, while conditional expressions enforce business invariants such as sufficient balance.
Question 55 of 60 · Amazon DynamoDB and other purpose-built databases · Hard
A DynamoDB item is updated with a conditional expression, but a client retry may submit the same logical request twice after a timeout. Which mechanism most directly prevents duplicate business effects?
Not quite. Try another option.
Answer: Use an idempotency token stored and checked with a conditional write
An idempotency record or token lets the service recognize repeated requests and conditionally apply the business operation only once.
Question 56 of 60 · Amazon DynamoDB and other purpose-built databases · Hard
A product catalog requires full-text search, relevance ranking, faceting, and typo tolerance, while the authoritative records remain transactional. Which architecture is most suitable?
Not quite. Try another option.
Answer: Use DynamoDB as the source and synchronize a search service
DynamoDB can provide durable product storage, while a purpose-built search engine handles inverted indexes, ranking, filtering, and typo tolerance.
Question 57 of 60 · Migrating databases to AWS · Hard
A large production database must migrate to AWS with minimal downtime. The target schema is compatible, and changes must continue replicating during the initial data load. Which approach is most appropriate?
Not quite. Try another option.
Answer: Use AWS DMS full load plus ongoing change data capture
AWS DMS can perform an initial full load and replicate ongoing source changes, allowing a controlled cutover with limited downtime.
Question 58 of 60 · Migrating databases to AWS · Hard
During a heterogeneous migration from a commercial relational engine to Aurora PostgreSQL, incompatibilities exist in stored procedures and data types. Which sequence best reduces cutover risk?
Not quite. Try another option.
Answer: Assess and convert the schema, test workloads, then replicate and cut over
Heterogeneous migrations require schema and code conversion, compatibility testing, replication validation, and a rehearsed cutover.
Question 59 of 60 · Migrating databases to AWS · Hard
A migration validation report shows equal row counts, but users report missing relationships and incorrect timestamps. Which validation improvement is most important?
Not quite. Try another option.
Answer: Compare checksums, constraints, relationships, types, and representative queries
Row counts alone do not detect altered values, relationships, type conversion errors, or query behavior. Validation must cover data and semantics.
Question 60 of 60 · Applying Well-Architected principles to the database layer · Hard
A database design uses Multi-AZ for failover but has no tested restore process, no defined recovery objectives, and no alerting for replication lag. Which Well-Architected concern is most evident?
Not quite. Try another option.
Answer: Operational readiness and recovery planning are incomplete
High availability is only one part of reliability. Tested recovery procedures, defined RPO and RTO, monitoring, and operational runbooks are also required.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of INT364 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of INT364 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.