Knowledge Check - Programmatic Foundations

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

1.

A developer's script creates a server with a POST to /cloudapi/v6/datacenters/{dcId}/servers, then immediately issues a second call to attach a volume to that server. The volume call intermittently fails with a 404. What is the correct fix?

2.

A scheduled job that generates a fresh bearer token on every run starts failing with authentication errors after several weeks, and the Token Manager shows dozens of tokens. What is the underlying limit and the correct pattern?

3.

A developer lists resources with GET /cloudapi/v6/datacenters and processes the returned items, but later discovers some resources were never seen by the script. The collection has more than 1000 entries. What happened and how should it be handled?

4.

A developer adds an IONOS Object Storage bucket as a Terraform remote-state backend, but terraform init fails with errors about the Security Token Service and a missing account ID. Which change fixes the backend block?

5.

A developer wants to bring a server that was created earlier with a curl script under Terraform management without recreating it. Which approach is correct?