← All AWS Flashcard Decks

I/O Configuration & Sensors Flashcards

7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 I/O Configuration & Sensors flashcards as text
  1. A CodePipeline stage has two parallel actions, A and B. Action C in the next stage depends on output from both. How does CodePipeline handle this dependency?

    Answer: Action C automatically receives combined artifacts once both actions complete

    CodePipeline stages act as barriers — all parallel actions in a stage must succeed before the next stage starts, and all their artifacts are forwarded automatically.

  2. Which AWS service provides a managed MQTT broker endpoint that IoT devices use to publish and subscribe to sensor topics without managing broker infrastructure?

    Answer: AWS IoT Core

    AWS IoT Core provides a fully managed MQTT message broker that scales automatically, eliminating the need to provision or manage broker infrastructure.

  3. A DevOps pipeline needs to inject a database connection string from AWS Secrets Manager into a containerized application at deploy time without baking secrets into the image. Which ECS task definition feature enables this?

    Answer: secrets field referencing the Secrets Manager ARN

    The ECS task definition 'secrets' field accepts a Secrets Manager ARN and injects the secret value as an environment variable at container startup.

  4. When AWS IoT Device Shadow is used for sensor configuration, what happens when a device reconnects and its reported state differs from the desired state?

    Answer: IoT Core sends a delta document to the device indicating the difference

    AWS IoT Device Shadow publishes a delta document on the shadow/update/delta topic whenever the reported and desired states diverge, prompting the device to reconcile.

  5. In AWS CodeDeploy, which lifecycle event hook is the best place to run smoke tests that validate I/O handling before traffic is shifted to the new deployment?

    Answer: AfterAllowTestTraffic

    AfterAllowTestTraffic fires after test traffic is routed to the new deployment, making it ideal for I/O smoke tests before shifting production traffic.

  6. A team streams sensor readings into Amazon Kinesis Data Streams. What is the maximum data retention period supported?

    Answer: 365 days

    Kinesis Data Streams supports extended data retention of up to 365 days, allowing replay of historical sensor data for debugging or reprocessing.

  7. Which CloudWatch metric namespace should a DevOps engineer query to view ReadIOPS and WriteIOPS metrics for an Amazon RDS instance?

    Answer: AWS/RDS

    RDS automatically publishes metrics such as ReadIOPS, WriteIOPS, and NetworkThroughput under the AWS/RDS namespace in CloudWatch.