For which use case are Amazon EC2 On-Demand Instances MOST cost-effective?
Answer : B
On-Demand Instances are most cost-effective for short-term, steady, and unpredictable workloads. Using them for a one-month testing period allows flexibility without a long-term commitment. For long-term workloads (like a year or more), Reserved Instances or Savings Plans would be more cost-effective. Spot Instances are better for interruptible, flexible workloads.
A company will run a predictable compute workload on Amazon EC2 Instances for the next 3 years. The workload is critical for the company. The company wants to optimize costs to run the workload.
Which solution will meet these requirements?
Answer : C
Savings Plans offer cost savings for predictable, steady workloads over a one or three-year term, with flexibility in instance family and size, making them suitable for critical workloads on EC2 instances that will run for a long term like three years. Spot Instances are more cost-effective but not suitable for critical, predictable workloads due to potential interruptions. Dedicated Hosts and On-Demand Instances would be more costly.
Which AWS service gives users the ability to deploy highly repeatable infrastructure configurations?
Answer : A
AWS CloudFormation allows users to define and deploy infrastructure as code, creating highly repeatable and consistent configurations across environments. It uses templates to automate the provisioning and management of resources. CodeDeploy focuses on application deployment, and Systems Manager offers operational management, but neither provides templated infrastructure deployment at the same level as CloudFormation.
Which AWS service or resource can a company use to deploy AWS WAF rules?
Answer : B
Application Load Balancer (ALB) integrates with AWS WAF to deploy and manage WAF rules for incoming traffic. ALB can route HTTP and HTTPS traffic and apply WAF rules to protect applications from common web exploits. Network Load Balancer does not support AWS WAF, and Trusted Advisor does not deploy WAF rules.
Which AWS service provides storage-optimized and compute-optimized device configurations?
Answer : C
AWS Snowball Edge offers configurations that are either storage-optimized or compute-optimized, providing flexibility for different data migration and processing needs. It supports local processing and data transfer to AWS, catering to scenarios that require heavy storage or compute resources. AWS Snowcone and DataSync do not offer these optimizations, and Storage Gateway focuses on hybrid cloud storage.
A company wants to securely access an Amazon S3 bucket from an Amazon EC2 instance without accessing the internet.
What should the company use to accomplish this goal?
Answer : C
A VPC endpoint enables private connections between an Amazon VPC and AWS services, like Amazon S3, without requiring internet access. This allows secure access to S3 from an EC2 instance within the same VPC, reducing latency and improving security. VPN connections and NAT gateways do not eliminate internet traffic, and an internet gateway would expose the VPC to the public internet.
Which AWS service provides on-premises applications with low-latency access to data that is stored in the AWS Cloud?
Answer : B
AWS Storage Gateway provides on-premises applications with low-latency access to data stored in AWS by caching frequently accessed data locally. It seamlessly integrates on-premises environments with cloud storage, enabling hybrid storage solutions. AWS DataSync is for data transfer, CloudFront is a content delivery network, and AWS Backup is for backup management, not low-latency access.