ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 187 - DAS-C01 discussion

Report
Export

A data analyst notices the following error message while loading data to an Amazon Redshift cluster:

'The bucket you are attempting to access must be addressed using the specified endpoint.'

What should the data analyst do to resolve this issue?

A.
Specify the correct AWS Region for the Amazon S3 bucket by using the REGION option with the COPY command.
Answers
A.
Specify the correct AWS Region for the Amazon S3 bucket by using the REGION option with the COPY command.
B.
Change the Amazon S3 object's ACL to grant the S3 bucket owner full control of the object.
Answers
B.
Change the Amazon S3 object's ACL to grant the S3 bucket owner full control of the object.
C.
Launch the Redshift cluster in a VPC.
Answers
C.
Launch the Redshift cluster in a VPC.
D.
Configure the timeout settings according to the operating system used to connect to the Redshift cluster.
Answers
D.
Configure the timeout settings according to the operating system used to connect to the Redshift cluster.
Suggested answer: A

Explanation:

The correct answer is

A Specify the correct AWS Region for the Amazon S3 bucket by using the REGION option with the COPY command.

The error message indicates that the Amazon S3 bucket and the Redshift cluster are not in the same region. To load data from a different region, the COPY command needs to specify the source region using the REGION option. For example, if the Redshift cluster is in US East (N. Virginia) and the S3 bucket is in Asia Pacific (Mumbai), the COPY command should include REGION 'ap-south-1'. This option tells Redshift to use the appropriate endpoint to access the S3 bucket. For more information, see Copy command options and COPY - Amazon Redshift.

asked 16/09/2024
Mohammad Musa
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first