DVA-C02 practice question 1 of 35
A company has a multi-node Windows legacy application that runs on premises. The application uses a network shared folder as a centralized…
Full set: 598 questionsDomain Security
Amazon S3 is an object storage service designed for high availability and 99.999999999% (11 nines) of durability by redundantly storing data across multiple Availability Zones. This makes it an ideal, highly available repository for configuration files. By updating the application to use the AWS SDK, the EC2 instances can directly and concurrently access the configuration files from the S3 bucket. This serverless approach is the most cost-effective as it eliminates the need to provision and manage dedicated EC2 instances or block storage for a file server, and you only pay for the S3 storage and requests made.
A. This solution creates a single point of failure. If the EC2 instance hosting the EBS share fails, the entire application loses access to its configuration, violating the high availability requirement.
B. Instance store is ephemeral and not persistent. Any data on an instance store volume is lost if the instance is stopped or terminated, making it unsuitable for a configuration repository.
D. Mounting an S3 bucket as a local volume adds a layer of abstraction (e.g., using s3fs-fuse) that can introduce performance and consistency complexities compared to native SDK calls, making it a less optimal solution.
1. Amazon S3 Features: The official documentation states
"Amazon S3 is designed for 99.999999999% (11 9's) of durability
and stores data for millions of applications for companies all around the world... S3 Standard is designed for 99.99% availability over a given year." This supports its use for a highly available repository.
Source: AWS Documentation
"Amazon S3 Features
" section on "Durability and data protection."
2. Amazon EC2 Instance Store: The documentation clarifies the non-persistent nature of instance stores: "The data in an instance store persists only during the life of its associated instance. If an instance reboots (intentionally or unintentionally)
data in the instance store persists. However
data in the instance store is lost under any of the following circumstances: The underlying drive fails
The instance stops
The instance hibernates
The instance terminates."
Source: AWS Documentation
"Amazon EC2 User Guide for Linux Instances
" section "Amazon EC2 instance store."
3. Amazon EBS Volumes: The documentation explains that a standard EBS volume is attached to a single instance within a specific Availability Zone. "An Amazon EBS volume is a durable
block-level storage device that you can attach to a single EC2 instance." This confirms that sharing it from one instance (as described in option A) makes that instance a single point of failure.
Source: AWS Documentation
"Amazon EC2 User Guide for Linux Instances
" section "Amazon EBS volumes."
4. Accessing S3: The AWS SDK Developer Guides provide the canonical method for applications to interact with S3. "The AWS SDK for [Language] provides an API for the Amazon S3 bucket and object operations." This confirms that using the SDK is the intended and direct method for programmatic access.
Source: AWS Documentation
"AWS SDK for .NET Developer Guide
" section "Amazon S3 examples."
Keep practicing
Take the free DVA-C02 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DVA-C02 practice questions
- Question 2A developer migrated a legacy application to an AWS Lambda function. The function uses a …
- Question 3A development learn has an Amazon API Gateway REST API that is backed by an AWS Lambda fu…
- Question 4A company is expanding the compatibility of its photo-snaring mobile app to hundreds of a…
- Question 5A company has an ecommerce application. To track product reviews, the company's developme…
- Question 6A social media company is designing a platform that allows users to upload data, which is…
- Question 7A developer is creating an Amazon DynamoDB table by using the AWS CLI The DynamoDB table …
