Schlussprüfung — Fachinformatiker Anwendungsentwicklung (English)

Wissens-Check zum gesamten Kurs 'Fachinformatiker Anwendungsentwicklung (English)': 54 Multiple-Choice-Fragen aus 15 Modulen — Antworten und Erklärungen di

54 Fragen 15 Module Empfohlene Bearbeitungszeit: 81 min

FI-AE 01 Berufsbild und Arbeitsweise (EN) 4 Fragen

What is the main characteristic of agile development models compared to the waterfall model?
  • A) Long planning phases before actual development
  • B) Iterative and incremental approach with short feedback loops
  • C) No consideration of changes during development
  • D) Strict separation between development and operations

Correct Answer: B. Agile methods are characterized by short development cycles and continuous adaptation to changing requirements, while the waterfall model is sequential and less flexible.

Which task is NOT typically within the responsibility of an Application Development IT Specialist?
  • A) Conception and programming of software solutions
  • B) System administration and network operations
  • C) Quality assurance of developed applications
  • D) Requirements analysis and creation of user stories

Correct Answer: B. While Application Development IT Specialists develop software, system administration is typically the task of System Integration IT Specialists or IT Administrators.

What is the main goal of DevOps in application development?
  • A) Maximum separation between development and operations
  • B) Reduction of the number of deployments per year
  • C) Unification of software development and IT operations through automation
  • D) Increasing documentation requirements in the development process

Correct Answer: C. DevOps aims to integrate development and operations through automation and continuous processes to improve collaboration and accelerate delivery.

Which element is crucial for interface management in application development?
  • A) Maximum comp

FI-AE 02 Projektmanagement-Grundlagen (EN) 4 Fragen

What is a main characteristic of the Waterfall model compared to agile methods?
  • A) Iterative development with short cycles
  • B) Linear, sequential approach with clearly defined phases
  • C) Flexible adjustment of requirements during the project
  • D) Visualization of the workflow

Correct Answer: B. The Waterfall model is characterized by its linear, sequential approach with clearly defined phases, while agile methods are iterative and flexible.

Which element is not an official artifact in the Scrum framework?
  • A) Product Backlog
  • B) Sprint Backlog
  • C) Project Plan
  • D) Product Increment

Correct Answer: C. The Project Plan is not an official Scrum artifact. Instead, Product Backlog, Sprint Backlog, and Product Increment are used as artifacts.

What is a fundamental principle of the Kanban system?
  • A) Fixed sprint lengths of 2-4 weeks
  • B) Limitation of work in progress
  • C) Obligation to daily stand-up meetings
  • D) Predefined roles like Product Owner

Correct Answer: B. Limiting work in progress (WIP) is a core principle of Kanban, while fixed sprint lengths and daily stand-ups are typical for Scrum.

What is the main difference between agile methods and the traditional project approach?
  • A) Strict adherence to initial plans
  • B) Sequential execution of phases
  • C) Emphasis on documentation and formal processes
  • D) Flexibility and adaptability to change

Correct Answer: D. The main difference is that agile methods emphasize flexibility and adaptability to change, while traditional approaches focus on strict planning and sequential execution.

FI-AE 03 Anforderungsanalyse und Lastenheft (EN) 3 Fragen

What is the main difference between a statement of work and a specification?
  • A) The statement of work is more detailed than the specification
  • B) The statement of work is created by the client, the specification by the contractor
  • C) The specification contains only non-functional requirements
  • D) The statement of work serves for internal planning, the specification for client communication

Correct Answer: B. The statement of work describes requirements from the client's perspective and is created by the client, while the specification represents the technical implementation by the contractor. Option A is incorrect because the specification is more detailed. Option C is incorrect because both also contain functional requirements. Option D is incorrect because the statement of work serves for client communication.

Which MoSCoW prioritization category describes requirements that are essential for basic functionality?
  • A) Should-have
  • B) Could-have
  • C) Won't-have
  • D) Must-have

Correct Answer: D. Must-have requirements are essential for basic functionality. Should-have requirements are important but not critical. Could-have requirements are useful but optional. Won't-have requirements will not be implemented in this version.

Which statement correctly describes a functional requirement?

FI-AE 04 UML — Klassen- und Sequenzdiagramme (EN) 4 Fragen

What is the main function of classes in UML?
  • A) Representation of data flows between systems
  • B) Encapsulation of data and functionality in object-oriented models
  • C) Modeling of temporal sequences and workflows
  • D) Visualization of database structures

Correct Answer: B. Classes encapsulate data (attributes) and functionality (methods), while data flows are represented in activity diagrams and temporal sequences in sequence diagrams.

Which relationship between classes would most likely represent a "has-a" relationship in the real world?
  • A) Inheritance
  • B) Composition
  • C) Generalization
  • D) Realization

Correct Answer: B. Composition represents a strong "has-a" relationship where the part cannot exist without the whole, while inheritance and generalization represent "is-a" relationships.

What is the main difference between sequence and activity diagrams in UML?
  • A) Sequence diagrams show static structures, activity diagrams show dynamic flows
  • B) Sequence diagrams focus on temporal sequence of messages, activity diagrams on process flows
  • C) Sequence diagrams are only used for technical systems, activity diagrams for business processes
  • D) Sequence diagrams represent object interactions, activity diagrams represent state changes

Correct Answer: B. Sequence diagrams focus on the temporal sequence of messages between objects, while activity diagrams model process flows and business workflows.

What does the multiplicity notation "1..*" in a UML class diagram indicate?
  • A) Exactly one relationship
  • B) Zero or one relationship
  • C) One or more relationships
  • D) Many relationships (more than 10)

Correct Answer: C. The notation "1..*" indicates a minimum of one and a maximum of many (unlimited) relationships, meaning "one or more".

FI-AE 05 Datenbankdesign und Normalformen (EN) 4 Fragen

What is the main purpose of normal forms in database design?
  • A) To maximize the speed of database queries
  • B) To reduce redundancies in the database and ensure data integrity
  • C) To minimize the storage requirements of a database
  • D) To reduce the complexity of SQL queries

Correct Answer: B. Normal forms reduce redundancies and ensure data integrity, not primarily speed or storage space.

Which of the following statements correctly describes a foreign key?
  • A) An attribute that uniquely identifies a record
  • B) An attribute that references the primary key of another table
  • C) An attribute that must be not null and unique
  • D) An attribute that serves to improve query speed

Correct Answer: B. A foreign key references the primary key of another table and serves to establish relationships.

What is a key characteristic of the first normal form (1NF)?
  • A) All attributes must be dependent on all other attributes
  • B) All attributes must be atomic and contain no repeating groups
  • C) All non-key attributes must be dependent on the entire primary key
  • D) There must be no transitive dependencies

Correct Answer: B. 1NF requires atomic attributes and the absence of repeating groups in tables.

When is intentional denormalization useful in database design?
  • A) When the database is fully normalized and no redundancies remain
  • B) When query performance is affected by too many JOINs
  • C) When the database has not achieved the third normal form
  • D) When the database contains no foreign keys

Correct Answer: B. Denormalization can be useful when performance suffers from too many JOINs, although it introduces redundancies.

FI-AE 07 Objektorientierte Programmierung (EN) 3 Fragen

What is the main purpose of encapsulation in object-oriented programming?
  • A) Maximum code reusability through inheritance
  • B) Hiding internal implementation details and protecting data
  • C) Facilitating communication between different objects
  • D) Reducing the number of classes in a system

Correct Answer: B. Encapsulation hides internal states and makes them accessible only through defined interfaces, while A and C rather relate to other OOP concepts and D is not the main goal.

Which SOLID principle states that a class should have only one reason to change?
  • A) Open/Closed Principle
  • B) Interface Segregation Principle
  • C) Single Responsibility Principle
  • D) Liskov Substitution Principle

Correct Answer: C. The Single Responsibility Principle states that a class should have only a single responsibility, while A relates to extensibility, B to specific interfaces, and D to substitutability of objects.

What does polymorphism mean in the context of object-oriented programming?
  • A) The ability of a class to inherit from another class
  • B) The ability of objects to change during runtime
  • C) The ability to have methods with the same name but different implementations
  • D) The ability to bundle data and methods in a class

Correct Answer: C. Polymorphism allows objects of different classes to be treated as objects of a common superclass, with methods being implemented differently depending on the specific object type.

FI-AE 08 Algorithmen und Komplexität (EN) 4 Fragen

What does Big-O notation describe in algorithm analysis?
  • A) The exact time in milliseconds that an algorithm requires
  • B) The upper bound for the growth of resource requirements in relation to input size
  • C) The minimum memory size that an algorithm requires
  • D) The average number of CPU cycles per input element

Correct Answer: B. Big-O notation describes asymptotic behavior and provides an upper bound for resource requirements, not exact values or minimal requirements.

Which sorting algorithm has a worst-case time complexity of O(n²)?
  • A) Merge Sort
  • B) Quick Sort
  • C) Insertion Sort
  • D) Heap Sort

Correct Answer: C. Insertion Sort has a worst-case complexity of O(n²), while Merge Sort and Heap Sort have O(n log n), and Quick Sort has O(n²) in the worst case but O(n log n) on average.

Which data structure enables logarithmic time complexity for search operations?
  • A) Singly linked list
  • B) Array
  • C) Binary search tree
  • D) Hash table

Correct Answer: C. A binary search tree enables search operations with O(log n) time complexity, while arrays and lists require O(n), and hash tables have O(1) on average but O(n) in the worst case.

Which algorithm has the best worst-case time complexity for sorting n elements?
  • A) Bubb

FI-AE 09 Versionsverwaltung mit Git (EN) 4 Fragen

1. Which branching model prefers short lifecycles for feature branches and frequent merges to the main branch?
  • A) Git Flow
  • B) Trunk-Based Development
  • C) Feature Branching
  • D) Release Branching

Correct Answer: B. Trunk-Based Development focuses on short lifecycles and frequent merges, while Git Flow envisions longer lifecycles with specialized branch types.

2. What is the main advantage of Rebase over Merge when integrating branches?
  • A) Rebase preserves the complete history of all commits
  • B) Rebase creates a linear history without merge commits
  • C) Rebase automatically resolves all merge conflicts
  • D) Rebase only works with local repositories

Correct Answer: B. Rebase rewrites commits and creates a linear history, while Merge preserves commits from both branches and creates merge commits.

3> In which branching model is a hotfix branch typically derived from the main branch (main/master)?
  • A) Trunk-Based Development
  • B) Git Flow
  • C) Forking Workflow
  • D) Branch-per-Feature

Correct Answer: B. Git Flow specifies that hotfixes are derived directly from the main branch, while other models do not prescribe this.

4. What is the primary purpose of Pull Requests in Git?
  • A) Automated testing of code changes
  • B) Mechanism for code review and integration
  • C) Resolving merge conflicts
  • D) Creating new branches

Correct Answer: B. Pull Requests primarily serve for code review and controlled integration of changes, while other functions require separate tools or Git commands.

FI-AE 10 Software-Architektur und Design Patterns (EN) 4 Fragen

What is a main characteristic of layered architecture?
  • A) Each layer can communicate with every other layer
  • B) The application is divided into horizontal layers with defined interfaces
  • C) There are only three layers: frontend, backend, and database
  • D) Layers can be dynamically added at runtime

Correct Answer: B. Layered architecture divides the application into horizontal layers with defined interfaces, while the other options contain false or incomplete descriptions.

What is the main difference between MVC and MVVM?
  • A) MVVM has no Controller component
  • B) MVVM introduces a ViewModel to prepare data for the View and decouple Model and View
  • C) MVC is only used for web applications, while MVVM is for desktop applications
  • D) MVVM does not support data binding

Correct Answer: B. MVVM introduces a ViewModel that prepares data for the View and decouples communication between Model and View, which is the main difference from MVC.

What is a key benefit of hexagonal architecture?
  • A) It allows for unlimited scalability
  • B) It isolates the core application from technical details through ports and adapters
  • C) It eliminates the need for testing
  • D) It reduces the amount of code needed by 50%

Correct Answer: B. Hexagonal architecture isolates the core application from technical details through ports and adapters, which enables high testability and flexibility.

When should you use the Singleton pattern?
  • A) For all objects that need to be accessible from anywhere in the application
  • B) For objects that represent global configuration or resources that must be unique
  • C) For all database connection objects
  • D) For all UI components

Correct Answer: B. The Singleton pattern should be used for objects that represent global configuration or resources that must be unique, not for all objects that need to be accessible everywhere.

FI-AE 11 Testing — Unit, Integration, E2E (EN) 2 Fragen

Which principle correctly describes the test pyramid?
  • A) The higher up in the pyramid, the more tests should be performed.
  • B) The base of the pyramid consists of many fast unit tests, while the peak contains few slow E2E tests.
  • C) All tests should be evenly distributed across all levels of the pyramid.
  • D) The test pyramid states that integration tests are more important than unit tests.

Correct Answer: B. The test pyramid models that many fast, isolated unit tests form the base, while few comprehensive E2E tests form the peak. Option A is incorrect because more tests are needed in the base. Option C ignores the different speeds and scopes of the test types. Option D is incorrect because both test types are important, but serve different purposes.

What is the main advantage of mocking in software testing?
  • A) It speeds up test execution by replacing real dependencies.
  • B) It allows testing of components that depend on external resources without actually having to call them.
  • C) It automatically increases code coverage.
  • D) It completely eliminates the need for integration tests.

Correct Answer: B. Mocking allows isolated testing of components that depend on external resources without actually having to call them. Option A is partially correct, but not the main advantage. Option C is incorrect as mocking does not automatically increase coverage. Option D is incorrect as mocking does not eliminate the need for integration tests.

FI-AE 12 Webentwicklung — HTTP, REST, OAuth (EN) 3 Fragen

Which of the following principles is not a core principle of the REST architectural style?
  • A) Stateless
  • B) Cacheable
  • C) Stateful
  • D) Uniform Interface

Correct Answer: C. Stateful is in contrast to Stateless a principle that REST deliberately avoids to increase scalability.

What is the main difference between OAuth 2.0 and OpenID Connect?
  • A) OAuth 2.0 is for authentication, OpenID Connect for authorization
  • B) OpenID Connect builds on OAuth 2.0 and adds an identity layer
  • C) OAuth 2.0 always requires JWTs, OpenID Connect does not
  • D) OpenID Connect is only suitable for mobile applications

Correct Answer: B. OpenID Connect is an extension of OAuth 2.0 specifically developed for user authentication, while OAuth 2.0 is primarily for authorization.

Which HTTP status code indicates successful acceptance and processing of a request, but with no information returned?
  • A) 200 OK
  • B) 201 Created
  • C) 204 No Content
  • D) 304 Not Modified

Correct Answer: C. The 204 No Content status code indicates that the server successfully processed the request and is not returning any content.

FI-AE 13 Frontend-Grundlagen — HTML, CSS, JavaScript (EN) 4 Fragen

Which of the following HTML tags is semantically correct for grouping navigation elements in a web document?
  • A) <div>
  • B) <nav>
  • C) <menu>
  • D) <navbar>

Correct Answer: B. The <nav> tag is specifically intended for navigation elements, while <div> is generic, <menu> is obsolete, and <navbar> is not a valid HTML tag.

Which CSS property must be set in a Flexbox container to align elements vertically?
  • A) align-items
  • B) justify-content
  • C) flex-direction
  • D) flex-wrap

Correct Answer: A. align-items controls the vertical alignment of flex items, while justify-content controls horizontal alignment, flex-direction determines the axis orientation, and flex-wrap regulates element wrapping.

What is the main purpose of DOM manipulation in JavaScript?
  • A) Establish database connections
  • B) Dynamically change the structure and content of a web page
  • C) Predefine CSS styles
  • D) Perform server-side operations

Correct Answer: B. DOM manipulation enables dynamic changes to a web page's content and structure, while the other options cover different task areas.

How is an asynchronous function with Promises properly completed when an error occurs?
  • A) .catch()
  • B) .then()
  • C) .finally()
  • D) .error()

Correct Answer: A. .catch() is used to handle errors in a Promise chain, while .then() serves for successful resolutions, .finally() always executes, and .error() is not a valid method.

FI-AE 14 Backend-Architekturen — Monolith vs. Microservices (EN) 3 Fragen

What is a key difference between monolithic and microservices architecture?
  • A) Monoliths always use SQL databases, microservices use NoSQL
  • B) In a microservices architecture, services are independently deployable and scalable
  • C) Monoliths are always slower than microservices
  • D) Microservices always require more developers than monoliths

Correct Answer: B. The independence of services is a core characteristic of microservices. A is incorrect because both architectures can use different types of databases. C is incorrect because performance depends on implementation. D is incorrect because team size is not directly dependent on architecture.

What function does an API gateway serve in a microservices architecture?
  • A) It centrally stores data for all microservices
  • B) It manages permissions for each microservice individually
  • C) It is a central entry point for client requests and forwards them
  • D) It optimizes database queries for all microservices

Correct Answer: C. The API gateway acts as a single entry point and manages requests. A is incorrect because it doesn't store data. B is incorrect because it centrally manages permissions. D is incorrect because it doesn't optimize database queries.

What is the purpose of service discovery in a microservices architecture?
  • A) It monitors system performance and alerts on issues
  • B) It enables microservices to dynamically discover addresses of other services
  • C) It provides load balancing across all services
  • D) It manages the deployment lifecycle of services

Correct Answer: B. Service discovery allows services to find each other without hardcoded addresses. A is incorrect as that's monitoring. C is incorrect as that's load balancing. D is incorrect as that's deployment management.

FI-AE 15 DevOps — CI/CD-Pipelines und Container (EN) 4 Fragen

What is the main advantage of a CI/CD pipeline in software development?
  • A) Reduction of the number of developers in the team
  • B) Automation of build, test, and deployment processes
  • C) Increase in code complexity
  • D) Reduction of documentation requirements

Correct Answer: B. CI/CD pipelines automate build, test, and deployment processes, which accelerates and stabilizes development. Option A is incorrect as the number of developers is not reduced. Option C is incorrect as code complexity is not increased. Option D is incorrect as documentation requirements are not reduced.

What is a Pod in Kubernetes?
  • A) A container orchestration system
  • B) The smallest deployable unit in Kubernetes
  • C) A storage object for persistent data
  • D) A network plugin for Kubernetes

Correct Answer: B. A Pod is the smallest deployable unit in Kubernetes, which includes one or more containers with shared network and storage. Option A is incorrect as Kubernetes is the container orchestration system. Option C is incorrect as PersistentVolume and other objects are used for persistent data. Option D is incorrect as network plugins are provided by other components.

Which command creates a Docker image from a Dockerfile?
  • A) docker create -t my-app:latest
  • B) docker run -t my-app:latest
  • C) docker build -t my-app:latest
  • D) docker deploy -t my-app:latest

Correct Answer: C. The command 'docker build -t my-app:latest' creates a Docker image from a Dockerfile. Option A is incorrect as 'docker create' creates a container, not an image. Option B is incorrect as 'docker run' starts a container, it does not create an image. Option D is incorrect as 'docker deploy' is not a valid Docker command.

What is the main task of Kubernetes?
  • A) Code versioning and management
  • B) Containerization of applications
  • C) Automation of deployment, scaling, and management of containerized applications
  • D) Creation of Docker images

Correct Answer: C. Kubernetes is an open-source system for automating the deployment, scaling, and management of containerized applications. Option A is incorrect as code versioning and management is handled by systems like Git. Option B is incorrect as containerization is handled by Docker. Option D is incorrect as Docker image creation is handled by Docker.

FI-AE 16 IT-Sicherheit, OWASP Top 10 und DSGVO (EN) 4 Fragen

What is the main difference between authentication and authorization?
  • A) Authentication checks permissions, authorization verifies identity
  • B) Authentication verifies identity, authorization sets permissions
  • C) Authentication always occurs before authorization
  • D) Authorization is only relevant for administrators

Correct Answer: B. Authentication determines who the user is, while authorization determines what the user is allowed to do. Option A confuses the terms. Option C is often the case but not a defining difference. Option D is incorrect as authorization is relevant for all user roles.

Which of the following examples most violates the principle of data minimization?
  • A) Storing email addresses for customer communication
  • B) Collecting birth data only for age-restricted content
  • C) Collecting browsing history for personalized advertising
  • D) Logging login attempts for security

Correct Answer: C. Browsing history is not required for personalized advertising and exceeds the processing purpose. Options A and B are appropriate for the stated purpose. Option D serves the security purpose and is therefore justified.

Which measure is most effective for preventing SQL injection attacks?
  • A) Regular password changes for database users
  • B) Using prepared statements
  • C) Restricting database user permissions
  • D) Implementing a Web Application Firewall

Correct Answer: B. Prepared statements separate SQL code from data, effectively preventing SQL injection. Option A protects against password theft, not injection. Option C reduces risk but does not completely prevent it. Option D can block attacks but is not direct prevention in code.

Which of the following attacks is classified as "Broken Access Control" in the OWASP Top 10 2021?
  • A) Cross-Site Scripting (XSS)
  • B) SQL Injection
  • C) Broken Authentication
  • D) Insecure Direct Object References

Correct Answer: D. Insecure Direct Object References is a form of broken access control where attackers can manipulate references to objects to access unauthorized data. Option A is a separate category. Option B is injection-based. Option C is authentication-related.