Unit 4: Databases and Data Management - Practice Quiz

INT364 — Cloud Architecture And Implementation-Ii 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 Which database type is most appropriate for structured data that requires joins and ACID transactions?

Database layer considerations and use cases Easy
A. Graph database
B. Key-value database
C. In-memory cache
D. Relational database

2 Which factor should be considered when selecting a database for an application?

Database layer considerations and use cases Easy
A. Office network color
B. Application access patterns
C. Developer screen size
D. Source code font

3 Which database characteristic is most important for an online payment system?

Database layer considerations and use cases Easy
A. Transaction consistency
B. Image compression
C. Video streaming
D. File archiving

4 What is Amazon Relational Database Service (Amazon RDS)?

Amazon RDS features and connection management Easy
A. A virtual private network service
B. A managed object storage service
C. A managed relational database service
D. A source code repository service

5 Which Amazon RDS feature pools and shares database connections to improve application scalability?

Amazon RDS features and connection management Easy
A. Amazon Route 53
B. Amazon RDS Proxy
C. AWS Direct Connect
D. Amazon RDS Snapshot

6 What should an application normally use to connect to an Amazon RDS database instance?

Amazon RDS features and connection management Easy
A. The snapshot identifier
B. The subnet identifier
C. The backup window
D. The database endpoint

7 Which task is generally managed by Amazon RDS?

Amazon RDS features and connection management Easy
A. Application interface design
B. Client device maintenance
C. Database software patching
D. Business data entry

8 What is a primary purpose of Amazon RDS automated backups?

Automated backups and read replicas in RDS Easy
A. Converting relational data into graph data
B. Restoring a database to a point in time
C. Creating user interfaces for applications
D. Increasing the number of database tables

9 What is the main purpose of an Amazon RDS read replica?

Automated backups and read replicas in RDS Easy
A. Scaling read workloads
B. Scaling write workloads
C. Managing network routing
D. Replacing all backups

10 How is data typically copied from an Amazon RDS source database to a read replica?

Automated backups and read replicas in RDS Easy
A. Using DNS zone transfers
B. Using manual file uploads
C. Using browser-based downloads
D. Using asynchronous replication

11 What type of database is Amazon DynamoDB?

Amazon DynamoDB and other purpose-built databases Easy
A. A traditional relational database
B. A key-value and document database
C. A graph-only database
D. A ledger-only database

12 Which key component determines how Amazon DynamoDB distributes data across partitions?

Amazon DynamoDB and other purpose-built databases Easy
A. Encryption key
B. Foreign key
C. Partition key
D. Backup key

13 Which AWS database service is designed for highly connected graph data?

Amazon DynamoDB and other purpose-built databases Easy
A. Amazon Neptune
B. Amazon ElastiCache
C. Amazon Timestream
D. Amazon Redshift

14 Which AWS service is designed primarily for in-memory caching?

Amazon DynamoDB and other purpose-built databases Easy
A. Amazon ElastiCache
B. Amazon Neptune
C. Amazon RDS
D. Amazon DocumentDB

15 Which AWS service helps migrate data between databases while minimizing application downtime?

Migrating databases to AWS Easy
A. AWS CloudFormation
B. AWS Database Migration Service
C. AWS Artifact
D. AWS CodeCommit

16 Which AWS tool helps convert a source database schema to a different target database engine?

Migrating databases to AWS Easy
A. AWS Security Hub
B. AWS Systems Manager
C. AWS Schema Conversion Tool
D. AWS Storage Gateway

17 What should an organization do before beginning a database migration to AWS?

Migrating databases to AWS Easy
A. Disable database monitoring
B. Assess the source database
C. Remove access controls
D. Delete all source backups

18 Which practice improves database availability in the AWS Cloud?

Applying Well-Architected principles to the database layer Easy
A. Using only one storage volume
B. Disabling automated failover
C. Keeping a single database copy
D. Deploying across multiple Availability Zones

19 Which security principle grants database users only the permissions they need?

Applying Well-Architected principles to the database layer Easy
A. Horizontal scaling
B. Least privilege
C. Maximum throughput
D. Open access

20 Which practice supports cost optimization for the database layer?

Applying Well-Architected principles to the database layer Easy
A. Disabling usage monitoring
B. Overprovisioning every instance
C. Retaining unused databases
D. Right-sizing database resources

21 An application requires complex joins, strong referential integrity, and transactions across several related tables. Which database type is the most appropriate choice?

Database layer considerations and use cases Medium
A. Graph database
B. Object storage
C. Relational database
D. Key-value database

22 A social networking application frequently queries relationships such as friends, followers, and mutual connections. Which database model best fits this workload?

Database layer considerations and use cases Medium
A. Graph database
B. File-based database
C. Columnar warehouse
D. Relational database

23 An application stores session data using a unique session identifier and needs very fast lookups without complex queries. Which database pattern is most suitable?

Database layer considerations and use cases Medium
A. Data warehouse
B. Relational database
C. Graph database
D. Key-value database

24 A team wants Amazon RDS to apply minor database engine patches during a predictable maintenance window. Which configuration should they use?

Amazon RDS features and connection management Medium
A. Parameter group family
B. Read replica schedule
C. Backup retention period
D. Preferred maintenance window

25 An application should continue connecting to an RDS database after a failover without changing its configured endpoint. Which endpoint should it use?

Amazon RDS features and connection management Medium
A. The host server address
B. The database engine port
C. The RDS instance endpoint
D. The replica instance endpoint

26 A connection pool keeps many idle connections open and causes the database to reach its connection limit. Which change most directly addresses the issue?

Amazon RDS features and connection management Medium
A. Change the storage class
B. Add a read replica
C. Reduce pool size
D. Increase backup retention

27 An organization needs database credentials to rotate automatically without storing long-lived passwords in application configuration files. Which approach is most appropriate?

Amazon RDS features and connection management Medium
A. Embed passwords in SQL queries
B. Use AWS Secrets Manager
C. Save passwords in public parameters
D. Store passwords in user data

28 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?

Automated backups and read replicas in RDS Medium
A. Read replicas
B. Automated backups
C. Multi-AZ deployment
D. Manual snapshots only

29 A reporting workload is increasing read traffic on a production RDS database. The reports can tolerate slightly stale data. What is the best solution?

Automated backups and read replicas in RDS Medium
A. Move the database to object storage
B. Increase the backup window
C. Disable automated backups
D. Create a read replica

30 A read replica has increasing replication lag during large reporting queries. Which action is most likely to reduce the impact?

Automated backups and read replicas in RDS Medium
A. Reduce backup retention
B. Change the primary endpoint
C. Disable encryption
D. Scale the replica instance

31 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?

Automated backups and read replicas in RDS Medium
A. Manual snapshot schedule
B. Single-AZ storage scaling
C. Multi-AZ deployment
D. Read replica deployment

32 A DynamoDB table is queried by CustomerId and sorted by OrderDate. Which key design best supports this access pattern?

Amazon DynamoDB and other purpose-built databases Medium
A. Partition key OrderDate and sort key CustomerId
B. Sort key CustomerId only
C. Partition key CustomerId and sort key OrderDate
D. Partition key CustomerId only

33 A DynamoDB workload has unpredictable traffic and requires automatic capacity adjustment while maintaining low latency. Which feature is most appropriate?

Amazon DynamoDB and other purpose-built databases Medium
A. On-demand capacity mode
B. Fixed provisioned capacity
C. Manual table backups
D. DynamoDB export only

34 An application needs to retrieve DynamoDB items by email address, but the table's primary key is UserId. What should be created?

Amazon DynamoDB and other purpose-built databases Medium
A. A new Availability Zone
B. A read-only RDS replica
C. A database snapshot
D. A global secondary index

35 A financial application needs highly durable, scalable storage for immutable event records that are rarely updated. Which purpose-built option is most suitable?

Amazon DynamoDB and other purpose-built databases Medium
A. Amazon S3
B. Amazon ElastiCache
C. Amazon Neptune
D. Amazon RDS

36 A company needs to migrate a running on-premises database to AWS while minimizing downtime. Which AWS service is designed for this requirement?

Migrating databases to AWS Medium
A. AWS Trusted Advisor
B. AWS Database Migration Service
C. AWS Snowball Edge
D. Amazon CloudFront

37 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?

Migrating databases to AWS Medium
A. Amazon Route 53
B. AWS Schema Conversion Tool
C. AWS Cost Explorer
D. Amazon Inspector

38 Before migrating a large database, the team wants to identify unsupported features and estimate conversion effort. What should it do first?

Migrating databases to AWS Medium
A. Increase application timeouts
B. Delete unused source tables
C. Assess source compatibility
D. Disable all source indexes

39 A database contains sensitive customer information. Which design best supports the security pillar of the AWS Well-Architected Framework?

Applying Well-Architected principles to the database layer Medium
A. Encrypt data at rest and in transit
B. Use shared administrator credentials
C. Disable audit logging
D. Expose the database publicly

40 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?

Applying Well-Architected principles to the database layer Medium
A. Right-size resources from metrics
B. Store every dataset in memory
C. Disable performance monitoring
D. Provision maximum capacity permanently

41 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?

Database layer considerations and use cases Hard
A. A graph database with property-based relationship indexing
B. An object store with metadata-based partition queries
C. A globally replicated key-value store with eventual consistency
D. A relational database with synchronous transactions and managed backups

42 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?

Database layer considerations and use cases Hard
A. Normalize orders across several relational tables
B. Use a wide-column store with a customer-time partition key
C. Use a graph model with customer vertices and order edges
D. Store each order as a separate object without indexes

43 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 layer considerations and use cases Hard
A. Compare only the database engine license fees
B. Measure access patterns, consistency needs, recovery objectives, and operational effort
C. Prefer the database with the largest number of supported data types
D. Select the engine with the highest single-node throughput

44 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?

Amazon RDS features and connection management Hard
A. Increase the database backup retention period
B. Enable a read replica for every application instance
C. Increase the database storage volume size
D. Place a connection pooler such as RDS Proxy between clients and RDS

45 An application must reconnect automatically after an RDS Multi-AZ failover. Which connection strategy is most appropriate?

Amazon RDS features and connection management Hard
A. Connect directly to the standby instance identifier
B. Use the RDS endpoint and implement retry with backoff
C. Resolve the endpoint once and disable DNS caching controls
D. Cache the current instance IP address permanently

46 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?

Amazon RDS features and connection management Hard
A. The RDS instance has automated backups enabled
B. The application uses a Multi-AZ deployment
C. The VPCs lack private routing through peering or Transit Gateway
D. The database parameter group lacks a read-only flag

47 A database administrator changes an RDS parameter, but the engine behavior does not change immediately. Which explanation is most accurate?

Amazon RDS features and connection management Hard
A. All RDS parameters apply immediately without restart
B. The parameter may be static and require a pending reboot
C. Parameter changes affect replicas but never the primary
D. RDS applies parameters only after a storage resize

48 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?

Automated backups and read replicas in RDS Hard
A. A read replica with no backup retention and a larger volume
B. Multi-AZ with a cross-Region snapshot copied once
C. Automated backups with 21-day retention and a read replica
D. Manual snapshots and Multi-AZ only

49 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?

Automated backups and read replicas in RDS Hard
A. Increase backup retention on the replica
B. Disable automated backups on the primary
C. Route consistency-sensitive reads to the primary
D. Route confirmation reads to the asynchronous replica

50 A read replica is promoted after a primary failure. Which operational consequence must the application team account for?

Automated backups and read replicas in RDS Hard
A. Replication stops and the promoted instance becomes independently writable
B. The promoted replica automatically becomes a Multi-AZ standby
C. All source database parameter settings are discarded
D. The original primary resumes replication without configuration

51 A team wants a read replica in another Region for disaster recovery. Which issue most directly affects the recovery design?

Automated backups and read replicas in RDS Hard
A. Read replicas cannot be promoted in any Region
B. Automated backups are permanently disabled on the source
C. Cross-Region replication is asynchronous and may lose recent commits
D. Cross-Region replication is synchronous with zero lag

52 An RDS backup window overlaps with a nightly batch job and causes unacceptable I/O contention. Which response best reduces operational impact?

Automated backups and read replicas in RDS Hard
A. Disable all automated backups permanently
B. Move the backup window outside the batch workload
C. Convert the primary immediately into a read replica
D. Reduce the backup retention period to one hour

53 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?

Amazon DynamoDB and other purpose-built databases Hard
A. Add a write-sharding suffix to distribute the hot tenant
B. Create a global secondary index on the same key
C. Increase item size to improve partition utilization
D. Replace the partition key with a constant value

54 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?

Amazon DynamoDB and other purpose-built databases Hard
A. A transactional write with conditional expressions
B. A global secondary index with projected attributes
C. A scan followed by a batch write operation
D. A eventually consistent query followed by two independent writes

55 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?

Amazon DynamoDB and other purpose-built databases Hard
A. Use an idempotency token stored and checked with a conditional write
B. Project all attributes into a local secondary index
C. Increase the table's provisioned read capacity
D. Use eventually consistent reads before every retry

56 A product catalog requires full-text search, relevance ranking, faceting, and typo tolerance, while the authoritative records remain transactional. Which architecture is most suitable?

Amazon DynamoDB and other purpose-built databases Hard
A. Use a relational read replica for token-based relevance ranking
B. Use DynamoDB scans for every catalog search
C. Store catalog records only in an object store
D. Use DynamoDB as the source and synchronize a search service

57 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?

Migrating databases to AWS Hard
A. Export a snapshot and accept an extended application outage
B. Run a read-only export after stopping all application writes
C. Use AWS DMS full load plus ongoing change data capture
D. Copy only the latest records after the target is created

58 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?

Migrating databases to AWS Hard
A. Disable constraints permanently and migrate only application tables
B. Start replication before assessing application compatibility
C. Assess and convert the schema, test workloads, then replicate and cut over
D. Convert the target after production traffic is redirected

59 A migration validation report shows equal row counts, but users report missing relationships and incorrect timestamps. Which validation improvement is most important?

Migrating databases to AWS Hard
A. Increase the target instance class without further validation
B. Delete indexes so row counts become easier to compare
C. Compare checksums, constraints, relationships, types, and representative queries
D. Validate only the total number of target rows

60 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?

Applying Well-Architected principles to the database layer Hard
A. Reliability is addressed completely by Multi-AZ
B. Cost optimization requires removing all replicas
C. Operational readiness and recovery planning are incomplete
D. Performance efficiency prohibits automated backups