Tüm alıştırma soruları
1542 soru
A developer is building a vehicle fleet tracking application that stores telemetry data in an Amazon DynamoDB table. The table is configured with a partition key of `` and a sort key of ``. The application needs to support two access patterns: retrieving the history of a specific vehicle within a given time range, and retrieving telemetry records matching a specific `` across the entire fleet of vehicles. Some partitions are experiencing throttling due to high-frequency read requests.
Which two actions should the developer take to implement these queries efficiently and resolve the throttling issue?
Geçerli olan tümünü seçin
A developer is implementing a news publishing application that stores article metadata in an Amazon DynamoDB table. The base table uses `ArticleID` as the partition key and `Category` as the sort key. The application needs to frequently retrieve all articles written by a specific author, sorted by their publication date, to display on the author's biography page. The author's identifier is stored in an attribute named `AuthorID`, and the publication date is stored in `PublishDate`.
Which approach should the developer implement to retrieve this data in the most cost-effective and performant manner?
A developer is building a high-throughput IoT monitoring application that writes status updates to an Amazon DynamoDB table. The table's partition key is DeviceId (String) and the sort key is Timestamp (Number). During peak times, the application receives a ProvisionedThroughputExceededException during write operations. Amazon CloudWatch metrics show that the overall write capacity consumed by the table is well below the provisioned Write Capacity Units (WCUs), but a few specific devices are writing data at an extremely high frequency. Which two actions should the developer take to resolve this issue and handle the write failures? (Choose two.)
Geçerli olan tümünü seçin
An enterprise application requires a backend component to process payment transactions. A software engineer is designing an AWS Lambda function that must connect to a PostgreSQL database hosted inside a private VPC subnet, and also make HTTPS requests to an external payment processor's public API endpoint. Which configuration should the software engineer implement to meet these requirements?
A developer is building a smart home application that records temperature readings from IoT sensors. The data is stored in an Amazon DynamoDB table where the partition key is `SensorID` and the sort key is `Timestamp`. The developer needs to retrieve all readings for a specific `SensorID` where the recorded temperature is greater than . Which approach is the most efficient and cost-effective way to retrieve this data?
A developer is designing an event-driven integration where transaction events from an external order processing service are sent to a custom Amazon EventBridge event bus. The developer creates an EventBridge rule to route these events to an Amazon Kinesis Data Stream for real-time analytics. Each event is a JSON payload that includes `transaction_id`, `store_id`, and `amount`. To support analytics requirements, events must be distributed evenly across the stream's shards, and events with the same `transaction_id` must be processed in the exact order they were received.
Which target configuration should the developer specify in the EventBridge rule to meet these requirements?
A developer is designing a corporate training portal that tracks student progress using an Amazon DynamoDB table. The base table key schema consists of as the partition key and as the sort key. The application must support two primary query patterns: retrieving all courses completed by a specific user within a specified date range sorted by completion date, and retrieving all users who have completed a specific course. Which two strategies should the developer implement to meet these requirements with the most efficient database operations?
Geçerli olan tümünü seçin
An agricultural technology company deploys IoT weather stations that report atmospheric measurements. The data is processed through an Amazon EventBridge custom event bus and must be ingested into an Amazon Kinesis Data Stream for real-time wind speed anomaly analysis. The developer must configure the system to ensure EventBridge can route events directly to Kinesis while preventing write throttling at the Kinesis shard level. Which TWO configuration steps should the developer perform to route these events successfully and maintain optimal ingestion performance?
Geçerli olan tümünü seçin
A collaborative document editing platform processes real-time change events using an Amazon Kinesis Data Stream with 8 shards. The event payload includes `document_id` (a UUID), `user_id` (a UUID), `event_type` (e.g., `edit_text`, `update_style`, `document_deleted`), and `payload_size`. Currently, the producer application uses `event_type` as the partition key. During peak usage hours, write operations to the stream frequently fail with a `ProvisionedThroughputExceededException` even though the overall data rate is well below the stream's total limit. Additionally, the development team needs to route only the `document_deleted` events to an administrative Amazon SNS topic for compliance auditing. Which TWO actions should the developer take to resolve the throttling issue and route the compliance events?
Geçerli olan tümünü seçin
A developer is building a workflow management application that tracks task history in an Amazon DynamoDB table. The table has as the partition key and as the sort key. The application needs to retrieve the single most recent update for a specific task to display on a dashboard. Which DynamoDB API configuration should the developer use to retrieve this item with the lowest latency and minimal Read Capacity Unit (RCU) consumption?
A developer is optimization-tuning an e-commerce order processing system. The order data is stored in an Amazon DynamoDB table where the primary key consists of (partition key) and (sort key). The application frequently retrieves all orders placed by a specific user within a given date range. Currently, the application retrieves this data by performing a Scan operation with a FilterExpression on the and attributes, which has caused high latency and read capacity exhaustion. Which two actions should the developer take to resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A retail application publishes clickstream events to a custom Amazon EventBridge event bus. A developer needs to route a subset of these events (where the `event_type` is either `add_to_cart` or `checkout`) to an Amazon Kinesis Data Stream for real-time analytics. The event payload includes `session_id` (a UUID v4), `user_id`, and `event_type`. The Kinesis Data Stream has 12 shards. Which configuration should the developer implement to route the correct events while ensuring even data distribution across all stream shards?
An energy utility company is designing a real-time data ingestion system to monitor millions of smart meters. The telemetry data must be ingested into an Amazon Kinesis Data Stream and distributed evenly across all shards to prevent write throttling. Additionally, if the downstream consumer (running on AWS Lambda) detects consumption anomalies, it must route these anomaly events to a custom Amazon EventBridge event bus. Which two actions should the developer take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A delivery dispatch service tracks the real-time coordinates of delivery couriers. The couriers' mobile applications publish location updates to an Amazon Kinesis Data Stream. The payload contains a courier ID (a UUID), a region code (such as 'US-EAST' or 'US-WEST'), and a timestamp. An AWS Lambda function processes these updates. During high-traffic events, the producer application receives ProvisionedThroughputExceededException errors when writing to the stream, even though the total stream throughput is well below its provisioned limits. The developer discovers that some shards are heavily loaded while others are underutilized. Which configuration change should the developer make to resolve this write throttling issue?
A developer is implementing a hotel reservation tracking system that stores reservation details in an Amazon DynamoDB table. The base table uses as the partition key and (formatted as YYYY-MM-DD) as the sort key. The application frequently needs to retrieve all reservations for a specific hotel location (stored in the attribute) within a given date range. Which strategy should the developer implement to meet these requirements with the lowest latency and the most efficient Read Capacity Unit (RCU) consumption?
An online auction platform uses an Amazon Kinesis Data Stream to process real-time bidding events. The data stream has 16 shards, and an AWS Lambda function is configured to process the incoming records. Each bidding event payload includes a unique `bidder_id`, an `auction_id` (representing one of thousands of active auctions), a `category` (representing one of 8 major item categories), and a `bid_amount`. During a high-profile auction event, developers observe frequent `ProvisionedThroughputExceededException` errors, and cloud watch metrics show that only a small number of shards are receiving traffic. The current partition key is set to the `category` field. Which partition key design should the developer implement to resolve the throttling and distribute the load evenly across all shards?
A developer is maintaining a multiplayer online game that stores player state in an Amazon DynamoDB table. The table primary key consists of a partition key Region (e.g., 'US-East', 'EU-West') and a sort key PlayerID. During a peak tournament, players in the 'US-East' region experience latency and receive ProvisionedThroughputExceededException errors. CloudWatch metrics indicate that the table's overall consumed write capacity is well below the provisioned limit. Which action should the developer take to resolve this issue and prevent it from recurring?
A developer is designing an integration where transactional events from an order management system are published to an Amazon EventBridge custom event bus. The developer must route only 'OrderCompleted' events with a 'total_value' greater than $500 to an Amazon Kinesis Data Stream for real-time analysis. The Kinesis stream has multiple shards, and events belonging to the same customer must be processed in order by the same shard.
Which TWO configurations should the developer implement to meet these requirements?
Geçerli olan tümünü seçin
A multiplayer gaming application streams real-time player action events to an Amazon Kinesis Data Stream. An AWS Lambda function processes these events to update a live leaderboards database. During peak tournaments, the game server logs show ProvisionedThroughputExceededException errors when writing to the stream, and the Lambda consumer experiences frequent timeouts while processing the event batches. Which TWO actions should the developer take to resolve these issues?
Geçerli olan tümünü seçin
A developer is optimizing data access for a multiplayer mobile game. The player data is stored in an Amazon DynamoDB table with `GameID` as the partition key and `PlayerID` as the sort key. The table includes attributes for `HighScore` and `RegistrationDate`. The developer needs to implement two new requirements:
1. Retrieve the top 10 players for a specific game, sorted by `HighScore` from highest to lowest.
2. Retrieve the profiles of 50 specific players across various games using a single network request.
Which combination of actions should the developer take to meet these requirements efficiently? (Select TWO.)
Geçerli olan tümünü seçin