Cisco 200-901 Practice Test 47
Question 460
For an original CCNA Automation educational scenario, consider: A container service listens on port 8080 but the image EXPOSE directive is mistaken for host-level port publication and the app is unreachable. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Change: Write pytest or unittest assertions for expected return values and exceptions and substitute mocked HTTP responses for external dependencies.
- Change: Inspect and organize FROM RUN COPY WORKDIR USER EXPOSE and CMD or ENTRYPOINT based on reproducible build and runtime requirements.
- Assume EXPOSE 8080 automatically opens the host firewall and forwards all external traffic to the container.
- Check: Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request.
- Check: Build the image, inspect metadata and run it with explicit mapping and a nonroot user in a local lab.
Explanation
Correct Answer
B:Dockerfile instructions define image layers and startup metadata; EXPOSE documents an intended port but does not itself publish a host port. Acceptance: A deterministic image starts with the intended process and port mapping while layer caching and privilege settings behave as documented.
E:Dockerfile instructions define image layers and startup metadata; EXPOSE documents an intended port but does not itself publish a host port. Required intervention: Inspect and organize FROM RUN COPY WORKDIR USER EXPOSE and CMD or ENTRYPOINT based on reproducible build and runtime requirements.
Incorrect Answers
A:Change: Write pytest or unittest assertions for expected return values and exceptions and substitute mocked HTTP responses for external dependencies. Dockerfile instructions define image layers and startup metadata; EXPOSE documents an intended port but does not itself publish a host port.
C:Dockerfile instructions define image layers and startup metadata; EXPOSE documents an intended port but does not itself publish a host port.
D:Check: Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request. Dockerfile instructions define image layers and startup metadata; EXPOSE documents an intended port but does not itself publish a host port.
Question 461
A network automation engineer is examining this network automation situation: A developer runs docker run using an unpinned latest tag and tests a different image version than the one eventually deployed. A proposed shortcut is: Deploy image latest everywhere and assume its content cannot change between test and production. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Choose explicit private, public or hybrid placement per data classification, connectivity and service requirements and document the trust boundary.
- Write pytest or unittest assertions for expected return values and exceptions and substitute mocked HTTP responses for external dependencies.
- Deploy image latest everywhere and assume its content cannot change between test and production.
- Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Explanation
Correct Answer
D:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. This targeted change addresses the stated automation or network-control gap without discarding necessary controls.
Incorrect Answers
A:Choose explicit private, public or hybrid placement per data classification, connectivity and service requirements and document the trust boundary. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
B:Write pytest or unittest assertions for expected return values and exceptions and substitute mocked HTTP responses for external dependencies. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Question 462
A Cisco network automation implementation review finds: A developer runs docker run using an unpinned latest tag and tests a different image version than the one eventually deployed. The team proposes: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
- SQL injection arises when data is interpreted as SQL code; parameter binding preserves the boundary between values and executable statements.
- VMs virtualize independent guest operating systems, containers isolate processes while sharing a host kernel, and bare metal runs directly on hardware.
- Encryption in transit protects sessions when certificate trust is validated, while secret minimization and rotation limit credential exposure at rest and in logs.
Explanation
Correct Answer
A:Demonstrable success requires: Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes. This principle explains the proposed technical approach, which is: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Incorrect Answers
B:SQL injection arises when data is interpreted as SQL code; parameter binding preserves the boundary between values and executable statements. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:VMs virtualize independent guest operating systems, containers isolate processes while sharing a host kernel, and bare metal runs directly on hardware. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:Encryption in transit protects sessions when certificate trust is validated, while secret minimization and rotation limit credential exposure at rest and in logs. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Question 463
The network automation team has not yet approved changes. Current evidence indicates: A developer runs docker run using an unpinned latest tag and tests a different image version than the one eventually deployed. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request.
- Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build.
- Compare kernel and device access needs, image or boot size, tenant isolation and restart performance using representative workloads.
- Trace sensitive data flow, hosting ownership, identity trust, transit encryption and failover behavior across the proposed environments.
Explanation
Correct Answer
B:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. If confirmed, the proportionate intervention is: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Incorrect Answers
A:Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:Compare kernel and device access needs, image or boot size, tenant isolation and restart performance using representative workloads. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:Trace sensitive data flow, hosting ownership, identity trust, transit encryption and failover behavior across the proposed environments. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Question 464
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A developer runs docker run using an unpinned latest tag and tests a different image version than the one eventually deployed. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- The promoted release is traceable to a tested artifact and failed checks stop unsafe deployment.
- A regression causes a clear failing assertion and the test suite remains deterministic while offline.
- Displayed inventory cannot execute arbitrary script and cross-site unauthorized submissions do not change settings.
- Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
Explanation
Correct Answer
D:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. The approved implementation step was: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Incorrect Answers
A:The promoted release is traceable to a tested artifact and failed checks stop unsafe deployment. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
B:A regression causes a clear failing assertion and the test suite remains deterministic while offline. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:Displayed inventory cannot execute arbitrary script and cross-site unauthorized submissions do not change settings. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Question 465
An implementation sign-off request identifies the following problem: A developer runs docker run using an unpinned latest tag and tests a different image version than the one eventually deployed. Which paired technical change and validation should close the implementation review? Select ONE best answer.
- Change: Identify where name resolution, packet filtering, request proxying and backend load distribution each apply and configure the correct layer. Verify: Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request.
- Change: Use parameterized SQL statements, constrained database privileges and suitable validation rather than interpolating untrusted text into query syntax. Verify: Test harmless quote-containing inputs and synthetic injection probes against a staging database while inspecting resulting parameter binding and privilege scope.
- Change: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances. Verify: Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build.
- Change: Inspect and organize FROM RUN COPY WORKDIR USER EXPOSE and CMD or ENTRYPOINT based on reproducible build and runtime requirements. Verify: Build the image, inspect metadata and run it with explicit mapping and a nonroot user in a local lab.
Explanation
Correct Answer
C:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. The change is successful only when: Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
Incorrect Answers
A:Change: Identify where name resolution, packet filtering, request proxying and backend load distribution each apply and configure the correct layer. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
B:Change: Use parameterized SQL statements, constrained database privileges and suitable validation rather than interpolating untrusted text into query syntax. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:This option addresses a different network automation topic (Dockerfile layers and execution model) rather than the documented Docker image tags and local lifecycle decision.
Question 466
A network automation engineer is examining this network automation situation: A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies. A proposed shortcut is: Deploy image latest everywhere and assume its content cannot change between test and production. What should the network automation engineer recommend as the narrowly scoped correction? Select ONE best answer.
- Choose explicit private, public or hybrid placement per data classification, connectivity and service requirements and document the trust boundary.
- Store secrets in an appropriate credential manager, scope and rotate tokens, and enforce authenticated TLS for API transport with safe logging.
- Deploy image latest everywhere and assume its content cannot change between test and production.
- Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Explanation
Correct Answer
D:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Incorrect Answers
A:Choose explicit private, public or hybrid placement per data classification, connectivity and service requirements and document the trust boundary. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
B:Store secrets in an appropriate credential manager, scope and rotate tokens, and enforce authenticated TLS for API transport with safe logging. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. Use this instead: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Question 467
A Cisco network automation implementation review finds: A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies. The team proposes: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances. Which engineering principle most strongly supports the recommended response? Select ONE best answer.
- A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
- Shell expansion and working-directory context affect commands, while DevOps practices favor collaborative automation, observability and small reversible changes.
- Edge computing reduces round trips and can support local autonomy, but introduces distributed lifecycle and data consistency responsibilities.
- Encryption in transit protects sessions when certificate trust is validated, while secret minimization and rotation limit credential exposure at rest and in logs.
Explanation
Correct Answer
A:Demonstrable success requires: Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
Incorrect Answers
B:This option addresses a different network automation topic (Bash shell operations and DevOps collaboration) rather than the documented Docker image tags and local lifecycle decision.
C:Edge computing reduces round trips and can support local autonomy, but introduces distributed lifecycle and data consistency responsibilities. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:Encryption in transit protects sessions when certificate trust is validated, while secret minimization and rotation limit credential exposure at rest and in logs. A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies.
Question 468
The network automation team has not yet approved changes. Current evidence indicates: A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies. Which evidence best tests the technical diagnosis before approving a disruptive change? Select ONE best answer.
- Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request.
- Run cases for permitted VLAN, invalid VLAN, malformed API body and timeout without any production network requests.
- Measure local versus remote latency, offline behavior, bandwidth usage and eventual synchronization under a controlled WAN outage.
- Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build.
Explanation
Correct Answer
D:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. Confirm afterward that: Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
Incorrect Answers
A:Trace DNS answer, TCP connection, firewall rule hit, proxy forwarding and backend health for a representative request. A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies.
B:Run cases for permitted VLAN, invalid VLAN, malformed API body and timeout without any production network requests. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:Measure local versus remote latency, offline behavior, bandwidth usage and eventual synchronization under a controlled WAN outage. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
Question 469
A candidate correction has been tested and the platform team requires a post-change acceptance check. Original problem: A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies. The service owner needs positive and negative results and evidence that legitimate data workflows still function. Which acceptance result demonstrates correct network automation behavior without disrupting authorized workflows? Select ONE best answer.
- The application treats supplied text as data and cannot modify SQL structure or access unrelated tables through the input field.
- Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
- Data resides in approved zones while authorized components communicate through governed paths and documented operational dependencies.
- Displayed inventory cannot execute arbitrary script and cross-site unauthorized submissions do not change settings.
Explanation
Correct Answer
B:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. The result must be validated using the documented device, service or access context.
Incorrect Answers
A:The application treats supplied text as data and cannot modify SQL structure or access unrelated tables through the input field. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
C:Data resides in approved zones while authorized components communicate through governed paths and documented operational dependencies. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:Displayed inventory cannot execute arbitrary script and cross-site unauthorized submissions do not change settings. A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies.
Question 470
For an original CCNA Automation educational scenario, consider: A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies. Select TWO complementary steps: the targeted correction and its strongest prechange validation.
- Deploy image latest everywhere and assume its content cannot change between test and production.
- Change: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
- Check: Compare image digest, running container ID, mapped ports, logs and teardown behavior under an isolated local build.
- Change: Identify where name resolution, packet filtering, request proxying and backend load distribution each apply and configure the correct layer.
- Check: Test harmless quote-containing inputs and synthetic injection probes against a staging database while inspecting resulting parameter binding and privilege scope.
Explanation
Correct Answer
B:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. Acceptance: Tests rerun against the expected image and resources are cleaned without deleting unrelated containers or volumes.
C:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content. Required intervention: Use explicit image tags or digests with docker build pull run ps logs and cleanup commands while separating image identity from container instances.
Incorrect Answers
A:A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.
D:Change: Identify where name resolution, packet filtering, request proxying and backend load distribution each apply and configure the correct layer. A failed local test leaves stale containers sharing the same name and the engineer deletes the image without inspecting running dependencies.
E:Check: Test harmless quote-containing inputs and synthetic injection probes against a staging database while inspecting resulting parameter binding and privilege scope. A Docker image is a reusable immutable template and each container is an execution instance; tags can change while digests identify exact content.