CLF-C02 Cloud Concepts & AWS Core Services — Questions and Answers
Question 1: What is the primary benefit of cloud computing?
- Unlimited internet access
- Permanent software ownership
- On-demand resource availability and cost savings (Correct answer)
- Manual hardware scaling
Correct answer: On-demand resource availability and cost savings
The primary benefit of cloud computing is its ability to provide on-demand access to computing resources, such as servers, storage, and databases, over the internet. This eliminates the need for organizations to purchase and maintain their own physical infrastructure, leading to significant cost savings. Users only pay for the resources they consume, allowing for greater flexibility, scalability, and efficiency compared to traditional IT setups.
Question 2: Which AWS service is used to store and retrieve any amount of data at any time?
- Amazon EC2
- Amazon RDS
- Amazon S3 (Correct answer)
- AWS Lambda
Correct answer: Amazon S3
Amazon S3 (Simple Storage Service) is the AWS service specifically designed for storing and retrieving any amount of data from anywhere on the web. It is an object storage service known for its scalability, data availability, security, and performance. S3 is commonly used for backups, data archiving, content distribution, and hosting static websites, making it a versatile solution for various data storage needs.
Question 3: Which AWS service provides virtual servers?
- Amazon CloudFront
- Amazon EC2 (Correct answer)
- Amazon Redshift
- Amazon S3
Correct answer: Amazon EC2
Amazon EC2 (Elastic Compute Cloud) is the AWS service that provides resizable compute capacity in the cloud, essentially offering virtual servers. Users can launch and configure virtual machines (instances) with various operating systems and software, scaling them up or down as needed. EC2 is fundamental for running applications, websites, and performing computational tasks without the need for physical hardware.
Question 4: Which pricing model allows you to save money on AWS services based on long-term usage?
- Pay-as-you-go
- Free tier
- Reserved Instances (Correct answer)
- Spot Instances
Correct answer: Reserved Instances
Reserved Instances is an AWS pricing model that allows customers to save money on services by committing to a specific usage level for a 1-year or 3-year term. By reserving compute capacity in advance, users receive a significant discount compared to on-demand pricing. This model is ideal for applications with predictable and steady workloads, offering substantial cost optimization for long-term usage.
Question 5: What is the shared responsibility model in AWS?
- AWS is responsible for everything.
- Customer handles infrastructure security.
- AWS handles infrastructure, customer handles data and applications (Correct answer)
- Customer is responsible for physical data centers
Correct answer: AWS handles infrastructure, customer handles data and applications
The shared responsibility model in AWS defines the security responsibilities between AWS and the customer. AWS is responsible for the security *of* the cloud, meaning they secure the underlying infrastructure that runs all cloud services. Conversely, the customer is responsible for security *in* the cloud, which includes managing their data, applications, operating systems, network configuration, and access controls within their AWS environment.
Question 6: What AWS service provides content delivery with low latency?
- AWS Elastic Beanstalk
- Amazon S3
- Amazon CloudFront (Correct answer)
- Amazon Route 53
Correct answer: Amazon CloudFront
Amazon CloudFront is a Content Delivery Network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency. It achieves this by caching content at edge locations closer to users, reducing the distance data travels. This significantly improves performance and user experience for web applications and content delivery.
Question 7: Which AWS service enables management of user access and permissions?
- AWS Shield
- AWS IAM (Correct answer)
- AWS CloudTrail
- Amazon SQS
Correct answer: AWS IAM
AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. With IAM, you can manage users, groups, and roles, and define granular permissions to specify who can access which services and resources under what conditions. This ensures that only authorized entities can perform specific actions within your AWS environment.
Question 8: What is one key advantage of using cloud over on-premises infrastructure?
- Increased capital expenditure
- More physical space needed
- Scalability and elasticity (Correct answer)
- Manual server configuration
Correct answer: Scalability and elasticity
Scalability and elasticity are key advantages of cloud computing over on-premises infrastructure. Cloud environments allow you to easily scale resources up or down automatically based on demand, ensuring your applications can handle varying workloads without over-provisioning. This dynamic adjustment of resources helps optimize costs and maintain performance, which is difficult and expensive to achieve with fixed on-premises hardware.
Question 9: What is AWS Lambda used for?
- Storing files
- Running serverless code in response to events (Correct answer)
- Provisioning virtual machines
- Managing databases
Correct answer: Running serverless code in response to events
AWS Lambda is a serverless compute service that lets you run code without provisioning or managing servers. It automatically scales your application and executes your code only when needed, in response to events such as changes in data, HTTP requests, or scheduled tasks. This event-driven model makes it cost-effective and highly scalable for various application backends and data processing workloads.
What is the primary benefit of cloud computing?