Cloud Computing Question Bank
Cloud Computing Question Bank
Scaling is automatic or
Manual scaling of compute requires minimal
Scaling and storage resources is intervention, depending on
required. the service (e.g., Aurora's
auto-scaling).
EC2-Hosted
Aspect AWS-Managed Databases
Databases
Databases manually
Fully managed database services
installed and managed
Definition provided by AWS, like RDS,
on Amazon EC2
DynamoDB, and Aurora.
instances.
Low: Simplified
High: Requires database
Operational management, allowing
administration expertise to
Complexity focus on application
manage efficiently.
development.
Hosting MySQL,
Using Amazon RDS,
PostgreSQL, Oracle, or
Examples DynamoDB, or Aurora for fully
other databases on an
managed database solutions.
EC2 instance.
The security features in Amazon VPC are essential for protecting your
network and resources:
1. Isolation: VPC isolates your resources, ensuring they are not
exposed to the public unless configured.
2. Security Groups (SGs): Act as firewalls for EC2 instances,
controlling inbound and outbound traffic for fine-grained access
control.
3. Network ACLs: Provide additional traffic filtering at the subnet level,
ensuring only allowed traffic enters or leaves.
4. VPC Peering & Private Connectivity: Enables secure
communication between VPCs and on-premises systems, reducing
exposure to the public internet.
5. VPN & Transit Gateway: Secure connections between on-premises
and AWS, and between multiple VPCs, enhancing privacy.
6. Flow Logs: Monitor network traffic for security analysis and
troubleshooting.
7. Private & Public Subnets: Isolate sensitive resources in private
subnets and expose only necessary services to the internet.
8. AWS Firewall Manager: Centralizes management of security
policies across multiple accounts.
9. IAM: Controls access to VPC resources, ensuring only authorized
users can make changes.
Create a VPC
• Go to the VPC Dashboard and click Create VPC.
• Choose a CIDR block (e.g., 10.0.0.0/16), name the VPC, and create
it.
2. Create Subnets
• In Subnets, click Create subnet.
• Create public and private subnets with appropriate CIDR blocks
(e.g., 10.0.1.0/24 for public).
3. Create and Attach an Internet Gateway
• In Internet Gateways, click Create and name it.
• Attach it to your VPC for internet access.
4. Configure Route Tables
• Create a route table for the public subnet.
• Add a route: 0.0.0.0/0 → Internet Gateway.
• Associate the public subnet with this route table.
5. Set Up Security Groups
• Create a security group and allow inbound rules:
o HTTP (Port 80), HTTPS (Port 443), and SSH (Port 22) from
trusted IPs.
6. Create Network ACLs (Optional)
• Create Network ACLs and configure inbound and outbound rules for
public access.
7. Launch EC2 Instance (Optional)
• Launch an EC2 instance in the public subnet with the security
group.
This sets up a VPC with proper security configurations for public and
private access.
S3 Standard
• Use Case: Frequently accessed data.
• Cost: High.
• Not ideal for archival.
2. S3 Glacier
• Use Case: Infrequent access, long-term archival.
• Cost: Lower than Standard.
• Access time: Minutes to hours.
• Good for archival.
3. S3 Glacier Deep Archive
• Use Case: Very infrequent access, long-term archival.
• Cost: Cheapest.
• Access time: 12 hours or more.
• Best option for archival storage.
4. S3 Intelligent-Tiering & One Zone-IA
• Use Case: Not ideal for archival due to higher costs or single AZ
storage.
Best option for archival: S3 Glacier Deep Archive due to its low cost
and suitability for long-term, infrequent access.
Amazon Lex
• Use Case:
o Conversational interfaces (chatbots and voice bots).
o Enables the creation of intelligent conversational agents for
customer service, virtual assistants, or automation.
o Integrates with Amazon Alexa and other platforms.
• Functionality:
o Natural language understanding (NLU) for interpreting text or
voice inputs.
o Handles dialog management and context across
conversations.
• Examples:
o Customer service bots, virtual assistants, appointment
schedulers.
2. Amazon Kendra
• Use Case:
o Enterprise search solutions for unstructured data.
o Helps users search and retrieve information from large
datasets, documents, and knowledge repositories.
o Facilitates better document management and content
discovery.
• Functionality:
o Uses machine learning to improve search accuracy.
o Supports multiple data sources like websites, databases, and
files.
• Examples:
o Knowledge management systems, document search, FAQs,
internal company resources.
What are the different storage tiers available in AWS? List three types
of data transfer charges in AWS:
1. S3 Standard: For frequently accessed data. High availability and
durability, but more expensive.
2. S3 Intelligent-Tiering: For unpredictable access patterns. Moves
data between two access tiers based on usage.
3. S3 One Zone-IA: For infrequently accessed data stored in a single
availability zone. Lower cost than Standard.
4. S3 Glacier: For archival data with retrieval times from minutes to
hours. Low-cost storage.
5. S3 Glacier Deep Archive: For long-term, rarely accessed data.
Cheapest storage option.
6. EBS (Elastic Block Store): Persistent block storage for EC2
instances with multiple volume types, including General Purpose
SSD, Provisioned IOPS SSD, and Cold HDD.
7. Amazon FSx: Managed file storage for Windows or Lustre file
systems.
Budget Management:
• Purpose: Helps set financial limits on AWS usage and track
spending.
• Tools: AWS provides tools like AWS Budgets to create custom
budgets and receive alerts when spending exceeds defined
thresholds.
• Goal: Ensure that costs do not exceed predefined limits, making it
easier to stay within financial constraints.
2. Cost Optimization:
• Purpose: Focuses on reducing AWS spending by using resources
more efficiently.
• Techniques: Includes rightsizing instances, using reserved or spot
instances, leveraging cheaper storage options, and eliminating
underused resources.
• Goal: Lower AWS costs without compromising performance or
availability.
Relationship:
• Budget management sets spending boundaries, while cost
optimization helps identify and implement strategies to reduce
costs within those boundaries.
• Together, they enable businesses to manage and control AWS
expenses effectively by both tracking costs and making informed
decisions to reduce unnecessary expenditures.