wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Amazon Athena Worksheet

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

Amazon Athena primarily allows you to query data stored in:

a)

Amazon EC2

b)

Amazon S3

c)

Amazon RDS

d)

Amazon DynamoDB

2.

Athena is a:

a)

Fully managed ETL tool

b)

Serverless interactive query service

c)

Managed NoSQL database

d)

Data warehouse

3.

Which query language does Athena use?

a)

T-SQL

b)

MySQL

c)

Hive SQL (Presto/Trino)

d)

Mongo Query

4.

Athena charges are mainly based on:

a)

Number of queries run

b)

Amount of data scanned per query

c)

Query execution time

d)

Number of databases created

5.

To reduce Athena query cost, you should:

a)

Use S3 Transfer Acceleration

b)

Compress and partition data

c)

Increase EC2 instance size

d)

Encrypt data

6.

Athena is integrated with which catalog for metadata?

a)

Route 53

b)

AWS Glue Data Catalog

c)

CloudWatch Logs

7.

Athena results are stored by default in:

a)

Amazon DynamoDB

b)

Amazon RDS

c)

S3 bucket

d)

EC2 instance

8.

What happens if you run an Athena query on unpartitioned data?

a)

Cost increases

b)

Query runs faster

c)

Data becomes encrypted

d)

Schema gets updated

9.

Athena is best suited for:

a)

Real-time OLTP

b)

Interactive analytics on S3

c)

Data warehousing on EC2

d)

High-frequency trading

10.

Which AWS service can schedule Athena queries?

a)

Amazon SNS

b)

AWS Glue

c)

Amazon S3

d)

Amazon EventBridge

11.

Athena federation allows you to query:

a)

Only S3

b)

Multiple regions

c)

Databases like RDS, DynamoDB using connectors

d)

Local files

12.

Athena eliminates the need for:

a)

Managing servers

b)

Writing SQL

c)

Storing data

d)

Access control

13.

Athena CTAS stands for:

a)

Create Table And Save

b)

Create Table As Select

c)

Copy Table And Store

d)

Create Temporary Athena Schema

14.

Your S3 bucket contains 2 TB of CSV logs. Athena queries are slow and expensive. What should you do?

a)

Convert data to Parquet and partition it

b)

Move data to EBS

c)

Use smaller queries

d)

Add more EC2 instances

15.

Your team runs Athena queries accidentally on large datasets. You want to enforce cost control. What should you use?

a)

IAM Roles

b)

Athena Workgroups with data scan limits

c)

S3 lifecycle rules

d)

CloudTrail

16.

Your Athena query fails because the data schema does not match table definition. What should you do?

a)

Change AWS region

b)

Update the Glue Data Catalog table schema

c)

Delete the S3 bucket

d)

Restart Athena

17.

A user cannot run Athena queries because they get an Access Denied error. Cause?

a)

Wrong SQL syntax

b)

Missing S3 permissions in IAM policy

c)

Athena server is down

d)

Region misconfigured

18.

You want Athena to query data from MySQL without loading into S3. Which feature helps?

a)

Glue Crawlers

b)

Athena Federated Query

c)

S3 Select

d)

EMR integration

19.

You want to automate daily Athena queries and email the results. Which combination works?

a)

SNS + RDS

b)

EventBridge + Athena + SNS

c)

EC2 + S3

d)

CloudTrail + S3

20.

A team wants to create tables in Athena without writing SQL. Which tool can help?

a)

Cloud9

b)

Glue Data Catalog + Crawlers

c)

S3 sync

d)

CloudFormation

21.

What does Athena require before querying S3 data?

a)

A. A database engine to install

b)

B. Index file generation

c)

C. Table definitions with column mapping

d)

D. Storing data in RDS

22.

A. Workgroup budgets B. Query result caching C. Glue Data Catalog D. Partition merging

a)

Workgroup budgets

b)

Query result caching

c)

Glue Data Catalog

d)

Partition merging

23.

Scenario: An S3 bucket is updated with new hourly log files, but Athena is not recognizing the new data. What must be done?

a)

Delete old partitions

b)

Repair or add partitions in Glue / Athena

c)

Restart Athena engine

d)

Change bucket policy