Looking to enhance your knowledge of AWS Glue? This set of AWS Glue MCQ questions and answers focuses on Chapter 7: Security, Monitoring, and Best Practices. These questions cover essential topics like data encryption, access controls, monitoring, troubleshooting, and cost optimization. Test your expertise and gain a deeper understanding of these critical concepts.
MCQs on Data Encryption and Access Controls
What encryption mechanism does AWS Glue support for data stored in Amazon S3? a) SSL Encryption b) Client-Side Encryption c) Server-Side Encryption (SSE) d) Public Key Encryption
How can you ensure secure communication between AWS Glue and other AWS services? a) Enable HTTPS endpoints b) Use SSH tunneling c) Configure a public IP d) Set up anonymous access
Which AWS service can you integrate with Glue to manage encryption keys? a) AWS KMS b) AWS Lambda c) AWS CloudTrail d) AWS EC2
To restrict access to AWS Glue Data Catalog, you should: a) Enable IAM Policies b) Disable VPC Endpoint c) Configure Open Access d) Grant full access to all users
What feature allows fine-grained access control in AWS Glue? a) Resource Policies b) CloudWatch Logs c) Default Encryption d) Instance Roles
AWS Glue supports data encryption using: a) RSA Keys b) AES-256 c) MD5 Hash d) DES Algorithm
How do you protect sensitive information in logs? a) Enable log encryption b) Delete logs periodically c) Restrict logs to admins d) Store logs in plaintext
Which IAM policy grants the minimum required access to run an AWS Glue job? a) AdministratorAccess b) GlueJobExecutionRole c) FullAccessPolicy d) GlueReadOnlyAccess
MCQs on Monitoring and Troubleshooting
AWS Glue job metrics can be monitored using: a) Amazon EC2 Dashboard b) AWS CloudWatch c) AWS S3 Console d) AWS Route 53
Which is the primary tool for troubleshooting AWS Glue jobs? a) CloudFormation Templates b) Job Execution Logs c) IAM Policy Editor d) DynamoDB Queries
What does a “ThrottlingException” indicate in AWS Glue? a) Insufficient permissions b) Resource limit exceeded c) Incorrect IAM policy d) Network timeout
How can you detect job errors in AWS Glue? a) Monitor CloudTrail logs b) Enable Glue Error Logs c) Use the Glue console’s job history d) Configure Route 53
The “DPU” in AWS Glue refers to: a) Data Processing Unit b) Data Partition Unit c) Disk Performance Unit d) Dynamic Processing Unit
AWS Glue provides detailed logs for jobs through: a) AWS S3 b) AWS IAM c) AWS CloudWatch Logs d) AWS Athena
What should you do if an AWS Glue job takes too long to execute? a) Reduce DPU allocation b) Split the job into smaller tasks c) Increase memory limits d) Disable logs
What is a common cause of AWS Glue job failure? a) Incorrect IAM roles b) Data encryption c) Over-provisioned DPUs d) Unused VPC endpoints
MCQs on Cost Management and Optimization
Which pricing model does AWS Glue follow? a) Pay-as-you-go b) Reserved instances c) Flat monthly rate d) Free-tier exclusive
How can you reduce costs for AWS Glue operations? a) Reduce the number of DPUs b) Enable CloudWatch monitoring c) Use multi-region deployments d) Increase job retries
What happens when you schedule AWS Glue jobs during off-peak hours? a) Reduced costs b) Increased latency c) Decreased reliability d) No impact on cost
How can you track the cost of individual Glue jobs? a) Use cost allocation tags b) Analyze Glue console c) Configure CloudTrail logs d) Create IAM reports
AWS Glue offers cost optimization through: a) Serverless architecture b) Dedicated instances c) Custom encryption keys d) Fixed resource allocation
To avoid unnecessary costs, ensure: a) Jobs are scheduled on demand b) Always use maximum DPU allocation c) Glue Data Catalog is disabled d) Logs are deleted immediately
Which AWS service can help you analyze Glue costs? a) AWS Cost Explorer b) AWS Config c) AWS Inspector d) AWS KMS
The AWS Glue free tier provides how many minutes of ETL jobs? a) 60 minutes b) 100 minutes c) 200 minutes d) 150 minutes
A cost-effective way to run Glue crawlers is by: a) Setting up efficient schedules b) Using static resources c) Running multiple crawlers simultaneously d) Avoiding encryption
What is a major cost factor in AWS Glue? a) DPU usage hours b) IAM policy creation c) Log retention d) VPC configuration