Curated

Design High-Performing Architectures 2 (3.5)

0 votes

Questions22

  1. Question 1

    Design High-Performing Architectures

    Several applications read a provisioned Kinesis data stream using shared-throughput consumers, exhausting shard read capacity while writes remain below capacity. Each application needs consistently low latency without increasing the shard count; what should the architect do?

    Show the answer

    Correct answerD. Register each application as an enhanced fan-out consumer.

    AWhy not this: More frequent polling does not increase shared read capacity and can cause additional throttling.

    BWhy not this: Longer retention extends replay availability but does not increase consumer read throughput.

    CWhy not this: Shared-throughput consumers still compete for the shard's shared read capacity, even when applications use separate consumers.

    DWhy this is right: Enhanced fan-out provides dedicated read throughput per consumer per shard, avoiding shared-read contention.

    Enhanced fan-out gives each registered consumer dedicated read throughput per shard and pushes records to consumers. Separate shared-throughput consumers still compete for the same shard read capacity, so merely separating consumers does not remove contention.

    Open this question
  2. Question 2

    Design High-Performing Architectures

    A company is moving an on-premises event pipeline to AWS. Its producers and consumers use Apache Kafka client libraries, topics, and consumer groups. The company wants a managed streaming service with the fewest code changes to those applications. Which service should it choose?

    Show the answer

    Correct answerC. Amazon MSK

    AWhy not this: Kinesis Data Streams uses its own APIs and libraries, so Kafka applications would need to be rewritten.

    BWhy not this: Amazon MQ runs ActiveMQ and RabbitMQ brokers, which do not speak the Kafka protocol.

    CWhy this is right: Amazon MSK runs Apache Kafka, so existing Kafka clients, topics, and consumer groups work with configuration changes.

    DWhy not this: Managed Service for Apache Flink processes streams; it is not a broker that Kafka producers write to.

    Amazon MSK (Amazon Managed Streaming for Apache Kafka) runs Apache Kafka clusters, so existing Kafka producers and consumers connect with configuration changes rather than rewrites. Kinesis Data Streams is also a managed stream, but it uses its own APIs and client libraries, so the applications would need new code.

    Open this question
  3. Question 3

    Design High-Performing Architectures

    Which AWS service centrally manages fine-grained permissions on tables and columns in an Amazon S3 data lake?

    Show the answer

    Correct answerA. AWS Lake Formation

    AWhy this is right: AWS Lake Formation manages fine-grained permissions for data lake tables and columns.

    BWhy not this: Amazon Athena queries data and can enforce Lake Formation permissions, but it does not centrally manage those permissions.

    CWhy not this: AWS DataSync transfers data between storage systems rather than managing table and column permissions.

    DWhy not this: AWS Glue discovers, catalogs, and transforms data; centralized fine-grained data lake permissions are managed through Lake Formation.

    AWS Lake Formation centrally manages fine-grained data lake permissions, including table and column access. AWS Glue catalogs and transforms data but does not itself provide Lake Formation's centralized permission management.

    Open this question
  4. Question 4

    Design High-Performing Architectures

    A retailer finalizes sales files at midnight, and reports must be ready by 6 a.m. Processing takes one hour, and preliminary data has no business value; which ingestion pattern BEST avoids unnecessary ingestion runs?

    Show the answer

    Correct answerB. Run a daily batch after the finalized files become available.

    AWhy not this: Minute-by-minute polling is unnecessary when usable files are finalized only once daily.

    BWhy this is right: A batch after midnight can finish well before 6 a.m. without unnecessary preliminary ingestion.

    CWhy not this: Hourly micro-batches repeatedly ingest data before it becomes useful.

    DWhy not this: Continuous ingestion adds work for preliminary data that the business does not need.

    A daily batch after finalization meets the reporting deadline without repeatedly ingesting preliminary data. Hourly micro-batches increase ingestion frequency without providing business value.

    Open this question
  5. Question 5

    Design High-Performing Architectures

    Which services provide serverless SQL queries against Amazon S3 data and centralized management of data lake permissions, respectively? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Amazon AthenaC. AWS Lake Formation

    AWhy not this: Data Firehose delivers streaming data to destinations rather than querying it or managing data lake permissions.

    BWhy this is right: Athena provides serverless SQL queries against data stored in Amazon S3.

    CWhy this is right: Lake Formation centrally manages fine-grained permissions for data lakes.

    DWhy not this: Kinesis Data Streams captures streaming records rather than providing SQL queries or centralized data lake permissions.

    EWhy not this: DataSync transfers data between storage systems rather than querying data or managing data lake permissions.

    FWhy not this: Storage Gateway provides hybrid cloud storage access rather than SQL analytics or centralized data lake permissions.

    Amazon Athena runs serverless SQL queries against S3 data, while AWS Lake Formation centrally manages data lake permissions. AWS DataSync transfers data; it does not provide SQL analytics or centralized data lake authorization.

    Open this question
  6. Question 6

    Design High-Performing Architectures

    A company must load an operational database into an analytics platform while writes continue, then keep it current within seconds. Full extraction takes hours, and the source supports transaction logs; which ingestion pattern BEST avoids missing changes during the initial load?

    Show the answer

    Correct answerD. Capture changes during a consistent snapshot, then apply them continuously.

    AWhy not this: Repeated full snapshots cannot meet seconds-level freshness when each extraction takes hours.

    BWhy not this: Capturing only later transactions can miss changes committed during the initial snapshot load.

    CWhy not this: Creation timestamps identify new rows but do not reliably capture updates or deletions to existing rows.

    DWhy this is right: Capturing changes during the snapshot closes the initial-load gap and supports continuous incremental updates.

    A consistent initial snapshot combined with change data capture preserves changes made during the load and supports low-latency updates afterward. Starting change capture only after the snapshot finishes can miss transactions committed while the snapshot was being loaded.

    Open this question
  7. Question 7

    Design High-Performing Architectures

    A company must replace physical backup tapes with AWS storage while retaining backup software that requires an iSCSI virtual tape library. Completed tapes must move to archival storage without custom migration jobs; which solution BEST meets these requirements?

    Show the answer

    Correct answerB. Tape Gateway with virtual tape archiving

    AWhy not this: S3 File Gateway exposes NFS or SMB file shares, not an iSCSI virtual tape library.

    BWhy this is right: Tape Gateway preserves the virtual tape interface and supports archiving completed virtual tapes.

    CWhy not this: DataSync transfers files and objects; it does not present a virtual tape library to backup software.

    DWhy not this: Volume Gateway presents iSCSI disk volumes, which do not satisfy the virtual tape library requirement.

    Tape Gateway presents an iSCSI virtual tape library to compatible backup software and supports archiving ejected virtual tapes in S3 Glacier storage classes. Volume Gateway also uses iSCSI, but presents disk volumes rather than tape drives and a media changer.

    Open this question
  8. Question 8

    Design High-Performing Architectures

    A company's backup application writes to an on-premises library of physical cartridges that staff rotate offsite. The company wants to retire the library and keep its backups in AWS without changing the backup application's workflow. Which service meets these requirements?

    Show the answer

    Correct answerC. Tape Gateway

    AWhy not this: S3 File Gateway presents file shares, so tape-based backup jobs would have to be reconfigured.

    BWhy not this: DataSync copies files between storage systems; it does not appear to backup software as a tape library.

    CWhy this is right: Tape Gateway presents a virtual tape library over iSCSI and stores the tapes in Amazon S3.

    DWhy not this: Volume Gateway presents block volumes, not the tape devices the backup application writes to.

    Tape Gateway, a type of AWS Storage Gateway, presents an iSCSI virtual tape library to the existing backup application and stores the virtual tapes in Amazon S3, with archived tapes in S3 Glacier storage classes. S3 File Gateway presents NFS or SMB file shares, which would require the backup jobs to be changed from tape targets to file targets.

    Open this question
  9. Question 9

    Design High-Performing Architectures

    An ingestion application on Amazon EC2 must write only to the incoming/ prefix of an S3 bucket without storing long-term credentials. Which approach BEST meets these requirements?

    Show the answer

    Correct answerA. Attach an EC2 IAM role allowing s3:PutObject only on the incoming/ object ARN.

    AWhy this is right: An EC2 role provides temporary credentials, while the object ARN restricts writes to the required prefix.

    BWhy not this: Public write permission allows unauthenticated uploads and does not securely identify the ingestion application.

    CWhy not this: IAM user access keys are long-term credentials, even when their permissions are narrowly scoped.

    DWhy not this: The role avoids long-term credentials but permits writes outside the required prefix.

    An EC2 IAM role supplies temporary credentials, and an object-prefix-scoped permission limits writes to incoming/. A bucket-wide role avoids long-term credentials but grants more access than required.

    Open this question
  10. Question 10

    Design High-Performing Architectures

    A company receives large CSV datasets in Amazon S3 and must join them with reference data, remove duplicates, and write partitioned Parquet files. Which solution meets these requirements with the LEAST infrastructure management?

    Show the answer

    Correct answerC. An AWS Glue Spark ETL job

    AWhy not this: A crawler discovers schemas and catalog metadata; it does not join, deduplicate, or rewrite records.

    BWhy not this: EMR can perform these transformations, but an EC2-based cluster requires more infrastructure management.

    CWhy this is right: Glue Spark ETL provides serverless distributed processing for joins, deduplication, and Parquet output.

    DWhy not this: DataSync copies data between storage locations without performing record-level transformations.

    An AWS Glue Spark ETL job provides serverless distributed transformations, including joins, deduplication, and partitioned Parquet output. A Glue crawler discovers schemas and updates catalog metadata; it does not transform the underlying records.

    Open this question
  11. Question 11

    Design High-Performing Architectures

    A company runs existing Apache Spark batch applications against Amazon S3 for two hours each night, with resource needs varying between runs. Which compute option runs these applications with the LEAST infrastructure management?

    Show the answer

    Correct answerB. Amazon EMR Serverless with a Spark application

    AWhy not this: Lambda is not a managed Spark runtime, and an individual invocation cannot run for two hours.

    BWhy this is right: EMR Serverless provides a managed Spark runtime that automatically provisions and scales resources for each workload.

    CWhy not this: EC2 requires the company to install, configure, and manage the Spark environment.

    DWhy not this: A persistent EMR cluster supports Spark but requires cluster capacity management between nightly runs.

    Amazon EMR Serverless runs Spark applications and automatically provisions and scales their compute resources without cluster management. A persistent EMR cluster supports Spark but requires more infrastructure management and retains capacity between runs.

    Open this question
  12. Question 12

    Design High-Performing Architectures

    Which AWS service lets business analysts create interactive sales dashboards from Amazon Redshift data without managing visualization servers?

    Show the answer

    Correct answerC. AWS Quick Sight (formerly Amazon QuickSight)

    AWhy not this: Athena provides serverless SQL queries, not interactive business dashboard authoring.

    BWhy not this: Data Firehose delivers streaming data to destinations rather than visualizing it.

    CWhy this is right: Quick Sight provides managed interactive dashboards and supports Redshift as a data source.

    DWhy not this: Glue prepares and catalogs data rather than creating business dashboards.

    AWS Quick Sight provides managed business intelligence dashboards and connects to Amazon Redshift. Athena queries data with SQL but is not a business dashboard authoring service.

    Open this question
  13. Question 13

    Design High-Performing Architectures

    Thousands of users view a Quick Sight dashboard backed by Amazon Redshift, causing repeated queries to slow warehouse workloads. Data can be one hour old, and the dataset fits in available SPICE capacity; which configuration BEST reduces warehouse load while keeping dashboards responsive?

    Show the answer

    Correct answerB. Import into SPICE and schedule hourly dataset refreshes.

    AWhy not this: Longer timeouts do not reduce query volume or isolate Redshift from dashboard traffic.

    BWhy this is right: SPICE handles dashboard queries independently, while hourly refreshes meet the allowed data age.

    CWhy not this: Refreshing before every view creates unnecessary source activity and undermines the benefit of scheduled imports.

    DWhy not this: Direct query still sends users' dashboard queries to Redshift rather than isolating the warehouse from read concurrency.

    SPICE serves dashboard queries from its in-memory engine, reducing repeated Redshift queries; hourly refreshes satisfy the freshness requirement. Direct query continues to send dashboard queries to Redshift, even if visual refreshes are less frequent.

    Open this question
  14. Question 14

    Design High-Performing Architectures

    A company must copy changed files nightly from an on-premises NFS server to Amazon S3 over its existing network connection and verify transferred data. Which solution requires the LEAST operational effort?

    Show the answer

    Correct answerA. Schedule AWS DataSync tasks with data verification.

    AWhy this is right: DataSync provides scheduled incremental NFS-to-S3 transfers with built-in data verification.

    BWhy not this: Glue is a data integration service, not a managed NFS file-transfer solution with built-in transfer verification.

    CWhy not this: Transfer Family provides managed transfer endpoints but does not schedule copies from an existing NFS server.

    DWhy not this: File Gateway exposes a new S3-backed file share rather than copying files automatically from an existing NFS server.

    AWS DataSync supports scheduled, incremental transfers from NFS storage to S3 and verifies transferred data. S3 File Gateway provides file access backed by S3; it does not automatically copy an existing NFS server's files.

    Open this question
  15. Question 15

    Design High-Performing Architectures

    An S3 ingestion bucket must reject uploads sent without HTTPS. Which bucket policy condition should an explicit Deny statement use?

    Show the answer

    Correct answerB. aws:SecureTransport equals false

    AWhy not this: This condition identifies a VPC endpoint, not whether the request uses HTTPS.

    BWhy this is right: This condition identifies requests that do not use secure transport so the policy can deny them.

    CWhy not this: This condition identifies a source IP range, not whether the connection uses HTTPS.

    DWhy not this: This condition identifies the principal's organization, not the transport security.

    Denying requests when aws:SecureTransport is false enforces HTTPS for uploads. Restricting a source VPC endpoint controls the network origin, not whether a request uses HTTPS.

    Open this question
  16. Question 16

    Design High-Performing Architectures

    A company needs to ingest clickstream events, deliver buffered records to Amazon S3, and calculate continuously updated event-time windows. Which service-to-task mappings are appropriate? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Amazon Managed Service for Apache Flink for event-time window calculationsB. Amazon Kinesis Data Streams for ingesting clickstream eventsD. Amazon Data Firehose for buffered delivery to Amazon S3

    AWhy this is right: Managed Service for Apache Flink supports stateful stream processing with event-time windows.

    BWhy this is right: Kinesis Data Streams accepts streaming records for downstream processing.

    CWhy not this: Athena runs queries against stored data rather than continuously processing an incoming event stream.

    DWhy this is right: Data Firehose manages buffering and delivery of streaming records to destinations such as S3.

    EWhy not this: DataSync transfers files and objects; it does not calculate streaming event-time windows.

    Kinesis Data Streams ingests events, Data Firehose buffers and delivers records, and Managed Service for Apache Flink performs stateful event-time processing. Athena queries stored data rather than running continuous stream processing.

    Open this question
  17. Question 17

    Design High-Performing Architectures

    A company must transfer 10 TB to Amazon S3 within eight hours over an AWS Direct Connect hosted connection; measured payload throughput is 80% of connection bandwidth. Using decimal units and assuming no other bottlenecks, which connection capacity is the smallest that meets the deadline?

    Show the answer

    Correct answerA. 5 Gbps

    AWhy this is right: This provides 4 Gbps of payload throughput, exceeding the required 2.78 Gbps.

    BWhy not this: At 80% efficiency, this connection transfers only 5.76 TB in eight hours.

    CWhy not this: At 80% efficiency, this connection transfers only 2.88 TB in eight hours.

    DWhy not this: This meets the deadline but is larger than the smallest sufficient capacity listed.

    Transferring 10 TB in eight hours requires about 2.78 Gbps of payload throughput, or 3.47 Gbps of connection bandwidth at 80% efficiency. A 5 Gbps connection suffices; 2 Gbps cannot meet the deadline.

    Open this question
  18. Question 18

    Design High-Performing Architectures

    Five consumer applications read the same provisioned Kinesis data stream, and their read latency rises each time another consumer is added because they share each shard's read throughput. The company wants each consumer to get its own read throughput without changing the shard count. Which change meets these requirements?

    Show the answer

    Correct answerD. Register each consumer for enhanced fan-out and read with SubscribeToShard.

    AWhy not this: Longer retention keeps records available longer but adds no read throughput.

    BWhy not this: More frequent polling uses up the shared read limit faster and can cause throttling.

    CWhy not this: Firehose delivers records to storage and analytics destinations, not to custom consumer applications.

    DWhy this is right: Enhanced fan-out gives each consumer dedicated read throughput per shard with push delivery.

    Enhanced fan-out gives each registered consumer its own 2 MB per second of read throughput per shard and pushes records over HTTP/2, so consumers no longer compete. Shared-throughput consumers split one 2 MB per second read limit per shard, and polling more often only uses that shared limit faster.

    Open this question
  19. Question 19

    Design High-Performing Architectures

    An Amazon Data Firehose stream delivers logs to Amazon S3 using a 60-second buffering interval, producing many small objects at a steady low ingestion rate. Analysts accept several minutes of delivery delay; which configuration change BEST reduces object counts?

    Show the answer

    Correct answerC. Increase the buffering interval to 300 seconds.

    AWhy not this: Transfer Acceleration does not change Firehose's record accumulation or delivery batching.

    BWhy not this: More destination partitions can spread records into smaller batches rather than consolidate them.

    CWhy this is right: A longer interval allows more records to accumulate before the time-based delivery trigger.

    DWhy not this: A smaller size hint can cause earlier deliveries and create more small objects.

    A longer buffering interval lets Firehose accumulate more records before delivery, reducing small objects at low ingestion rates. Reducing the size hint can trigger earlier deliveries and increase object counts.

    Open this question
  20. Question 20

    Design High-Performing Architectures

    A provisioned Amazon Kinesis Data Streams stream uses tenant IDs as partition keys, and one large tenant causes write throttling despite unused capacity on other shards. Each tenant has thousands of devices, each device produces well below one shard's limits, and only per-device ordering is required; which change BEST addresses the bottleneck?

    Show the answer

    Correct answerA. Use the tenant ID and device ID as the partition key.

    AWhy this is right: Device-level keys distribute tenant traffic while keeping each device's records assigned to the same shard.

    BWhy not this: Enhanced fan-out provides dedicated consumer read throughput; it does not resolve a hot write partition.

    CWhy not this: Unique event keys distribute writes but can send one device's records to different shards, losing its required ordering.

    DWhy not this: Retention changes how long records remain available, not how incoming writes are distributed.

    A tenant-and-device partition key spreads the large tenant's traffic across shards while keeping each device's records together. Unique event IDs distribute writes but do not preserve shard-level ordering for each device.

    Open this question
  21. Question 21

    Design High-Performing Architectures

    Which characteristics of Apache Parquet make it suitable for analytical data stored in Amazon S3? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Built-in schema informationC. Column-oriented storageE. Efficient column compression

    AWhy this is right: Parquet metadata describes the schema, including column types.

    BWhy not this: Access permissions are controlled by services such as IAM and Lake Formation, not assigned by Parquet.

    CWhy this is right: Column-oriented storage lets analytical readers access needed columns without reading every column.

    DWhy not this: Parquet files do not directly support updating individual records in place.

    EWhy this is right: Grouping similar column values supports effective encoding and compression.

    Parquet stores data by column, includes schema information, and supports efficient compression of similar values. It does not provide in-place record updates; updates generally require rewriting affected data files or using an additional table layer.

    Open this question
  22. Question 22

    Design High-Performing Architectures

    An Amazon Data Firehose stream receives JSON records with a stable schema and must deliver Parquet files to Amazon S3 without custom transformation code. Which configuration meets these requirements with the LEAST operational effort?

    Show the answer

    Correct answerB. Enable record format conversion using a Glue Data Catalog schema.

    AWhy not this: Compression and filename changes do not convert JSON into the Parquet file format.

    BWhy this is right: Native record format conversion uses a catalog schema to produce Parquet from incoming JSON.

    CWhy not this: A crawler discovers file structure and records metadata; it does not transform the underlying files.

    DWhy not this: Dynamic partitioning controls destination prefixes, not the output file format.

    Firehose record format conversion uses an AWS Glue Data Catalog schema to convert incoming JSON to Parquet without custom code. A crawler discovers metadata; it does not rewrite JSON objects into another file format.

    Open this question