Courseiva
Knowledge + Practice
CertificationsVendorsCareer RoadmapsLabs & ToolsStudy GuidesGlossaryPractice Questions
C
Courseiva

Free IT certification practice questions with explained answers for CCNA, CompTIA, AWS, Azure, Google Cloud, and more.

Certification Practice Questions

CCNA practice questionsSecurity+ SY0-701 practice questionsAWS SAA-C03 practice questionsAZ-104 practice questionsAZ-900 practice questionsCLF-C02 practice questionsA+ Core 1 practice questionsGoogle Cloud ACE practice questionsCySA+ CS0-003 practice questionsNetwork+ N10-009 practice questions
View all certifications →

Product

CertificationsCertification PathsExam TopicsPractice TestsExam Dumps vs Practice TestsStudy HubComparisons

Free Resources

Difficulty IndexLearn — Free ChaptersIT GlossaryFree Tools & LabsStudy GuidesCareer RoadmapsBrowse by VendorCisco Command ReferenceCCNA Scenarios

Company

AboutContactEditorial PolicyQuestion Writing PolicyTrust Center

Legal

Privacy PolicyTerms of Service

Courseiva is a free IT certification practice platform offering original exam-style practice questions, detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics for Cisco, CompTIA, Microsoft, AWS, and other technology certifications.

© 2026 Courseiva. Courseiva is operated by JTNetSolutions Ltd. All rights reserved.

Courseiva is an independent certification practice platform and is not affiliated with, endorsed by, or sponsored by Cisco, Microsoft, AWS, CompTIA, Google, ISC2, ISACA, or any other certification vendor. Vendor names and certification marks are used only to identify the exams learners are preparing for.

← Software Development and Design practice sets

200-901 Software Development and Design • Complete Question Bank

200-901 Software Development and Design — All Questions With Answers

Complete 200-901 Software Development and Design question bank — all 0 questions with answers and detailed explanations.

74
Questions
Free
No signup
Certifications/200-901/Practice Test/Software Development and Design/All Questions
Question 1easymultiple choice
Study the full Python automation breakdown →

A developer writes a Python script to read a configuration file. Which code snippet correctly opens the file 'config.json' for reading and ensures the file is closed after use?

Question 2mediummultiple choice
Read the full Software Development and Design explanation →

A network automation script uses the requests library to retrieve device information from a REST API. The API requires authentication via a bearer token. Which code example correctly sets the Authorization header?

Question 3hardmultiple choice
Read the full Software Development and Design explanation →

A developer is using Git for version control. After creating a new feature branch 'feature-login' from 'main', they make several commits. Meanwhile, another developer has merged changes into 'main'. The developer wants to incorporate the latest main changes into 'feature-login' without creating a merge commit. Which Git command should they use?

Question 4mediummultiple choice
Read the full Software Development and Design explanation →

Which HTTP status code indicates that a POST request successfully created a new resource?

Question 5easymultiple choice
Study the full Python automation breakdown →

In Python, which data type is used to represent an unordered collection of unique elements?

Question 6mediummultiple choice
Study the full Python automation breakdown →

A Python function needs to accept a variable number of keyword arguments. Which parameter syntax should be used?

Question 7hardmultiple choice
Read the full Software Development and Design explanation →

In a microservices architecture, which of the following is a key characteristic compared to a monolithic architecture?

Question 8mediummultiple choice
Study the full Python automation breakdown →

Which Python list comprehension correctly creates a list of squares for even numbers from 0 to 10?

Question 9mediummultiple choice
Study the full Python automation breakdown →

A developer needs to parse a JSON string received from a REST API into a Python dictionary. Which function should they use?

Question 10hardmultiple choice
Read the full Software Development and Design explanation →

In the MVC (Model-View-Controller) pattern, which component is responsible for handling user input and updating the model?

Question 11easymultiple choice
Read the full Software Development and Design explanation →

What does the Git command 'git log --oneline' display?

Question 12mediummultiple choice
Study the full Python automation breakdown →

A Python script sends a PUT request to update a resource. The API returns a response with status code 204. What does this indicate?

Question 13mediummulti select
Read the full Software Development and Design explanation →

Which TWO of the following are valid branching strategies in Git? (Choose two.)

Question 14hardmulti select
Read the full Software Development and Design explanation →

Which THREE of the following are benefits of using event-driven architecture in a distributed system? (Choose three.)

Question 15mediummulti select
Study the full Python automation breakdown →

Which TWO of the following Python exception handling statements are valid? (Choose two.)

Question 16easymultiple choice
Study the full Python automation breakdown →

A developer is writing a Python script to iterate over a list of server hostnames. Which loop structure is most appropriate to process each hostname in the list?

Question 17easymultiple choice
Study the full Python automation breakdown →

A Python script uses a dictionary to store device configuration parameters. Which key, if any, will raise a KeyError if it does not exist in the dictionary?

Question 18easymultiple choice
Study the full Python automation breakdown →

When using the requests library in Python to send a POST request, which parameter should be used to send a JSON payload in the request body?

Question 19mediummultiple choice
Read the full DNS explanation →

A network engineer writes a Python script to handle exceptions when making REST API calls. Which exception type should be caught to handle network connectivity issues (e.g., DNS failure, refused connection)?

Question 20mediummultiple choice
Study the full Python automation breakdown →

Given the following Python code snippet:

with open('config.json', 'r') as f:

data = json.load(f)

print(data['interfaces'][0]['name'])

What is the expected output if config.json contains {"interfaces": [{"name": "GigabitEthernet0/1"}]}?

Question 21mediummultiple choice
Study the full Python automation breakdown →

A developer needs to create a Python function that accepts any number of keyword arguments and prints them. Which function definition correctly uses **kwargs?

Question 22mediummultiple choice
Read the full Software Development and Design explanation →

Which Git command is used to switch to an existing branch named 'feature-x' and update the working directory?

Question 23mediummultiple choice
Read the full Software Development and Design explanation →

Which HTTP status code indicates that a POST request successfully created a new resource on the server?

Question 24mediummultiple choice
Read the full Software Development and Design explanation →

In software architecture, which pattern separates an application into three interconnected components: Model (data), View (UI), and Controller (input logic)?

Question 25hardmultiple choice
Study the full Python automation breakdown →

Given the Python list comprehension: result = [x*2 for x in range(10) if x > 5] What is the value of result?

Question 26hardmultiple choice
Study the full Python automation breakdown →

A Python script uses a try/except block to handle API errors. If the API returns a 429 status code, which mechanism should the script implement to handle the error appropriately?

Question 27hardmultiple choice
Read the full Software Development and Design explanation →

In a microservices architecture, which of the following is a primary advantage over a monolithic architecture?

Question 28easymulti select
Study the full Python automation breakdown →

Which TWO of the following are valid Python data types?

Question 29mediummulti select
Read the full Software Development and Design explanation →

Which TWO HTTP status codes indicate client errors?

Question 30hardmulti select
Read the full Software Development and Design explanation →

Which THREE statements about RESTful APIs are true?

Question 31easymultiple choice
Study the full Python automation breakdown →

A Python script uses the 'requests' library to make a POST request to create a new resource. Which HTTP status code indicates successful creation?

Question 32mediummultiple choice
Study the full Python automation breakdown →

A developer needs to read a JSON configuration file and parse it into a Python dictionary. The file contains nested objects. Which code snippet correctly accomplishes this?

Question 33hardmultiple choice
Study the full Python automation breakdown →

An automation engineer is writing a Python script to interact with a REST API that requires authentication. The API returns a 403 Forbidden status. Which scenario best explains this response?

Question 34mediummultiple choice
Study the full Python automation breakdown →

A developer is implementing a Python function that makes an HTTP GET request to an API and returns the response time. Which code snippet correctly measures the elapsed time?

Question 35easymultiple choice
Study the full Python automation breakdown →

Which data structure in Python would be most appropriate for storing a collection of unique items and performing fast membership tests?

Question 36mediummultiple choice
Read the full Software Development and Design explanation →

A developer needs to update an existing resource via a REST API. The update should be partial, meaning only the fields provided in the request body should be changed. Which HTTP method should be used?

Question 37hardmultiple choice
Study the full Python automation breakdown →

A developer is writing a Python script that processes a large CSV file. The script uses 'with open(file, 'r') as f' to read the file. Why is this approach preferred over calling f = open(file) and then f.close()?

Question 38mediummultiple choice
Read the full Software Development and Design explanation →

Which Git command is used to create a new branch and switch to it in one step?

Question 39easymultiple choice
Study the full Python automation breakdown →

In Python, which of the following is a valid way to define a function that accepts a variable number of positional arguments?

Question 40mediummultiple choice
Read the full Software Development and Design explanation →

A developer is designing a microservices architecture for a network monitoring application. Which of the following is a key advantage of microservices over a monolithic architecture?

Question 41hardmultiple choice
Study the full Python automation breakdown →

A Python script uses a list comprehension: [x**2 for x in range(20) if x % 2 == 0]. Which of the following is equivalent?

Question 42mediummultiple choice
Read the full Software Development and Design explanation →

In the context of REST API design, which HTTP status code should be returned when a client sends a request that exceeds the API rate limit?

Question 43mediummulti select
Read the full Software Development and Design explanation →

A DevOps engineer is managing a Git repository and wants to discard local changes to a file and revert it to the last committed state. Which TWO commands can accomplish this? (Choose two.)

Question 44hardmulti select
Study the full Python automation breakdown →

A developer is implementing exception handling in Python for a function that makes an HTTP request. Which THREE exception types should be caught to handle common network and HTTP errors? (Choose three.)

Question 45mediummulti select
Read the full Software Development and Design explanation →

Which TWO of the following are valid branching strategies in Git? (Choose two.)

Question 46easymultiple choice
Study the full Python automation breakdown →

Which Python data type is mutable and unordered?

Question 47easymultiple choice
Read the full Software Development and Design explanation →

What is the output of the following code?

my_list = [1, 2, 3]

for i in range(len(my_list)):

my_list[i] += 1

print(my_list)
Question 48easymultiple choice
Read the full Software Development and Design explanation →

Which HTTP status code indicates a successful POST request that created a resource?

Question 49mediummultiple choice
Study the full Python automation breakdown →

A developer is building a REST API client in Python using the requests library. They need to send a JSON payload with authentication. Which code snippet correctly sends a POST request with a JSON body and a Bearer token?

Question 50mediummultiple choice
Study the full Python automation breakdown →

A Python function is defined as:

def process(*args, **kwargs):
    return sum(args) + kwargs.get('offset', 0)

What is the result of process(1, 2, 3, offset=10)?

Question 51mediummultiple choice
Read the full Software Development and Design explanation →

In version control with Git, which command creates a new branch and switches to it in one step?

Question 52mediummultiple choice
Study the full Python automation breakdown →

Given the JSON string: '{"name": "Alice", "scores": [90, 85, 92]}', which Python code correctly extracts the second score (85)?

Question 53mediummultiple choice
Read the full Software Development and Design explanation →

In a microservices architecture, which communication pattern is typically asynchronous and decoupled?

Question 54mediummultiple choice
Read the full Software Development and Design explanation →

Which Git branching strategy typically involves a long-lived 'develop' branch where feature branches are merged, and releases are created from a 'release' branch?

Question 55hardmultiple choice
Read the full Software Development and Design explanation →

A developer uses the requests library to call an API. The API returns 429 Too Many Requests. What is the best practice to handle this?

Question 56hardmultiple choice
Study the full Python automation breakdown →

Which Python exception would be raised by the following code?

my_dict = {'a': 1} value = my_dict['b']

Question 57hardmultiple choice
Read the full Software Development and Design explanation →

In a RESTful API, which HTTP method is idempotent but not safe?

Question 58mediummulti select
Read the full Software Development and Design explanation →

Which TWO statements about the MVC pattern are correct? (Choose two.)

Question 59hardmulti select
Read the full Software Development and Design explanation →

Which THREE of the following are characteristics of GraphQL compared to REST? (Choose three.)

Question 60hardmulti select
Read the full Software Development and Design explanation →

Which THREE of the following are best practices when using Git for a collaborative project? (Choose three.)

Question 61easymultiple choice
Study the full Python automation breakdown →

A developer wants to process a list of server hostnames and create a new list containing only hostnames that start with 'web'. Which Python list comprehension correctly accomplishes this?

Question 62mediummultiple choice
Study the full Python automation breakdown →

A Python script sends a POST request to create a new network device resource. The API returns HTTP status code 201 and a JSON response with the device ID. How should the script correctly extract the device ID from the response?

Question 63hardmultiple choice
Read the full Software Development and Design explanation →

A developer is designing a microservices-based network management system. One requirement is that when a new device is discovered, multiple other services must be notified asynchronously to perform tasks like inventory update, monitoring setup, and log collection. Which architectural pattern best fits this requirement?

Question 64mediummultiple choice
Study the full Python automation breakdown →

A Python script reads a JSON configuration file named 'config.json' and needs to extract the value of a nested key 'api_key' under 'authentication'. The file structure is: {"authentication": {"api_key": "abc123", "method": "token"}, "timeout": 30}. Which code snippet correctly opens the file and retrieves the api_key value?

Question 65easymultiple choice
Study the full Python automation breakdown →

A developer is working on a Python script that performs CRUD operations on devices via a REST API. Which HTTP method should be used to update an existing device's configuration partially?

Question 66mediummultiple choice
Study the full Python automation breakdown →

A Python function is designed to fetch device data from multiple sources. It uses *args to accept variable number of API endpoints and **kwargs for optional parameters like timeout. Which function definition correctly implements this?

Question 67hardmultiple choice
Read the full Software Development and Design explanation →

A developer is using Git for a project with a feature branch strategy. They have completed work on a new feature in the branch 'feature-logging' and want to integrate it into the main development branch 'develop'. The team requires that all commits on the feature branch be squashed into a single commit before merging. Which sequence of Git commands achieves this?

Question 68mediummulti select
Study the full Python automation breakdown →

A Python script is interacting with a REST API that returns JSON. The script needs to handle potential errors gracefully. Which TWO practices should be implemented? (Choose two.)

Question 69hardmulti select
Read the full Software Development and Design explanation →

A network automation script uses Git for version control. The developer wants to revert the last two commits on the current branch but keep the changes in the working directory for further modification. Which TWO Git commands can achieve this? (Choose two.)

Question 70easymulti select
Study the full Python automation breakdown →

A Python function needs to handle both expected and unexpected errors during file I/O. Which THREE constructs are essential for robust exception handling? (Choose three.)

Question 71mediummulti select
Study the full Python automation breakdown →

A developer is designing a Python script that needs to make multiple REST API calls to different endpoints sequentially. The script must handle the following requirements: (1) Use a variable timeout for each request, (2) Include an authorization token in every request, (3) Parse JSON responses. Which TWO features of the requests library should be used? (Choose two.)

Question 72hardmulti select
Study the full Python automation breakdown →

A Python developer is working on a microservices project where one service needs to communicate with another service that exposes a GraphQL API. Which THREE statements about GraphQL compared to REST are accurate? (Choose three.)

Question 73mediummulti select
Study the full Python automation breakdown →

A Python script needs to iterate over a dictionary of network interfaces and print each interface name and its IP address. The dictionary is structured as: {'GigabitEthernet1/0/1': '10.1.1.1', 'GigabitEthernet1/0/2': None}. Which THREE code snippets correctly iterate and print the key-value pairs, skipping entries with None? (Choose three.)

Question 74easymulti select
Study the full Python automation breakdown →

A developer needs to create a Python script that makes a GET request to a REST API to retrieve a list of network devices. The API uses query parameters to filter by device type and status. Which TWO code snippets correctly include query parameters using the requests library? (Choose two.)

Practice tests

Scored 10-question sessions with instant feedback and explanations.

200-901 Practice Test 1 — 25 Questions→200-901 Practice Test 2 — 25 Questions→200-901 Practice Test 3 — 25 Questions→200-901 Practice Test 4 — 25 Questions→200-901 Practice Test 5 — 25 Questions→200-901 Practice Exam 1 — 20 Questions→200-901 Practice Exam 2 — 20 Questions→200-901 Practice Exam 3 — 20 Questions→200-901 Practice Exam 4 — 20 Questions→Free 200-901 Practice Test 1 — 30 Questions→Free 200-901 Practice Test 2 — 30 Questions→Free 200-901 Practice Test 3 — 30 Questions→200-901 Practice Questions 1 — 50 Questions→200-901 Practice Questions 2 — 50 Questions→200-901 Exam Simulation 1 — 100 Questions→

Practice by domain

Each domain maps to a weighted exam section. Focus on the domain where you are weakest.

Software Development and DesignUnderstanding and Using APIsApplication Deployment and SecurityCisco Platforms and DevelopmentNetwork FundamentalsInfrastructure and Automation

Practice by scenario

Filter questions by type — troubleshooting, exhibit, drag-and-drop, PBQ, ACLs, OSPF, and more.

Browse scenarios→

Continue studying

All Software Development and Design setsAll Software Development and Design questions200-901 Practice Hub