Review
Now, let's practice a few exam-style questions:
- Amazon Athena is being used by a large company to query data that's being held in S3 buckets in the
eu-central-1
andeu-west-1
regions. The company wants to use Athena ineu-west-1
to query data from Amazon S3 in both regions. The solution must be as low-cost as possible.
What is the best solution?
- Enable S3 cross-region replication from
eu-central-1
toeu-west-1
. Run the AWS Glue crawler ineu-west-1
to create the AWS Glue Data Catalog and run Athena queries. - Use AWS DMS to migrate the AWS Glue Data Catalog from
eu-central-1
toeu-west-1
. Run Athena queries ineu-west-1
. - Update the AWS Glue resource policy's IAM permissions to provide the
eu-central-1
AWS Glue Data Catalog with access toeu-west-1
. Once the catalog ineu-west-1
has access to the catalog ineu-central-1
, run Athena queries ineu-west-1
. - Run the AWS Glue crawler in
eu-west-1
to catalog the datasets in all regions...