Knowledge Check - Infrastructure as Code

Test your understanding of the key concepts from Module 2. 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 runs an ionoscloud_autoscaling_group under sustained load and raises the cores and ram values in the replica configuration, expecting the existing replicas to grow. The running replicas stay the same size. Which statement best explains this behavior?

2.

TaskBoard's application servers sit in a private LAN with no public IP allocated. They need to reach the internet to install package updates and call external APIs, but must not be reachable from the internet. Which Terraform resource provides this outbound-only connectivity?

3.

A developer provisions a Managed Kubernetes node pool and an ionoscloud_application_loadbalancer, then writes ionoscloud_firewall (NSG) rules and expects them to protect both the worker nodes and the ALB. The rules appear to take effect on standalone server NICs but not on the MKS nodes or the ALB. Why?

4.

TaskBoard's API server reads from an ionoscloud_s3_bucket for file attachments. The developer configures the application's S3 client with the IONOS API bearer token used for the rest of their Terraform automation, but every request returns an authentication error. What is the correct fix?

5.

A developer provisions an ionoscloud_kafka_cluster and outputs the bootstrap servers and client certificate from Terraform so the application can connect. Which two practices correctly handle this output for a production setup?