[2024年11月09日] 信頼され続けるDEA-C01試験のコツがあるPDF試験材料 [Q71-Q96]

Share

[2024年11月09日] 信頼され続けるDEA-C01試験のコツがあるPDF試験材料

2024年最新のDEA-C01テスト解説(更新されたのは132問があります)

質問 # 71
A company is migrating its database servers from Amazon EC2 instances that run Microsoft SQL Server to Amazon RDS for Microsoft SQL Server DB instances. The company's analytics team must export large data elements every day until the migration is complete. The data elements are the result of SQL joins across multiple tables. The data must be in Apache Parquet format. The analytics team must store the data in Amazon S3.
Which solution will meet these requirements in the MOST operationally efficient way?

  • A. Schedule SQL Server Agent to run a daily SQL query that selects the desired data elements from the EC2 instance-based SQL Server databases. Configure the query to direct the output .csv objects to an S3 bucket. Create an S3 event that invokes an AWS Lambda function to transform the output format from .csv to Parquet.
  • B. Create an AWS Lambda function that queries the EC2 instance-based databases by using Java Database Connectivity (JDBC). Configure the Lambda function to retrieve the required data, transform the data into Parquet format, and transfer the data into an S3 bucket. Use Amazon EventBridge to schedule the Lambda function to run every day.
  • C. Use a SQL query to create a view in the EC2 instance-based SQL Server databases that contains the required data elements. Create and run an AWS Glue crawler to read the view.
    Create an AWS Glue job that retrieves the data and transfers the data in Parquet format to an S3 bucket. Schedule the AWS Glue job to run every day.
  • D. Create a view in the EC2 instance-based SQL Server databases that contains the required data elements. Create an AWS Glue job that selects the data directly from the view and transfers the data in Parquet format to an S3 bucket. Schedule the AWS Glue job to run every day.

正解:D


質問 # 72
Which callback function is required within a JavaScript User-Defined Function (UDF) for it to execute successfully?

  • A. finalize ()
  • B. processRow ()
  • C. handler
  • D. initialize ()

正解:B

解説:
Explanation
The processRow () callback function is required within a JavaScript UDF for it to execute successfully. This function defines how each row of input data is processed and what output is returned. The other callback functions are optional and can be used for initialization, finalization, or error handling.


質問 # 73
A retail company uses Amazon Aurora PostgreSQL to process and store live transactional data.
The company uses an Amazon Redshift cluster for a data warehouse.
An extract, transform, and load (ETL) job runs every morning to update the Redshift cluster with new data from the PostgreSQL database. The company has grown rapidly and needs to cost optimize the Redshift cluster.
A data engineer needs to create a solution to archive historical data. The data engineer must be able to run analytics queries that effectively combine data from live transactional data in PostgreSQL, current data in Redshift, and archived historical data. The solution must keep only the most recent 15 months of data in Amazon Redshift to reduce costs.
Which combination of steps will meet these requirements? (Choose two.)

  • A. Configure Amazon Redshift Spectrum to query live transactional data that is in the PostgreSQL database.
  • B. Schedule a monthly job to copy data that is older than 15 months to Amazon S3 Glacier Flexible Retrieval by using the UNLOAD command. Delete the old data from the Redshift cluster. Configure Redshift Spectrum to access historical data from S3 Glacier Flexible Retrieval.
  • C. Schedule a monthly job to copy data that is older than 15 months to Amazon S3 by using the UNLOAD command. Delete the old data from the Redshift cluster. Configure Amazon Redshift Spectrum to access historical data in Amazon S3.
  • D. Configure the Amazon Redshift Federated Query feature to query live transactional data that is in the PostgreSQL database.
  • E. Create a materialized view in Amazon Redshift that combines live, current, and historical data from different sources.

正解:C、D

解説:
Choice A ensures that live transactional data from PostgreSQL can be accessed directly within Redshift queries.
Choice C archives historical data in Amazon S3, reducing storage costs in Redshift while still making the data accessible via Redshift Spectrum.


質問 # 74
Mark the incorrect statement in case Data engineer using the COPY INTO <table> command to load data from files into Snowflake tables?

  • A. For Local environment, Files are first copied ("staged") to an internal (Snowflake) stage, then loaded into a table.
  • B. For loading data from all semi-structured supported file formats (JSON, Avro, etc.), as well as unloading data, UTF-8 is the only supported character set.
  • C. UTF-32 & UTF-16 both encoding character sets supported for loading data from de-limited files (CSV, TSV, etc.)
  • D. For Data loading of files with semi-structured file formats (JSON, Avro, etc.), the only supported character set is UTF-16.

正解:D

解説:
Explanation
For Data Loading of delimited files (CSV, TSV, etc.), the default character set is UTF-8. To use any other characters sets, you must explicitly specify the encoding to use for loading.
For semi-structured file formats (JSON, Avro, etc.), the only supported character set is UTF-8.
Rest of the statements are correct.


質問 # 75
An ecommerce company wants to use AWS to migrate data pipelines from an on-premises environment into the AWS Cloud. The company currently uses a third-party tool in the on- premises environment to orchestrate data ingestion processes.
The company wants a migration solution that does not require the company to manage servers.
The solution must be able to orchestrate Python and Bash scripts. The solution must not require the company to refactor any code.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Amazon Managed Workflows for Apache Airflow (Amazon MVVAA)
  • B. AWS Step Functions
  • C. AWS Glue
  • D. AWS Lambda

正解:A

解説:
All of the components contained in the outer box (in the image below) appear as a single Amazon MWAA environment in your account. The Apache Airflow Scheduler and Workers are AWS Fargate (Fargate) containers that connect to the private subnets in the Amazon VPC for your environment. Each environment has its own Apache Airflow metadatabase managed by AWS that is accessible to the Scheduler and Workers Fargate containers via a privately-secured VPC endpoint.
https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html


質問 # 76
Search optimization works best to improve the performance of a query when the following condi-tions are true:[Select All that apply]

  • A. Search Query uses Equality predicates (for example, <column_name> = <constant>) OR Predicates that use IN.
  • B. The table is not clustered.
  • C. The table is frequently queried on columns other than the primary cluster key.
  • D. Search Query uses Sort Operations.

正解:A、B、C

解説:
Explanation
Materialized Views works best for search query performance in case of Sort Operations. For Rest of the points Search optimization works best to improve query performance.


質問 # 77
SYSTEM$CLUSTERING_INFORMATION functions returns clustering information, including average clustering depth, for a table based on one or more columns in the table. The function returns a JSON object containing average_overlaps name/value pairs. Does High average_overlaps indicates well organized Clustering?

  • A. NO
  • B. YES

正解:A

解説:
Explanation
Higher the avg_overlap indicates poorly organized clustering.


質問 # 78
A large table with 200 columns contains two years of historical data. When queried. the table is filtered on a single day Below is the Query Profile:

Using a size 2XL virtual warehouse, this query look over an hour to complete What will improve the query performance the MOST?

  • A. Implement the search optimization service on the table
  • B. increase the size of the virtual warehouse.
  • C. Increase the number of clusters in the virtual warehouse
  • D. Add a date column as a cluster key on the table

正解:D

解説:
Explanation
Adding a date column as a cluster key on the table will improve the query performance by reducing the number of micro-partitions that need to be scanned. Since the table is filtered on a single day, clustering by date will make the query more selective and efficient.


質問 # 79
A company is developing an application that runs on Amazon EC2 instances. Currently, the data that the application generates is temporary. However, the company needs to persist the data, even if the EC2 instances are terminated.
A data engineer must launch new EC2 instances from an Amazon Machine Image (AMI) and configure the instances to preserve the data.
Which solution will meet this requirement?

  • A. Launch new EC2 instances by using an AMI that is backed by an Amazon Elastic Block Store (Amazon EBS) volume. Attach an additional EC2 instance store volume to contain the application data. Apply the default settings to the EC2 instances.
  • B. Launch new EC2 instances by using an AMI that is backed by an EC2 instance store volume that contains the application data. Apply the default settings to the EC2 instances.
  • C. Launch new EC2 instances by using an AMI that is backed by a root Amazon Elastic Block Store (Amazon EBS) volume that contains the application data. Apply the default settings to the EC2 instances.
  • D. Launch new EC2 instances by using an AMI that is backed by an EC2 instance store volume.
    Attach an Amazon Elastic Block Store (Amazon EBS) volume to contain the application data.
    Apply the default settings to the EC2 instances.

正解:C

解説:
Amazon EBS volumes are network-attached, and they persist independently of the life of an EC2 instance. By using an AMI backed by an Amazon EBS volume, the root device for the instance is an EBS volume, which means the data will persist.


質問 # 80
A data engineer is building a data orchestration workflow. The data engineer plans to use a hybrid model that includes some on-premises resources and some resources that are in the cloud. The data engineer wants to prioritize portability and open source resources.
Which service should the data engineer use in both the on-premises environment and the cloud- based environment?

  • A. AWS Data Exchange
  • B. Amazon Managed Workflows for Apache Airflow (Amazon MWAA)
  • C. AWS Glue
  • D. Amazon Simple Workflow Service (Amazon SWF)

正解:B

解説:
Amazon MWAA is a managed service for Apache Airflow, which is an open-source workflow automation tool. Apache Airflow can be used both on-premises and in the cloud, making it ideal for hybrid environments. Using Amazon MWAA allows the data engineer to leverage the managed service in the cloud while maintaining the ability to use the same open-source Airflow setup on-premises, ensuring portability and consistency across environments.


質問 # 81
The following code is executed ina Snowflake environment with the default settings:

What will be the result of the select statement?

  • A. 1John
  • B. John
  • C. 0
  • D. SQL compilation error object CUSTOMER' does not exist or is not authorized.

正解:C


質問 # 82
A data engineer must orchestrate a series of Amazon Athena queries that will run every day.
Each query can run for more than 15 minutes.
Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

  • A. Use an AWS Glue Python shell script to run a sleep timer that checks every 5 minutes to determine whether the current Athena query has finished running successfully. Configure the Python shell script to invoke the next query when the current query has finished running.
  • B. Create an AWS Step Functions workflow and add two states. Add the first state before the Lambda function. Configure the second state as a Wait state to periodically check whether the Athena query has finished using the Athena Boto3 get_query_execution API call. Configure the workflow to invoke the next query when the current query has finished running.
  • C. Use an AWS Lambda function and the Athena Boto3 client start_query_execution API call to invoke the Athena queries programmatically.
  • D. Use an AWS Glue Python shell job and the Athena Boto3 client start_query_execution API call to invoke the Athena queries programmatically.
  • E. Use Amazon Managed Workflows for Apache Airflow (Amazon MWAA) to orchestrate the Athena queries in AWS Batch.

正解:B、C


質問 # 83
A data engineer finished testing an Amazon Redshift stored procedure that processes and inserts data into a table that is not mission critical. The engineer wants to automatically run the stored procedure on a daily basis.
Which solution will meet this requirement in the MOST cost-effective way?

  • A. Use query editor v2 to run the stored procedure on a schedule.
  • B. Schedule and run the stored procedure by using the Amazon Redshift Data API in an Amazon EC2 Spot Instance.
  • C. Create an AWS Lambda function to schedule a cron job to run the stored procedure.
  • D. Schedule an AWS Glue Python shell job to run the stored procedure.

正解:A

解説:
https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2-schedule-query.html


質問 # 84
Snowflake web interface can be used to create users with no passwords or remove passwords from existing users?

  • A. TRUE
  • B. FALSE

正解:B

解説:
Explanation
You cannot use the Snowflake web interface to create users with no passwords or remove pass-words from existing users. You must use CREATE USER or ALTER USER command instead.
Also If you create a user with no password (or alter an existing user and remove their password), this effectively disables Snowflake authentication for the user. Without a password in Snowflake, a user cannot log in using Snowflake authentication and must use federated authentication instead.


質問 # 85
A media company wants to improve a system that recommends media content to customer based on user behavior and preferences. To improve the recommendation system, the company needs to incorporate insights from third-party datasets into the company's existing analytics platform.
The company wants to minimize the effort and time required to incorporate third-party datasets.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Use API calls to access and integrate third-party datasets from AWS DataSync.
  • B. Use API calls to access and integrate third-party datasets from AWS Data Exchange.
  • C. Use Amazon Kinesis Data Streams to access and integrate third-party datasets from AWS CodeCommit repositories.
  • D. Use Amazon Kinesis Data Streams to access and integrate third-party datasets from Amazon Elastic Container Registry (Amazon ECR).

正解:A

解説:
Data Exchange is the AWS official third-party datasets repository:
https://aws.amazon.com/data-exchange


質問 # 86
PARTITION_TYPE = USER_SPECIFIED must be used when you prefer to add and remove par-titions selectively rather than automatically adding partitions for all new files in an external storage location that match an expression?

  • A. TRUE
  • B. FALSE

正解:A

解説:
Explanation
The CREATE EXTERNAL TABLE syntax for manually added partitions is as follows:
1.CREATE EXTERNAL TABLE
2.<table_name>
3.( <part_col_name> <col_type> AS <part_expr> )
4.[ , ... ]
5.[ PARTITION BY ( <part_col_name> [, <part_col_name> ... ] ) ]
6.PARTITION_TYPE = USER_SPECIFIED
Included the required PARTITION_TYPE = USER_SPECIFIED parameter.


質問 # 87
A marketing company collects clickstream data. The company sends the clickstream data to Amazon Kinesis Data Firehose and stores the clickstream data in Amazon S3. The company wants to build a series of dashboards that hundreds of users from multiple departments will use.
The company will use Amazon QuickSight to develop the dashboards. The company wants a solution that can scale and provide daily updates about clickstream activity.
Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

  • A. Use Amazon Redshift to store and query the clickstream data.
  • B. Use Amazon Athena to query the clickstream data
  • C. Access the query data through QuickSight SPICE (Super-fast, Parallel, In-memory Calculation Engine). Configure a daily refresh for the dataset.
  • D. Access the query data through a QuickSight direct SQL query.
  • E. Use Amazon S3 analytics to query the clickstream data.

正解:B、C

解説:
Athena would be cheaper than Redshift. S3 analytics is irrelevant. The functionality in SPICE should be more cost effective than direct SQL by reducing the frequency and volume of queries.


質問 # 88
Which methods can be used to create a DataFrame object in Snowpark? (Select THREE)

  • A. session,table()
  • B. session.jdbc_connection()
  • C. session.read.json{)
  • D. DataFraas.writeO
  • E. session.builder()
  • F. session.sql()

正解:A、C、F

解説:
Explanation
The methods that can be used to create a DataFrame object in Snowpark are session.read.json(), session.table(), and session.sql(). These methods can create a DataFrame from different sources, such as JSON files, Snowflake tables, or SQL queries. The other options are not methods that can create a DataFrame object in Snowpark. Option A, session.jdbc_connection(), is a method that can create a JDBC connection object to connect to a database. Option D, DataFrame.write(), is a method that can write a DataFrame to a destination, such as a file or a table. Option E, session.builder(), is a method that can create a SessionBuilder object to configure and build a Snowpark session.


質問 # 89
A data engineer must orchestrate a data pipeline that consists of one AWS Lambda function and one AWS Glue job. The solution must integrate with AWS services.
Which solution will meet these requirements with the LEAST management overhead?

  • A. Use an AWS Step Functions workflow that includes a state machine. Configure the state machine to run the Lambda function and then the AWS Glue job.
  • B. Use an Apache Airflow workflow that is deployed on Amazon Elastic Kubernetes Service (Amazon EKS). Define a directed acyclic graph (DAG) in which the first task is to call the Lambda function and the second task is to call the AWS Glue job.
  • C. Use an Apache Airflow workflow that is deployed on an Amazon EC2 instance. Define a directed acyclic graph (DAG) in which the first task is to call the Lambda function and the second task is to call the AWS Glue job.
  • D. Use an AWS Glue workflow to run the Lambda function and then the AWS Glue job.

正解:A


質問 # 90
Streams cannot be created to query change data on which of the following objects? [Select All that Apply]

  • A. Query Log Tables
  • B. Standard tables, including shared tables.
  • C. External tables
  • D. Directory tables
  • E. Views, including secure views

正解:A

解説:
Explanation
Streams supports all the listed objects except Query Log tables.


質問 # 91
Which output is provided by both theSYSTEM$CLUSTERING_DEPTHfunction and theSYSTEM$CLUSTERING_INFORMATIONfunction?

  • A. notes
  • B. average_overlaps
  • C. average_depth
  • D. total_partition_count

正解:C

解説:
Explanation
The output that is provided by both the SYSTEM$CLUSTERING_DEPTH function and the SYSTEM$CLUSTERING_INFORMATION function is average_depth. This output indicates the average number of micro-partitions that contain data for a given column value or combinationof column values. The other outputs are not common to both functions. The notes output is only provided by the SYSTEM$CLUSTERING_INFORMATION function and it contains additional information or recommendations about the clustering status of the table. The average_overlaps output is only provided by the SYSTEM$CLUSTERING_DEPTH function and it indicates the average number of micro-partitions that overlap with other micro-partitions for a given column value or combination of column values. The total_partition_count output is only provided by the SYSTEM$CLUSTERING_INFORMATION function and it indicates the total number of micro-partitions in the table.


質問 # 92
A company has five offices in different AWS Regions. Each office has its own human resources (HR) department that uses a unique IAM role. The company stores employee records in a data lake that is based on Amazon S3 storage.
A data engineering team needs to limit access to the records. Each HR department should be able to access records for only employees who are within the HR department's Region.
Which combination of steps should the data engineering team take to meet this requirement with the LEAST operational overhead? (Choose two.)

  • A. Create a separate S3 bucket for each Region. Configure an IAM policy to allow S3 access.Restrict access based on Region.
  • B. Use data filters for each Region to register the S3 paths as data locations.
  • C. Register the S3 path as an AWS Lake Formation location.
  • D. Modify the IAM roles of the HR departments to add a data filter for each department's Region.
  • E. Enable fine-grained access control in AWS Lake Formation. Add a data filter for each Region.

正解:C、E

解説:
https://docs.aws.amazon.com/lake-formation/latest/dg/data-filters-about.html
https://docs.aws.amazon.com/lake-formation/latest/dg/access-control-fine-grained.html


質問 # 93
A healthcare company uses Amazon Kinesis Data Streams to stream real-time health data from wearable devices, hospital equipment, and patient records.
A data engineer needs to find a solution to process the streaming data. The data engineer needs to store the data in an Amazon Redshift Serverless warehouse. The solution must support near real-time analytics of the streaming data and the previous day's data.
Which solution will meet these requirements with the LEAST operational overhead?

  • A. Load data into Amazon Kinesis Data Firehose. Load the data into Amazon Redshift.
  • B. Load the data into Amazon S3. Use the COPY command to load the data into Amazon Redshift.
  • C. Use the Amazon Aurora zero-ETL integration with Amazon Redshift.
  • D. Use the streaming ingestion feature of Amazon Redshift.

正解:D

解説:
https://docs.aws.amazon.com/redshift/latest/dg/materialized-view-streaming-ingestion.html Use the Streaming Ingestion Feature of Amazon Redshift: Amazon Redshift recently introduced streaming data ingestion, allowing Redshift to consume data directly from Kinesis Data Streams in near real-time. This feature simplifies the architecture by eliminating the need for intermediate steps or services, and it is specifically designed to support near real-time analytics. The operational overhead is minimal since the feature is integrated within Redshift.


質問 # 94
The following is returned fromSYSTEMCLUSTERING_INFORMATION () for a tablenamed orders with adate column named O_ORDERDATE:

What does the total_constant_partition_count value indicate about this table?

  • A. The data inO_ORDERDATEhas a very low cardinality as there are 493 micro-partitions where there is only a single distinct value in that column for all rows in the micro-partition
  • B. The table is clustered very well on_ORDERDATE, as there are 493 micro-partitions that could not be significantly improved by reclustering
  • C. The table is not clustered well on O_ORDERDATE, as there are 493 micro-partitions where the range of values in that column overlap with every other micro partition in the table.
  • D. The data inO_ORDERDATEdoes not change very often as there are 493 micro-partitionscontaining rows where that column has not been modified since the row was created

正解:C

解説:
Explanation
The total_constant_partition_count value indicates the number of micro-partitions where the clustering key column has a constant value across all rows in the micro-partition. However, this does not necessarily mean that the table is clustered well on that column, as there could be other micro-partitions where the range of values in that column overlap with each other. This is the case for the orders table, as the clustering depth is 1, which means that every micro-partition overlaps with every other micro-partition on O_ORDERDATE. This indicates that the table is not clustered well on O_ORDERDATE and could benefit from reclustering.


質問 # 95
An airline company is collecting metrics about flight activities for analytics. The company is conducting a proof of concept (POC) test to show how analytics can provide insights that the company can use to increase on-time departures.
The POC test uses objects in Amazon S3 that contain the metrics in .csv format. The POC test uses Amazon Athena to query the data. The data is partitioned in the S3 bucket by date.
As the amount of data increases, the company wants to optimize the storage solution to improve query performance.
Which combination of solutions will meet these requirements? (Choose two.)

  • A. Use an S3 bucket that is in the same account that uses Athena to query the data.
  • B. Use an S3 bucket that is in the same AWS Region where the company runs Athena queries.
  • C. Preprocess the .csv data to JSON format by fetching only the document keys that the query requires.
  • D. Preprocess the .csv data to Apache Parquet format by fetching only the data blocks that are needed for predicates.
  • E. Add a randomized string to the beginning of the keys in Amazon S3 to get more throughput across partitions.

正解:B、D

解説:
https://docs.aws.amazon.com/athena/latest/ug/performance-tuning.html


質問 # 96
......

DEA-C01認定ガイドPDFは100%カバー率でリアル試験問題:https://www.passtest.jp/Snowflake/DEA-C01-shiken.html

DEA-C01試験問題集を提供していますSnowflake問題:https://drive.google.com/open?id=1fUCCT0EiyqkWuOfFk3OcZubCNmp5z19X