AWS: CSA Flashcards
1
Q
List CloudWatch EC2 metrics that are available by default
A
- CPU utilisation
- Network utilisation
- Disk reads
2
Q
List CloudWatch EC2 metrics that are not readily available by default
A
- Memory utilisation
- Disk swap utilisation
- Disk space utilisation
- Page file utilisation
- Log collection
3
Q
What is Amazon FSx for Lustre?
A
- High-performance file system built on Lustre
- Lustre is an open-source parallel file system
- Stores data across multiple network file servers to maximise performance and reduce bottlenecks
- Use cases
- High performance computing where high throughput and low latency is essential for processing large datasets
- Machine learning and analytics
- Media processing workloads (eg. video rendering, transcoding) where fast access to large files is required
4
Q
What is Amazon FSx for Windows FS?
A
- Fully managed, high performance file storage service compatible with Windows
- Supports SMB protocol, Windows NTFS and Microsoft Active Directory integration
- Thousands of compute instances can access a file system concurrently
- Use cases:
- Enterprise applications eg. Microsoft SharePoint, Exchange and Active Directory
- Migrating existing Window-based applications to AWS
- Line of business applications
5
Q
What are the options to provide user authentication and access control for your file system if using Amazon FSx for Windows?
A
- Options:
- AWS managed Microsoft Active Directory
- Self managed Microsoft Active Directory
- After creating an AD config for a file system, the config can’t be changed
- You will need to create a new file system from a backup and change the AD config for that file system
- The configs allow users in your domain to use their existing identity to access FSx file system and control access to individual files and folders
6
Q
What is Amazon EFS?
A
- Fully managed file storage service for Linux-based applications
- Supports NFSv4 - easy to mount EFS on multiple EC2 instances simultaneously
- High availability and durability
- Data stored across multiple AZ within a region
- Built-in data redundancy and automatic failover
- Use cases:
- Containerised applications - shared storage for containers running on multiple EC2 instances
- CMS - multiple web servers can share access to same files and data
- Dev and test environments - devs can share code/resources across multiple instances
7
Q
What happens when EFS is mounted on EC2 instances?
A
- Provides file system interface
- Multiple EC2 instances can access an EFS file system at the same time, allowing EFS to provide a common data source for workloads and applications running on more than one EC2 instance
8
Q
What is AWS Glue?
A
- Fully managed ETL service
- Serverless environment for running ETL jobs
- Pay for resources only during job execution
- Provides a visual interface for defining ETL jobs
- Data can be extracted from various sources and transformed to a suitable format for analysis
- Automatic schema discovery and mapping
- Use cases:
- Data integration and transformation
- Data lakes and data warehouses
- Serverless data processing
9
Q
What is AWS DMS?
A
- Fully managed database migration service
- Supports homogeneous and heterogeneous migrations
- Supports schema and data transformations
- Map data to different schema structures
- Transform data as it is being migrated
- Continuous data replication
- Perform one-time migrations as well as ongoing replication to keep databases in sync
- Use cases:
- Cloud migration
- Database consolidation
- Disaster recovery
10
Q
What is AWS SCT?
A
- Standalone schema conversion tool
- Automate process of converting db schemas from one db engine to another
- Analyzes source schema and generates target schema compatible with chosen target db engine
- Use cases:
- Database migration
- Database engine upgrades
- Cross-platform database consolidation
11
Q
What is AW Elastic Beanstalk?
A
- Fully managed platform-as-a-service
- Developer-centric view of deploying an app on AWS
- Once deployed, it builds the selected supported platform version and provisions one/more AWS resources (ie. EC2 instances) to run the application
- Free service but underlying AWS resources will have costs involved
- Use cases:
- Web applications
- Microservices
- DevOps workflows
12
Q
What is Lambda@Edge?
A
- Serverless compute service extending Lambda capabilities to CloudFront edge locations
- Execute code closer to your end users to reduce latency
- Leverages Lambda service to automatically scale functions
- Event-driven - functions run in response to CloudFront events
- Use cases:
- Dynamic content personalisation
- Security and access control
- Protect against XSS and SQL injections
- Content optimisation
- Optimise content delivery by compressing images, caching frequently accessed resources
13
Q
At which points can you use Lambda functions to change CloudFront requests/responses?
A
- Viewer request - after CloudFront receives a request from a viewer
- Origin request - before CloudFront forwards request to origin
- Origin response - after CloudFront receives response from origin
- Viewer response - before CloudFront forwards response to viewer
14
Q
How does Lambda work with CloudFront CDN?
A
- CloudFront functions
- Lambda@Edge
15
Q
What are the differences between CloudFront functions vs Lambda@Edge?
A
- CloudFront functions
- Written in JS
- Limited integration with AWS services - focused on CDN-related tasks
- Runtime limitations - designed for lightweight, short-lived tasks that are executed quickly at the edge
- Can be triggered by viewer requests/responses
- Lambda@Edge
- Supports multiple programming languages
- Can be integrated with a lot of AWS services
- Fewer runtime limitations - suitable for more complex and resource-intensive tasks
- Can be triggered by all requests/responses from CloudFront (incl. origin requests/responses)