Knowledge Check - Application Service Integration

Test your understanding of the key concepts from Module 4. Select the best answer for each question, then submit to see your results. You need to score at least 60% to pass.

1.

TaskBoard's API reads tasks from DBaaS for PostgreSQL. Read load grows, and a developer proposes this change:

write_engine = create_engine(primary_url)
read_engine = create_engine(standby_url)   # point reads at a standby instance

What is the correct way to scale TaskBoard's reads?

2.

A developer writes this boto3 client for TaskBoard's attachments. The code fails before it reaches the bucket.

s3 = boto3.client(
    "s3",
    aws_session_token=os.environ["IONOS_TOKEN"],   # Cloud API bearer token
    region_name="eu-central-3",
)

Which change makes the client work with IONOS Cloud Object Storage?

3.

TaskBoard's worker consumes task-events with enable.auto.commit set to False. Which handling of a message gives at-least-once delivery without letting a poison message block its partition?

4.

TaskBoard's task-events topic has 6 partitions. During a backlog, a developer scales the notifier Deployment, which uses one group.id, from 6 to 12 replicas. What happens?

5.

A bulk import calls AI Model Hub for 2,000 task summaries in parallel. Most requests fail with 429 and the error code RATE_LIMIT_EXCEEDED. Which fix matches how AI Model Hub limits requests?