Curated

Data Operations and Support (3.1–3.4)

0 votes

Questions66

  1. Question 1

    Data Operations and Support

    In Amazon MWAA, tasks assigned to one Airflow pool remain queued while other pools' tasks run and workers have spare capacity. The affected pool has no open slots, and its downstream system can safely accept more concurrent requests. What should the engineer change?

    Show the answer

    Correct answerC. Increase the affected pool's slot count

    AWhy not this: Execution timeouts limit running tasks; increasing them does not make pool slots available to queued tasks.

    BWhy not this: The tasks are already queued, so DAG parsing frequency is not the constraint preventing execution.

    CWhy this is right: More pool slots allow additional queued tasks to run, and the downstream system can support the added concurrency.

    DWhy not this: Additional workers do not release tasks blocked by a pool's slot limit, and worker capacity is already available.

    An Airflow pool limits concurrent task execution through available slots. Increasing its slot count allows more tasks to run when downstream capacity permits; adding workers does not remove a pool's concurrency limit.

    Open this question
  2. Question 2

    Data Operations and Support

    A Python application uses Boto3 ListObjectsV2 to enumerate an S3 prefix containing 8,000 objects, but processes only the first 1,000. What should the developer do to retrieve all matching objects?

    Show the answer

    Correct answerD. Use the SDK's ListObjectsV2 paginator

    AWhy not this: A longer read timeout does not retrieve pages omitted from a successful response.

    BWhy not this: ListObjectsV2 returns at most 1,000 objects per response; raising MaxKeys cannot retrieve all 8,000 in one response.

    CWhy not this: Retries address failed requests, not additional pages of a successful listing.

    DWhy this is right: The paginator follows continuation tokens to retrieve all pages of matching objects.

    ListObjectsV2 returns at most 1,000 objects per response. A Boto3 paginator retrieves successive pages using continuation tokens; setting MaxKeys above 1,000 does not bypass the service's per-response limit.

    Open this question
  3. Question 3

    Data Operations and Support

    Which AWS service provides managed Apache Airflow environments for scheduling and orchestrating data pipelines?

    Show the answer

    Correct answerC. Amazon MWAA

    AWhy not this: Amazon EventBridge routes events and schedules targets; it does not provide managed Apache Airflow environments.

    BWhy not this: AWS Glue provides data integration capabilities and workflow orchestration, but does not host Apache Airflow.

    CWhy this is right: Amazon MWAA manages Apache Airflow environments for scheduling and orchestrating workflows.

    DWhy not this: AWS Step Functions orchestrates workflows with state machines, not Apache Airflow.

    Amazon MWAA provides managed Apache Airflow environments for orchestrating workflows. AWS Step Functions also orchestrates workflows, but uses state machines rather than Airflow.

    Open this question
  4. Question 4

    Data Operations and Support

    A dataset has a non-null numeric delivery_days column. The quality policy permits at most 2% of records to exceed 7 days; which AWS Glue Data Quality rule should the engineer define?

    Show the answer

    Correct answerD. Require at least 98% of all values to be at most 7.

    AWhy not this: An acceptable average can conceal a larger-than-permitted proportion of late deliveries.

    BWhy not this: A sample can estimate the failure rate but does not enforce the required proportion across all records.

    CWhy not this: A maximum of 7 permits no late deliveries, making the rule stricter than the stated policy.

    DWhy this is right: At least 98% passing is equivalent to allowing at most 2% of records to exceed 7 days.

    A ColumnValues rule with a passing threshold of at least 98% enforces the permitted failure rate across the dataset. An average can remain below 7 even when more than 2% of records exceed the limit.

    Open this question
  5. Question 5

    Data Operations and Support

    An AWS Glue ETL job must prevent records with null customer IDs from reaching a curated table while retaining them for investigation. What should the engineer do?

    Show the answer

    Correct answerC. Evaluate completeness per row and route failed records separately.

    AWhy not this: Sampling after the write can miss invalid records and does not prevent them from reaching the curated table.

    BWhy not this: Publishing a dataset-level metric does not identify and separate the individual failed records.

    CWhy this is right: Row-level evaluation identifies null IDs, allowing failed records to be retained separately from valid output.

    DWhy not this: Repartitioning changes record distribution, not whether customer IDs contain null values.

    Row-level completeness checks identify records with null customer IDs so the job can separate them before writing curated data. A dataset-level completeness metric measures quality but does not itself isolate failed records.

    Open this question
  6. Question 6

    Data Operations and Support

    An order-line dataset allows repeated order IDs and repeated line numbers, but each order ID–line number pair must identify exactly one record, with neither value null. Which AWS Glue Data Quality rule definition meets these requirements?

    Show the answer

    Correct answerA. Require each pair to be unique and both values non-null.

    AWhy this is right: Composite primary-key validation enforces unique pairs and non-null values without requiring either column to be individually unique.

    BWhy not this: Independent uniqueness would reject valid records that reuse an order ID or a line number in different pairs.

    CWhy not this: Pair uniqueness alone does not satisfy the explicit requirement that neither component may be null.

    DWhy not this: Non-null checks do not prevent duplicate order ID–line number pairs.

    A composite primary key requires uniqueness of the column combination and non-null values in its components. Independent uniqueness is too restrictive because each column is allowed to repeat.

    Open this question
  7. Question 7

    Data Operations and Support

    Which AWS Glue DataBrew capability reports missing values, duplicate rows, and column statistics to help assess dataset quality?

    Show the answer

    Correct answerD. A profile job

    AWhy not this: A project session provides an interactive workspace, not the dataset profiling job.

    BWhy not this: A dataset definition identifies the data source and its settings; it does not compute quality statistics.

    CWhy not this: A recipe job executes transformation steps to clean or prepare data.

    DWhy this is right: A profile job produces statistics that help identify missing values, duplicates, and other quality issues.

    A profile job examines a dataset and produces data quality statistics. A recipe job applies transformation steps rather than primarily generating a quality assessment.

    Open this question
  8. Question 8

    Data Operations and Support

    Analysts repeatedly use the same joins and column expressions in Athena. They need a reusable SQL interface that reflects the underlying tables at query time without storing another result dataset. What should they create?

    Show the answer

    Correct answerA. An Athena view using CREATE VIEW

    AWhy this is right: An Athena view reuses joins and expressions without storing a separate result dataset.

    BWhy not this: CREATE TABLE AS SELECT writes query results to storage rather than retaining only a reusable query definition.

    CWhy not this: An exported result is a stored snapshot rather than a query-time interface to the underlying tables.

    DWhy not this: A materialized view stores query results and requires refreshes to incorporate source changes.

    An Athena view stores a SQL query definition and evaluates it against underlying data when queried. CREATE TABLE AS SELECT writes a separate dataset that does not automatically track source changes.

    Open this question
  9. Question 9

    Data Operations and Support

    An AWS Quick Sight (formerly Amazon QuickSight) dashboard shows sales by country. Users need to navigate from a selected country to its states and then cities within the same visual. What should the author configure?

    Show the answer

    Correct answerB. A geographic drill-down hierarchy in the visual

    AWhy not this: Cascading filters constrain available selections rather than change the visual's level of geographic detail.

    BWhy this is right: A country-state-city hierarchy supports navigation between geographic levels within the visual.

    CWhy not this: Separate sheets split the levels across views instead of providing navigation within the same visual.

    DWhy not this: Concatenating geographic names creates a combined label, not navigable levels of detail.

    A drill-down hierarchy lets users navigate geographic levels within one visual. Cascading filters narrow available selections but do not establish navigation between aggregation levels. AWS Quick Sight is the service's current name; exam materials may still use its earlier name.

    Open this question
  10. Question 10

    Data Operations and Support

    An Athena staging table contains multiple versions of each customer record. Cleaning must retain one complete row per customer: the latest update timestamp, with ties resolved by the highest unique ingestion sequence. Which approach meets these requirements?

    Show the answer

    Correct answerB. Number each customer's rows by descending timestamp and sequence using ROW_NUMBER, then retain row 1.

    AWhy not this: RANK based only on timestamp can assign rank 1 to multiple records and ignores the required tie-breaker.

    BWhy this is right: Partitioning by customer and ordering by both fields selects one complete row using the required tie-breaker.

    CWhy not this: DISTINCT removes identical rows but leaves different versions of the same customer.

    DWhy not this: Independent maxima can combine values from different records into a row that never existed.

    ROW_NUMBER partitioned by customer and ordered by descending timestamp and ingestion sequence selects exactly one complete, deterministic record. RANK ordered only by timestamp can retain multiple tied records.

    Open this question
  11. Question 11

    Data Operations and Support

    A data engineer must email operators whenever an AWS Glue job enters the FAILED state, without polling job status. Which configuration should the engineer use?

    Show the answer

    Correct answerB. An EventBridge rule matching Glue job failures, targeting an SNS topic

    AWhy not this: Exporting logs creates an archive but does not provide event-driven failure notifications.

    BWhy this is right: EventBridge matches Glue failure events and invokes SNS, whose confirmed email subscriptions receive notifications.

    CWhy not this: SNS is not a supported Glue job log destination; a topic alone does not detect job failures.

    DWhy not this: Recording API calls in S3 does not send email when a job execution fails.

    EventBridge can match Glue Job State Change events with state FAILED and route them to SNS for email delivery. CloudTrail records API activity, which is not the same as detecting a job's failed execution state.

    Open this question
  12. Question 12

    Data Operations and Support

    An auditor needs last month's application logs from a CloudWatch Logs log group delivered to Amazon S3. What should a data engineer do to create this one-time audit copy?

    Show the answer

    Correct answerD. Create a CloudWatch Logs export task for the required time range.

    AWhy not this: A metric filter produces metric data from matching events, not an audit copy of the original logs.

    BWhy not this: CloudTrail records AWS API activity; it does not copy existing application logs from a CloudWatch Logs log group.

    CWhy not this: A subscription filter forwards incoming events and does not backfill last month's logs.

    DWhy this is right: An export task delivers existing log events for a specified time range to an S3 bucket.

    A CloudWatch Logs export task copies existing log events from a specified time range to S3. A subscription filter streams incoming events rather than exporting historical logs.

    Open this question
  13. Question 13

    Data Operations and Support

    A pipeline has separate CloudWatch alarms for high backlog and high processing latency. Operators want an SNS notification only when both alarms are in ALARM, with no notifications from either alarm alone. Which configuration meets this requirement?

    Show the answer

    Correct answerD. Create a composite alarm using AND and attach the SNS topic.

    AWhy not this: An OR rule can enter ALARM when only one underlying alarm is in ALARM.

    BWhy not this: A dashboard displays alarm states but does not implement a combined alarm notification action.

    CWhy not this: Actions on individual alarms notify independently, so a single breached condition would produce a notification.

    DWhy this is right: An AND composite alarm combines both states; configure SNS only on the composite alarm.

    A composite alarm using AND enters ALARM when both underlying alarms are in ALARM; its action can publish to SNS. Attaching SNS to each underlying alarm would notify when either condition occurs independently.

    Open this question
  14. Question 14

    Data Operations and Support

    An Amazon EMR Spark aggregation has one task running far longer than the others and spilling heavily to disk. Most records share one grouping key. Which change best addresses the underlying bottleneck?

    Show the answer

    Correct answerB. Distribute the hot key using salting and combine partial aggregates.

    AWhy not this: Longer log retention improves historical visibility but does not change the workload distribution.

    BWhy this is right: Salting spreads a hot key across tasks; combining partial aggregates restores the intended grouping.

    CWhy not this: Fewer partitions reduce parallelism and can increase the amount of data processed by each task.

    DWhy not this: Additional workers do not redistribute a hot key that remains assigned to a single aggregation partition.

    The hot grouping key causes data skew, concentrating work in one task. Salting distributes that work before combining partial aggregates; adding workers alone does not split a single hot-key partition.

    Open this question
  15. Question 15

    Data Operations and Support

    Which logging practice best links application events from different stages of the same pipeline run?

    Show the answer

    Correct answerB. Include a shared run identifier in each event.

    AWhy not this: CPU utilization helps monitor resource usage but does not link application events to a particular execution.

    BWhy this is right: A shared run identifier connects events from different stages to the same pipeline execution.

    CWhy not this: Retention settings govern log availability, not correlation between pipeline stages.

    DWhy not this: A deployment version distinguishes releases but does not distinguish runs using the same release.

    A shared run identifier lets operators correlate events across stages for a specific execution. A deployment version identifies the software release but can be shared by many separate runs.

    Open this question
  16. Question 16

    Data Operations and Support

    An AWS Glue Spark job reads newly added Amazon S3 objects each night, but currently reprocesses all previous objects. Which change lets the job track previously processed input across successful runs?

    Show the answer

    Correct answerB. Enable job bookmarks

    AWhy not this: A scheduled trigger controls when a job runs, not which input objects it processes.

    BWhy this is right: Job bookmarks track processed input and allow subsequent runs to process newly added S3 objects.

    CWhy not this: Job metrics provide operational measurements, not persistent input-processing state.

    DWhy not this: A crawler discovers metadata; it does not maintain the job's processed-object state.

    Job bookmarks persist processing state so supported sources can be processed incrementally across successful runs. A Data Catalog crawler discovers schemas and partitions; it does not track which objects an ETL job has processed.

    Open this question
  17. Question 17

    Data Operations and Support

    A long-running Amazon EMR on EC2 cluster needs extra capacity for a 2-hour nightly Spark job. The team wants to lower the cost of that capacity and accepts slower runs if instances are reclaimed, but must not lose HDFS data or the cluster. Which approach meets these requirements?

    Show the answer

    Correct answerA. Add Spot Instances as task nodes for the nightly run.

    AWhy this is right: Task nodes store no HDFS data, so Spot interruptions only slow the job while Spot pricing lowers the cost.

    BWhy not this: Core nodes store HDFS data, so Spot interruptions on them can lose data.

    CWhy not this: Losing the primary node to a Spot interruption terminates the whole cluster.

    DWhy not this: Reserved Instances are billed for every hour of the term, which costs more than capacity used 2 hours a night.

    Task nodes run tasks but store no HDFS data, so reclaimed Spot task nodes only slow the job. Core nodes hold HDFS, so losing them can lose data, and losing the primary node terminates the cluster. Reserved Instances bill around the clock, which costs more for 2 hours of nightly use.

    Open this question
  18. Question 18

    Data Operations and Support

    A pipeline submits records to an API that supports idempotency keys; requests can time out after acceptance, return HTTP 429 with Retry-After, or return HTTP 400 for invalid fields. Which client behaviors prevent duplicate submissions and handle these responses appropriately? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Wait for the Retry-After interval before retrying a throttled request.B. Reuse the original idempotency key when retrying a timed-out submission.E. Flag validation failures for correction instead of retrying unchanged requests.

    AWhy this is right: Retry-After tells the client how long to wait before retrying a throttled request.

    BWhy this is right: The original key lets the API recognize a retry even if the initial request was already accepted.

    CWhy not this: Unchanged invalid records will continue to fail validation rather than becoming valid through retries.

    DWhy not this: Immediate concurrent retries can worsen throttling and disregard the server's retry guidance.

    EWhy this is right: Invalid fields require correction; repeating an unchanged request will not fix the validation error.

    FWhy not this: A new key can cause the API to treat the retry as a separate submission and create a duplicate.

    Reusing an idempotency key prevents a timed-out retry from creating a duplicate. Retry-After governs throttling retries, while invalid fields require correction; generating a new key can make a retry appear to be a new submission.

    Open this question
  19. Question 19

    Data Operations and Support

    Before defining cleansing transformations, an engineer needs column-level missing-value counts and value distributions for an Amazon S3 dataset. Which approach provides these statistics without writing code?

    Show the answer

    Correct answerB. Run a DataBrew profile job

    AWhy not this: A crawler discovers schemas and partitions, not the requested column-level quality statistics.

    BWhy this is right: A profile job generates column statistics, including missing-value counts and value distributions.

    CWhy not this: A recipe defines data transformation steps rather than computing a statistical data profile.

    DWhy not this: EXPLAIN describes a query execution plan, not missing values or data distributions.

    A DataBrew profile job computes dataset and column statistics that help identify data quality issues before cleansing. A recipe defines transformation steps rather than generating a statistical profile.

    Open this question
  20. Question 20

    Data Operations and Support

    An AWS Glue Spark job joins a large transaction table to a customer lookup table that fits comfortably in each executor's memory. One customer accounts for most transactions, causing a shuffle-join straggler; which change is BEST?

    Show the answer

    Correct answerA. Broadcast the customer lookup table to the executors.

    AWhy this is right: A broadcast join distributes the small lookup and avoids the skewed shuffle of the transaction table.

    BWhy not this: Partitioning by the same skewed key still concentrates the dominant customer's transactions.

    CWhy not this: More executors cannot divide a single hot-key shuffle partition among concurrent join tasks.

    DWhy not this: More hash partitions still send the dominant customer key to one partition.

    Broadcasting the small lookup table avoids shuffling the large transaction table by its skewed customer key. Increasing shuffle partitions does not split records sharing the same key across join partitions.

    Open this question
  21. Question 21

    Data Operations and Support

    An engineer must estimate the overall invalid-record rate while examining enough records from each region, including regions containing only 0.1% of rows. Which sampling approach meets both requirements?

    Show the answer

    Correct answerB. Sample within each region; weight regional rates by their population shares.

    AWhy not this: An unweighted estimate gives small regions disproportionate influence when equal counts are sampled.

    BWhy this is right: Regional strata ensure coverage, and population-share weighting accounts for unequal sampling fractions.

    CWhy not this: A uniform sample does not ensure enough observations from regions that contain very few rows.

    DWhy not this: Sampling whole regions can omit rare regions entirely.

    Stratified sampling can allocate enough records to rare regions, while population-share weighting produces an appropriate overall estimate. Equal regional sample sizes with an unweighted calculation overrepresent small regions.

    Open this question
  22. Question 22

    Data Operations and Support

    Which AWS Glue DataBrew profile result best helps identify inconsistent spellings of country names?

    Show the answer

    Correct answerC. The frequency distribution of country values

    AWhy not this: Missing-value percentages identify absent entries, not spelling differences among populated entries.

    BWhy not this: The row count measures dataset size without revealing how country names are represented.

    CWhy this is right: Distinct values and their frequencies expose spelling variants that may represent the same country.

    DWhy not this: Spelling variants can all have the same string data type.

    A frequency distribution exposes distinct spellings and their counts, helping identify inconsistent representations of the same country. Missing-value statistics reveal absent values, not inconsistent spellings.

    Open this question
  23. Question 23

    Data Operations and Support

    An AWS Glue Spark aggregation must calculate exact average amounts per merchant without dropping records; one merchant owns 70% of the rows. Which changes work together to distribute that merchant's processing and preserve correctness? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Calculate partial sums and counts, then combine them per merchant.E. Assign each row a salt bucket and group by merchant and bucket.

    AWhy this is right: Summing partial sums and counts, then dividing, preserves the exact average across unequal bucket sizes.

    BWhy not this: Hash partitioning only by merchant still places all rows for the dominant merchant in one group.

    CWhy not this: An unweighted average of bucket averages is not generally correct when bucket counts differ.

    DWhy not this: Sampling discards records and produces an estimate rather than the required exact result.

    EWhy this is right: Adding a varying salt spreads the dominant merchant's rows across multiple aggregation groups.

    FWhy not this: Repeated merchant IDs represent legitimate transactions; removing them changes the required result.

    Salting spreads a hot merchant across partial aggregation groups. Combining partial sums and counts yields the exact average; averaging bucket averages can be wrong because bucket sizes can differ.

    Open this question
  24. Question 24

    Data Operations and Support

    An S3-to-S3 AWS Glue job uses bookmarks and appends output; its transformation logic was faulty after a known successful run. Which actions support reprocessing subsequent inputs without retaining faulty output or disrupting bookmark tracking? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Reset the job bookmark to the last known good run.D. Remove the affected output before running the corrected job.F. Preserve the existing source transformation_ctx value.

    AWhy this is right: Resetting to a successful run rewinds source-processing state so subsequent inputs can be processed again.

    BWhy not this: Changing transformation_ctx breaks the association with the source's existing bookmark state.

    CWhy not this: Resetting a bookmark does not delete any previously written target objects.

    DWhy this is right: Glue bookmarks do not clean target data, so affected appended output must be removed or otherwise reconciled.

    EWhy not this: More concurrent runs do not rewind bookmarks or remove faulty output and can complicate recovery.

    FWhy this is right: Glue uses transformation_ctx to associate an operation with its saved bookmark state.

    Resetting to the good run replays subsequent inputs, removing affected output prevents duplicates, and a stable transformation_ctx preserves bookmark associations. Bookmark resets track source processing; they do not delete target data.

    Open this question
  25. Question 25

    Data Operations and Support

    Which AWS CloudTrail event field identifies the principal that called the AWS Glue DeleteJob API?

    Show the answer

    Correct answerD. userIdentity

    AWhy not this: eventSource identifies the AWS service that received the request.

    BWhy not this: requestParameters contains parameters supplied to the API operation, such as the job name.

    CWhy not this: sourceIPAddress identifies the network origin, which does not uniquely identify the calling principal.

    DWhy this is right: userIdentity contains information about the principal that made the request.

    The userIdentity field describes the IAM identity responsible for the API request. sourceIPAddress identifies the request's network origin, not the principal.

    Open this question
  26. Question 26

    Data Operations and Support

    An AWS Glue Spark job fails with driver out-of-memory errors when collect() retrieves a large DataFrame for writing to S3. Which change best addresses the cause?

    Show the answer

    Correct answerC. Write the DataFrame directly with Spark.

    AWhy not this: collect() still brings all records to the driver, regardless of the number of source partitions.

    BWhy not this: Retries repeat the same memory-intensive operation without changing its memory requirements.

    CWhy this is right: A distributed write lets executors write the data without gathering the entire DataFrame on the driver.

    DWhy not this: Log retention affects how long diagnostic records remain available, not driver memory consumption.

    A distributed Spark write avoids collecting the entire dataset into driver memory. Repartitioning to one partition does not make collect() safe because it still returns all records to the driver.

    Open this question
  27. Question 27

    Data Operations and Support

    Auto Scaling EC2 workers in private subnets without internet access launch from an AMI that already includes the CloudWatch agent. They write pipeline logs to local files, and every replacement must ship them automatically with 30-day retention. Which configuration meets these requirements without stored credentials?

    Show the answer

    Correct answerC. Configure the agent at launch, use an instance role and a Logs interface endpoint, and define log retention in infrastructure as code.

    AWhy not this: An S3 gateway endpoint does not provide connectivity to the CloudWatch Logs API.

    BWhy not this: Embedded access keys violate the requirement to avoid stored credentials.

    CWhy this is right: Launch-time agent configuration, role-based credentials, private Logs connectivity, and managed log-group retention meet all requirements.

    DWhy not this: An S3 lifecycle rule does not control retention of events stored in a CloudWatch Logs log group.

    Because the AMI already includes the agent, nothing has to be downloaded; launch automation configures it on each replacement worker, an instance role supplies temporary credentials, and a CloudWatch Logs interface endpoint provides private connectivity. An S3 gateway endpoint cannot carry CloudWatch Logs API traffic; retention must be set on the log group.

    Open this question
  28. Question 28

    Data Operations and Support

    A Spark step on an Amazon EMR on EC2 cluster failed overnight, and the cluster then terminated. An engineer needs to review the failed stage's tasks and executor metrics the next morning. What should the engineer use?

    Show the answer

    Correct answerA. Open the persistent Spark History Server for the cluster from the Amazon EMR console.

    AWhy this is right: The persistent Spark History Server is hosted off-cluster and keeps application history for 30 days after the application ends.

    BWhy not this: EMR on EC2 does not send Spark application logs to a CloudWatch Logs log group by default, so there is nothing to query.

    CWhy not this: The primary node no longer exists after the cluster terminates, so its local event logs cannot be read.

    DWhy not this: CloudTrail records AWS API activity such as step submission, not Spark stage and task execution details.

    Amazon EMR's persistent application UIs host the Spark History Server off-cluster, so stage, task and executor details stay available for 30 days after the application ends, even after the cluster terminates. A terminated cluster's nodes are gone, and EMR on EC2 does not send Spark logs to CloudWatch Logs by default.

    Open this question
  29. Question 29

    Data Operations and Support

    Analysts have an Athena SQL workgroup but need notebook-based PySpark exploration of S3 data without managing a cluster. They must reuse transformed data after the notebook's Spark session ends; which actions meet these requirements? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersB. Create a Spark-enabled Athena workgroup for the notebooks.C. Write transformed DataFrames to S3 and reload them in later sessions.

    AWhy not this: An Athena SQL workgroup cannot run Spark notebooks; they require a Spark-enabled workgroup.

    BWhy this is right: A Spark-enabled workgroup provides the managed Spark environment required for Athena Spark notebooks.

    CWhy this is right: S3 provides durable storage from which a later Spark session can reload the transformed data.

    DWhy not this: Session caching accelerates reuse within a session but does not persist DataFrames after the session ends.

    Athena Spark notebooks require a Spark-enabled workgroup, and writing results to S3 makes them reusable across sessions. Cached DataFrames belong to the current Spark session and do not survive its termination.

    Open this question
  30. Question 30

    Data Operations and Support

    Which compute billing characteristic generally favors serverless analytics for infrequent workloads with long idle periods?

    Show the answer

    Correct answerA. Compute charges follow usage rather than continuously running capacity.

    AWhy this is right: Usage-based compute billing can reduce charges when an analytics workload spends long periods idle.

    BWhy not this: An annual commitment is not a general requirement for using serverless analytics.

    CWhy not this: Compression can reduce processing or scanning costs but does not automatically eliminate compute charges.

    DWhy not this: Fixed idle-period compute charges reduce, rather than explain, the benefit for infrequent workloads.

    Serverless analytics generally bills compute according to usage, which can avoid paying for continuously running idle capacity. Fixed compute charges during idle periods are more characteristic of provisioned resources left running.

    Open this question
  31. Question 31

    Data Operations and Support

    A data warehouse team must select a specific Amazon Redshift node type and control when nodes are added or removed. Which deployment meets these requirements, and what responsibility does it introduce?

    Show the answer

    Correct answerB. Redshift provisioned, with responsibility for cluster capacity planning

    AWhy not this: AWS manages the underlying nodes for Redshift Serverless; customers do not schedule their replacement.

    BWhy this is right: Provisioned Redshift provides node selection and resizing control, requiring the team to plan cluster capacity.

    CWhy not this: Redshift Serverless exposes capacity settings rather than a choice of physical node types.

    DWhy not this: Provisioned Redshift provides node control, but AWS remains responsible for host operating system patching.

    Redshift provisioned lets the team select node types and manage cluster capacity. Redshift Serverless abstracts node management, while AWS manages host operating system patching for provisioned Redshift as well.

    Open this question
  32. Question 32

    Data Operations and Support

    A sales dataset omits dates with no transactions. A report needs each region's average daily revenue over the current date and six preceding calendar dates, counting no-sale dates as zero; which calculation is appropriate?

    Show the answer

    Correct answerB. Aggregate daily totals, fill missing dates with zeros, then average seven calendar days.

    AWhy not this: Seven recorded rows can span more than seven calendar days when dates are missing.

    BWhy this is right: Daily aggregation and zero-filled dates ensure the rolling window represents exactly seven calendar days per region.

    CWhy not this: Calendar-week grouping is not a rolling window, and transaction averages are not averages of daily revenue.

    DWhy not this: Pivoting changes layout; averaging only nonempty dates excludes the required zero-revenue dates.

    A seven-calendar-day rolling average requires daily totals and a complete date series for each region, with missing totals set to zero. Averaging seven recorded rows can span more than seven calendar days and exclude zero-revenue dates.

    Open this question
  33. Question 33

    Data Operations and Support

    An Athena table uses S3 paths partitioned by date and tenant ID; new partitions arrive continuously and must be queryable without catalog updates. Dates follow a predictable range, tenant IDs are unpredictable, and every query supplies one tenant ID and a date range. Which configuration BEST meets these requirements?

    Show the answer

    Correct answerB. Enable partition projection with date and injected tenant types.

    AWhy not this: MSCK REPAIR TABLE registers discovered partitions in the catalog, violating the requirement to avoid catalog updates.

    BWhy this is right: Date projection derives dates, while injected projection obtains the unpredictable tenant ID from the query without partition registration.

    CWhy not this: A crawler discovers and registers partitions, requiring catalog updates before new partitions become available.

    DWhy not this: A partition index speeds up lookup of registered partitions; it does not eliminate partition registration.

    Partition projection calculates partition locations without catalog updates. Date projection handles predictable dates, and injected projection uses the tenant value supplied by the query. A partition index accelerates catalog partition lookup but still requires partitions to be registered.

    Open this question
  34. Question 34

    Data Operations and Support

    An Amazon Athena table covers S3 data partitioned by date (dt=YYYY-MM-DD), and a new partition arrives every day. Queries miss each new day until someone updates the table's partitions. The team wants new days queryable as soon as data lands, with no extra jobs or catalog updates. What should the engineer do?

    Show the answer

    Correct answerA. Configure partition projection for dt on the table.

    AWhy this is right: Partition projection derives dt values and S3 locations from table properties, so no partition needs to be added to the catalog.

    BWhy not this: MSCK REPAIR TABLE is an extra step after every load, and it slows down as the number of partitions grows.

    CWhy not this: Columnar Parquet reduces the bytes scanned per query but does not make new partitions visible.

    DWhy not this: Query result reuse returns cached results of earlier queries, which would also miss the new partition.

    With partition projection, Athena calculates partition values and locations from the table's configuration, so a new day's prefix is queryable as soon as its data lands, without crawlers, MSCK REPAIR TABLE or catalog partition updates. Converting to Parquet reduces scanned bytes but does not register partitions.

    Open this question
  35. Question 35

    Data Operations and Support

    A Lambda function processes batches from an Amazon SQS standard queue, but one invalid record causes successfully processed records to be retried. Which change avoids retrying successful records solely because another record failed?

    Show the answer

    Correct answerC. Enable partial batch responses and return failed message IDs.

    AWhy not this: A short visibility timeout can expose messages while processing continues, increasing duplicate processing.

    BWhy not this: SQS event source mappings invoke Lambda synchronously, so asynchronous invocation destinations do not handle these failures.

    CWhy this is right: Partial batch responses let the event source mapping retry failed messages without retrying successful messages from that batch.

    DWhy not this: Throwing an exception fails the entire batch; increasing its size can cause more successful records to be retried.

    With ReportBatchItemFailures enabled, the function can report failed message IDs so only those messages are retried. Lambda asynchronous invocation destinations do not handle failures from an SQS event source mapping.

    Open this question
  36. Question 36

    Data Operations and Support

    A pipeline must start daily at 08:00 America/New_York time, including across daylight saving time changes, without seasonal configuration updates. Which configuration meets this requirement with the LEAST operational effort?

    Show the answer

    Correct answerD. An EventBridge Scheduler cron schedule with the named time zone.

    AWhy not this: A 24-hour rate maintains elapsed intervals rather than a fixed local clock time across daylight saving time changes.

    BWhy not this: Custom seasonal updates add maintenance that a time-zone-aware Scheduler cron schedule avoids.

    CWhy not this: Scheduled rules use UTC, so a fixed expression cannot preserve 08:00 local time across daylight saving time changes.

    DWhy this is right: A cron schedule using America/New_York automatically follows its daylight saving time rules.

    EventBridge Scheduler supports cron schedules evaluated in a named time zone and automatically adjusts for daylight saving time. A fixed UTC cron expression shifts the local execution time when the UTC offset changes.

    Open this question
  37. Question 37

    Data Operations and Support

    Where should an engineer inspect a failed Step Functions Standard Workflow execution to identify the failed state and its error details?

    Show the answer

    Correct answerC. The execution event history

    AWhy not this: The Data Catalog stores dataset metadata, not Step Functions execution failures.

    BWhy not this: The schema registry describes event structures rather than workflow execution outcomes.

    CWhy this is right: Execution event history shows state transitions and the error details associated with failed states.

    DWhy not this: Concurrency metrics describe Lambda usage, not the state-by-state outcome of a workflow.

    A Standard Workflow's execution event history records state transitions and failure details. Lambda concurrency metrics can reveal capacity pressure but do not identify failures across the workflow's states.

    Open this question
  38. Question 38

    Data Operations and Support

    A Step Functions workflow must run an AWS Glue job and start validation only after the job succeeds. Which configuration meets this requirement with the least custom code?

    Show the answer

    Correct answerD. Use the AWS Glue Run a Job integration with the .sync pattern.

    AWhy not this: Request-response returns after job submission, while the Glue job can still be running.

    BWhy not this: Asynchronous submission does not make the workflow wait for successful job completion.

    CWhy not this: A fixed delay does not establish whether the job has completed successfully.

    DWhy this is right: The .sync pattern waits for job completion, allowing validation to follow successful processing.

    The .sync integration waits for the Glue job to finish before advancing and propagates job failures. Request-response waits only for the submission response, not for job completion.

    Open this question
  39. Question 39

    Data Operations and Support

    An Amazon MWAA DAG fails to load with ModuleNotFoundError for a third-party Python library absent from the environment's dependencies. The environment uses a versioned requirements.txt file in S3; which actions install the missing dependency? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. Add a compatible library version to requirements.txt and upload it to S3.D. Update the environment to use the new requirements.txt object version.

    AWhy this is right: Declaring the missing library in requirements.txt makes it available for installation during the environment update.

    BWhy not this: Additional workers provide task capacity but do not install missing Python dependencies.

    CWhy not this: Task retries apply to task execution, not a missing dependency that prevents DAG parsing.

    DWhy this is right: MWAA must reference the new requirements file version to apply the dependency change.

    Add the missing package to requirements.txt and update the MWAA environment to reference the new S3 object version so dependencies are installed. Task retries cannot resolve an import failure that prevents the DAG from loading.

    Open this question
  40. Question 40

    Data Operations and Support

    A Step Functions workflow must process an S3 JSON array larger than 256 KiB, run up to 200 independent item workflows concurrently, and tolerate a defined percentage of item failures. Which design meets these requirements without custom batching?

    Show the answer

    Correct answerB. Use a Distributed Map with an S3 ItemReader and failure tolerance.

    AWhy not this: Express workflows do not remove Inline Map's concurrency and input constraints.

    BWhy this is right: Distributed Map supports S3 input, the required child-workflow concurrency, and a tolerated failure percentage.

    CWhy not this: Parallel uses predefined branches rather than dynamically creating item workflows from an S3 dataset.

    DWhy not this: Inline Map supports at most 40 concurrent iterations and does not directly read an oversized dataset through an S3 ItemReader.

    Distributed Map can read a dataset directly from S3, run child workflows with concurrency above 40, and apply a tolerated failure percentage. Inline Map is limited to 40 concurrent iterations and cannot directly handle this oversized dataset as state input.

    Open this question
  41. Question 41

    Data Operations and Support

    An AWS Quick Sight (formerly Amazon QuickSight) dashboard uses a slow relational source. Hourly data refreshes are acceptable, and dashboard interactions should avoid querying the source. Which configuration best meets these requirements?

    Show the answer

    Correct answerD. Import into SPICE with an hourly refresh schedule.

    AWhy not this: Direct query sends queries to the source during dashboard use; a refresh schedule does not create an imported dataset.

    BWhy not this: Dataset filters can reduce queried data but do not eliminate source queries in direct query mode.

    CWhy not this: A source view can simplify SQL but still requires source queries when used through direct query.

    DWhy this is right: SPICE serves interactions from imported data, while scheduled refreshes provide the accepted hourly freshness.

    SPICE stores imported data in an in-memory engine, so dashboard interactions do not query the source. Direct query continues to access the source, even when dashboard refreshes are scheduled.

    Open this question
  42. Question 42

    Data Operations and Support

    A sales report has rows containing region, quarter, and revenue. Analysts need one row per region, separate columns for each quarter, and summed revenue in each cell. Which transformation provides this layout?

    Show the answer

    Correct answerB. Pivot quarter values and sum revenue by region.

    AWhy not this: Sorting changes row order without reshaping the data or calculating the required totals.

    BWhy this is right: Pivoting creates quarter columns and places the aggregated revenue for each region in the corresponding cells.

    CWhy not this: Grouping produces region-quarter totals but retains a row for each region-quarter combination.

    DWhy not this: A rolling average smooths values across a moving window rather than turning quarter values into columns.

    Pivoting turns quarter values into columns and aggregates revenue at each region-quarter intersection. Grouping by region and quarter calculates the totals but leaves quarters represented as rows rather than separate columns.

    Open this question
  43. Question 43

    Data Operations and Support

    In an Athena Apache Spark notebook, collecting a large DataFrame into Python exhausts driver memory. The analyst needs only total sales for each of 20 regions; which change best meets the need?

    Show the answer

    Correct answerC. Aggregate sales by region in Spark, then collect.

    AWhy not this: Coalescing reduces partition count, not result size, and can also limit parallelism.

    BWhy not this: Caching can speed reuse but does not reduce the number of rows transferred by collect.

    CWhy this is right: Spark computes the regional totals across executors, leaving only a small result to transfer to the driver.

    DWhy not this: Repartitioning changes executor-side distribution but collect still transfers every row to the driver.

    Distributed aggregation reduces the dataset to 20 regional totals before collection, keeping driver memory requirements small. Repartitioning changes data distribution but does not reduce the total data that collect brings to the driver.

    Open this question
  44. Question 44

    Data Operations and Support

    An analyst uses AWS Quick Sight to investigate whether higher advertising spend is associated with higher revenue across stores. Which visual best reveals the relationship and unusual stores?

    Show the answer

    Correct answerB. A scatter plot with spend and revenue as axes

    AWhy not this: A pie chart shows parts of a total rather than the relationship between spend and revenue.

    BWhy this is right: Plotting each store by spend and revenue reveals association and stores that depart from the overall pattern.

    CWhy not this: A date-based line chart emphasizes trends over time, not the relationship between two measures across stores.

    DWhy not this: Regional revenue bars compare grouped totals but do not show store-level spend against revenue.

    A scatter plot positions each store by two numeric measures, revealing relationships and outliers. A line chart emphasizes changes over an ordered dimension such as time rather than the relationship between spend and revenue.

    Open this question
  45. Question 45

    Data Operations and Support

    Which SQL clause filters grouped results by SUM(revenue) in both Amazon Redshift and Athena?

    Show the answer

    Correct answerD. HAVING

    AWhy not this: GROUP BY defines which rows contribute to each group; it does not apply an aggregate threshold.

    BWhy not this: WHERE filters input rows before aggregation, rather than filtering aggregate results.

    CWhy not this: ORDER BY sorts the result rows; it does not filter groups.

    DWhy this is right: HAVING applies conditions to grouped results, including conditions on SUM(revenue).

    HAVING filters groups using aggregate results such as SUM(revenue). WHERE filters individual input rows before grouping and cannot directly filter a grouped SUM.

    Open this question
  46. Question 46

    Data Operations and Support

    A dataset contains non-null order dates stored as strings, but some use YYYY-MM-DD and others use MM/DD/YYYY. What should an engineer examine to investigate the format inconsistency before standardizing the values?

    Show the answer

    Correct answerB. The counts of order dates matching each format

    AWhy not this: Completeness measures missing values, not whether populated values use a consistent date format.

    BWhy this is right: Format-specific matching identifies how many values use each representation.

    CWhy not this: Distinct-value counts measure cardinality without identifying the formats used.

    DWhy not this: Both date formats have the same string length, so length counts do not distinguish them.

    Counting values that match each date format reveals the extent of the inconsistency. String lengths do not distinguish these formats because both contain 10 characters.

    Open this question
  47. Question 47

    Data Operations and Support

    An engineer must retain a uniform random sample of exactly 10,000 records from a stream whose final size is unknown but exceeds 10,000 records. Records can be read only once, memory is limited to the sample, and arrivals follow a repeating operational cycle. Which technique BEST meets these requirements?

    Show the answer

    Correct answerD. Reservoir sampling with randomized replacement

    AWhy not this: Buffering the full stream violates the memory limit, even though sampling afterward could produce a uniform sample.

    BWhy not this: A fixed sampling interval does not ensure the required final size and can align with the repeating operational cycle.

    CWhy not this: Independent inclusion with a fixed probability produces a variable count when the stream size is unknown.

    DWhy this is right: Reservoir sampling maintains the required sample size while giving each record equal inclusion probability.

    Reservoir sampling maintains a fixed-size uniform random sample in one pass without knowing the final stream size. Fixed-probability Bernoulli sampling produces a variable sample size; systematic sampling can also align with repeating arrival patterns.

    Open this question
  48. Question 48

    Data Operations and Support

    An AWS Glue ETL job joins orders to a customer table with unique customer IDs; unmatched orders are silently dropped. Every source order must reach the curated output, and incomplete batches must not be published. Which approach BEST enforces this requirement?

    Show the answer

    Correct answerC. Compare source and joined row counts, and block the write on a mismatch.

    AWhy not this: Sample counts cannot establish that every source order survived the join.

    BWhy not this: A non-null customer ID can still lack a matching customer and cause an order to be dropped.

    CWhy this is right: Unique lookup keys prevent join multiplication, so a row-count mismatch reveals lost orders before publication.

    DWhy not this: Metrics published after the write can reveal a problem but cannot prevent an incomplete batch from being published.

    With unique customer IDs in the lookup, comparing full source and joined row counts detects orders lost in the join; gating the write prevents publication. Customer ID completeness alone cannot detect non-null IDs that have no matching customer.

    Open this question
  49. Question 49

    Data Operations and Support

    Auditors require proof of whether any CloudTrail log file delivered to the company's S3 bucket was modified or deleted after delivery. Which change provides this proof?

    Show the answer

    Correct answerA. Enable log file integrity validation on the trail and validate the logs with its digest files.

    AWhy this is right: Signed digest files record a hash of each delivered log file, so validation detects any later modification or deletion.

    BWhy not this: Versioning keeps old object versions, but a version history cannot prove which content CloudTrail originally delivered.

    CWhy not this: SSE-KMS protects log confidentiality at rest; it does not detect changes made by someone allowed to write.

    DWhy not this: Insights detects unusual API call volumes, not changes to delivered log files.

    With log file integrity validation, CloudTrail delivers signed digest files that hold a hash of every log file; validating against them shows whether a log file was modified or deleted after delivery. Versioning keeps prior versions but does not prove what CloudTrail originally delivered, and encryption protects confidentiality, not integrity.

    Open this question
  50. Question 50

    Data Operations and Support

    An Amazon ECS task on AWS Fargate writes pipeline logs to standard output. Its task execution role already permits CloudWatch Logs writes, and the destination log group exists. Which task definition change automatically sends the logs there?

    Show the answer

    Correct answerA. Configure the awslogs log driver with the log group, Region, and stream prefix.

    AWhy this is right: The awslogs driver routes container output to the specified CloudWatch Logs group and stream.

    BWhy not this: CloudTrail records supported AWS API activity, not application output from containers.

    CWhy not this: Subscription filters forward ingested log events to supported destinations; they do not collect ECS container output.

    DWhy not this: Metric filters extract metric values from logs already ingested into a log group.

    The awslogs log driver sends container standard output and standard error to CloudWatch Logs using the task definition's log configuration. Subscription filters forward logs that have already reached CloudWatch Logs; they do not collect container output.

    Open this question