PrepIQ Associate Software Developer Certification Ultimate Exam, Exams of Technology

This Red Hat certification assesses the ability to install, configure, and manage Red Hat JBoss Enterprise Application Platform (EAP). Topics include server provisioning, JDBC resource configuration, clustering, security domains, and deploying enterprise Java applications. Its ideal for system administrators or DevOps professionals working with enterprise middleware.

Typology: Exams

2025/2026

Available from 03/30/2026

shilpi-jain-3
shilpi-jain-3 🇮🇳

2.5

(11)

80K documents

1 / 79

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PrepIQ Associate Software Developer
Certification Ultimate Exam
**Question 1.** Which OOP principle ensures that an object's internal state cannot
be directly accessed from outside the class?
A) Inheritance
B) Polymorphism
C) Encapsulation
D) Abstraction
**Answer:** C
**Explanation:** Encapsulation hides an object's data by restricting direct access
and exposing it through methods.
**Question 2.** In the SOLID acronym, the “L” stands for:
A) Liskov Substitution Principle
B) Law of Demeter
C) Lazy Initialization
D) Layered Architecture
**Answer:** A
**Explanation:** The Liskov Substitution Principle requires that objects of a
superclass can be replaced with objects of a subclass without affecting correctness.
**Question 3.** Which design pattern ensures a class has only one instance and
provides a global access point?
A) Factory
B) Singleton
C) Observer
D) Decorator
**Answer:** B
**Explanation:** The Singleton pattern restricts instantiation to a single object and
supplies a global reference.
**Question 4.** In a Factory pattern, the client code depends on:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f

Partial preview of the text

Download PrepIQ Associate Software Developer Certification Ultimate Exam and more Exams Technology in PDF only on Docsity!

Certification Ultimate Exam

Question 1. Which OOP principle ensures that an object's internal state cannot be directly accessed from outside the class? A) Inheritance B) Polymorphism C) Encapsulation D) Abstraction Answer: C Explanation: Encapsulation hides an object's data by restricting direct access and exposing it through methods. Question 2. In the SOLID acronym, the “L” stands for: A) Liskov Substitution Principle B) Law of Demeter C) Lazy Initialization D) Layered Architecture Answer: A Explanation: The Liskov Substitution Principle requires that objects of a superclass can be replaced with objects of a subclass without affecting correctness. Question 3. Which design pattern ensures a class has only one instance and provides a global access point? A) Factory B) Singleton C) Observer D) Decorator Answer: B Explanation: The Singleton pattern restricts instantiation to a single object and supplies a global reference. Question 4. In a Factory pattern, the client code depends on:

Certification Ultimate Exam

A) Concrete product classes directly B) An abstract creator that produces objects C) Static methods only D) Global variables Answer: B Explanation: The Factory encapsulates object creation, returning abstract product types so the client remains decoupled from concrete implementations. Question 5. Which of the following best describes the Observer pattern? A) One object creates many objects B) Objects can change their behavior at runtime C) Multiple objects are notified when a subject’s state changes D) Objects are wrapped to add responsibilities Answer: C Explanation: The Observer pattern defines a one-to-many dependency so that when the subject changes, all observers are automatically updated. Question 6. The Decorator pattern is primarily used to: A) Enforce a single instance B) Add responsibilities to objects dynamically C) Create families of related objects D) Separate concerns in UI rendering Answer: B Explanation: Decorators wrap an object, adding new behavior without altering the original object's structure. Question 7. What is the worst-case time complexity of searching an element in a balanced binary search tree? A) O(1) B) O(log n)

Certification Ultimate Exam

Answer: B Explanation: O(1) indicates the algorithm’s running time does not depend on the size of the input. Question 11. Which UML diagram is best suited to illustrate object interactions over time? A) Class Diagram B) Use Case Diagram C) Sequence Diagram D) Activity Diagram Answer: C Explanation: Sequence diagrams model the order of messages exchanged between objects. Question 12. In a Use Case diagram, an actor represents: A) A class in the system B) A system component C) An external entity interacting with the system D) A database table Answer: C Explanation: Actors are users or external systems that have a role in a use case. Question 13. Which Git branching strategy emphasizes a long-living “main” branch with short-lived feature branches merged via pull requests? A) GitFlow B) Trunk-Based Development C) Feature Branching D) Fork-Based Development Answer: B Explanation: Trunk-Based Development keeps a single main line (trunk) and integrates small, frequent feature branches.

Certification Ultimate Exam

Question 14. What does the Git command git rebase primarily accomplish? A) Merges two branches creating a merge commit B) Moves a branch’s base to a new commit, rewriting history C) Deletes a branch permanently D) Stages changes for commit Answer: B Explanation: Rebase reapplies commits onto a new base, producing a linear history. Question 15. When resolving a merge conflict, which of the following is the correct order of steps? A) Commit → Pull → Resolve → Push B) Pull → Resolve → Add → Commit → Push C) Push → Pull → Resolve → Commit D) Add → Commit → Pull → Resolve Answer: B Explanation: You first pull the conflicting changes, resolve them, stage (git add), commit, and then push. Question 16. In an IDE, a breakpoint is used to: A) Automatically fix bugs B) Stop program execution at a specific line for inspection C) Compile the code faster D) Deploy the application Answer: B Explanation: Breakpoints pause execution so developers can examine state. Question 17. Which AI-assisted coding tool can suggest code completions based on context?

Certification Ultimate Exam

Answer: C Explanation: In FaaS platforms, an HTTP request can invoke a Lambda (or equivalent) function. Question 21. Which of the following is NOT a typical trigger for a serverless function? A) Message queue event B) Direct database query C) Scheduled timer D) File upload to object storage Answer: B Explanation: Direct database queries are not events; functions are invoked by events like queues, timers, or storage changes. Question 22. Auto-scaling in a cloud web app primarily adjusts: A) The source code version B) The number of running instances based on load C) The programming language used D) The developer’s IDE theme Answer: B Explanation: Auto-scaling adds or removes instances to match traffic demand. Question 23. In a Dockerfile, which instruction sets the base image? A) RUN B) FROM C) CMD D) EXPOSE Answer: B Explanation: FROM specifies the parent image for the build.

Certification Ultimate Exam

Question 24. Which container orchestrator uses a YAML manifest called a “Pod” to group containers? A) Docker Swarm B) Amazon ECS C) Kubernetes D) OpenShift Answer: C Explanation: In Kubernetes, a Pod is the smallest deployable unit containing one or more containers. Question 25. RESTful APIs commonly use which HTTP method to create a new resource? A) GET B) POST C) PUT D) DELETE Answer: B Explanation: POST submits data to the server to create a new resource. Question 26. Which HTTP status code indicates that the client request is syntactically correct but semantically invalid? A) 400 Bad Request B) 401 Unauthorized C) 403 Forbidden D) 422 Unprocessable Entity Answer: D Explanation: 422 signals the server understands the content type and syntax but cannot process the instructions. Question 27. Swagger/OpenAPI is primarily used for: A) Deploying containers

Certification Ultimate Exam

Answer: B Explanation: SELECT FOR UPDATE acquires row-level locks, ensuring serialized updates. Question 31. In a NoSQL key-value store, which consistency model guarantees that a read returns the most recent write? A) Eventual consistency B) Strong consistency C) Causal consistency D) Session consistency Answer: B Explanation: Strong consistency ensures reads reflect the latest committed writes. Question 32. When designing a DynamoDB table, choosing a partition key that has high cardinality helps to: A) Reduce storage cost B) Avoid hot partitions and improve distribution C) Enable relational joins D) Enforce ACID transactions Answer: B Explanation: High-cardinality keys spread traffic evenly across partitions, preventing throttling. Question 33. Which of the following is an example of a document-oriented NoSQL database? A) Redis B) MongoDB C) Cassandra D) Neo4j Answer: B

Certification Ultimate Exam

Explanation: MongoDB stores JSON-like documents. Question 34. Object storage services like Amazon S3 are best suited for: A) Storing relational data with foreign keys B) Hosting static assets such as images and backups C) Running transactional workloads D) Managing in-memory caches Answer: B Explanation: S3 provides durable, scalable storage for unstructured objects. Question 35. Lifecycle management in object storage typically allows you to: A) Automatically delete or transition objects after a defined period B) Encrypt data at rest without keys C) Perform real-time analytics on objects D) Serve objects over WebSockets only Answer: A Explanation: Lifecycle rules can transition objects to cheaper storage tiers or delete them after a set time. Question 36. OAuth 2.0 primarily provides: A) Password hashing algorithm B) A framework for delegated authorization using access tokens C) Database encryption at rest D) Serverless function orchestration Answer: B Explanation: OAuth 2.0 enables third-party apps to obtain limited access via tokens. Question 37. JSON Web Tokens (JWT) are typically used for: A) Storing large binary files

Certification Ultimate Exam

Answer: A Explanation: Mocks simulate external components, allowing isolated testing of the unit. Question 41. Test-Driven Development (TDD) follows which sequence of steps? A) Code → Test → Refactor B) Refactor → Test → Code C) Write failing test → Write code → Refactor D) Deploy → Test → Monitor Answer: C Explanation: TDD starts with a failing test, then implements code to pass it, followed by refactoring. Question 42. Which type of testing validates that multiple components work together correctly? A) Unit testing B) Integration testing C) Load testing D) Static analysis Answer: B Explanation: Integration tests assess interactions between modules. Question 43. In a CI/CD pipeline, the “blue-green” deployment strategy aims to: A) Deploy to a single environment only B) Run tests on the same instance as production C) Reduce downtime by switching traffic between two identical environments D) Randomly select servers for deployment Answer: C Explanation: Blue-green keeps two production-like environments; traffic is switched after validation.

Certification Ultimate Exam

Question 44. Canary deployments differ from blue-green mainly by: A) Deploying to all users simultaneously B) Rolling out changes to a small subset of users before full rollout C) Not using any automation D) Requiring manual database migrations Answer: B Explanation: Canary releases expose a limited audience to the new version, monitoring for issues. Question 45. Distributed tracing helps developers to: A) Encrypt network traffic B) Visualize the flow of a request across microservices C) Generate random passwords D. Optimize SQL queries automatically Answer: B Explanation: Tracing records each service’s handling of a request, aiding latency analysis. Question 46. Which metric is most appropriate to detect a memory leak in a Java application? A) CPU utilization B) Heap usage over time without garbage collection reduction C. Disk I/O throughput D. Network latency Answer: B Explanation: A continuously growing heap that never shrinks indicates a leak. Question 47. When calling an LLM (large language model) API, which practice helps avoid exceeding rate limits?

Certification Ultimate Exam

C. Multiple unrelated resources via separate URLs D. Only POST methods Answer: B Explanation: GraphQL lets clients specify the exact shape of the response. Question 51. Which HTTP method is idempotent and commonly used to replace a resource entirely? A. GET B. POST C. PUT D. PATCH Answer: C Explanation: PUT can be called multiple times with the same effect, replacing the target resource. Question 52. A stack data structure follows which order? A. First In First Out (FIFO) B. Last In First Out (LIFO) C. Random Access D. Priority Queue Answer: B Explanation: The most recently added element is removed first. Question 53. Which algorithm has the best average-case performance for sorting large, partially ordered arrays? A. Bubble Sort B. Insertion Sort C. Merge Sort D. Quick Sort Answer: D

Certification Ultimate Exam

Explanation: Quick Sort’s average case is O(n log n) and performs well on partially ordered data due to good partitioning. Question 54. In a linked list, the time complexity to access the nth element is: A. O(1) B. O(log n) C. O(n) D. O(n log n) Answer: C Explanation: You must traverse nodes sequentially to reach the nth element. Question 55. Which of the following is NOT a valid Git merge strategy? A. Recursive B. Octopus C. Fast-forward only D. Linearize Answer: D Explanation: “Linearize” is not a built-in merge strategy; recursive, octopus, and fast-forward are. Question 56. In a CI pipeline, which stage should run after unit tests but before deployment? A. Code linting B. Integration testing C. Documentation generation D. Static code analysis Answer: B Explanation: Integration tests verify component interaction before code reaches production.

Certification Ultimate Exam

C. A security vulnerability in IAM roles D. Automatic scaling down to zero instances Answer: B Explanation: Cold starts happen when the platform provisions resources for the first invocation. Question 61. Which HTTP status code indicates that the client must authenticate to gain network access? A. 401 Unauthorized B. 403 Forbidden C. 404 Not Found D. 500 Internal Server Error Answer: A Explanation: 401 signals that authentication is required. Question 62. A “foreign key” constraint in a relational database enforces: A. Uniqueness of a column within its own table B. Referential integrity between two tables C. Automatic index creation on primary key only D. Encryption of the column data Answer: B Explanation: Foreign keys ensure that referenced rows exist in the parent table. Question 63. In a NoSQL document store, which operation is typically not supported natively? A. Atomic update of a single document B. Full-text search across all documents C. Index creation on a field D. Document versioning Answer: B

Certification Ultimate Exam

Explanation: Full-text search often requires external tools or specialized indexes. Question 64. Which of the following statements about eventual consistency is true? A. All reads are guaranteed to be up-to-date immediately after a write. B. Reads may return stale data, but the system will converge over time. C. It provides stronger guarantees than linearizable consistency. D. It eliminates the need for conflict resolution. Answer: B Explanation: Eventual consistency allows temporary divergence, converging later. Question 65. In a REST API, the “self” link in a HAL response is used to: A. Authenticate the request B. Provide the URL of the current resource representation C. Delete the resource D. Initiate a background job Answer: B Explanation: HAL’s “self” link points to the resource’s own URI. Question 66. Which of the following is a recommended practice when storing passwords? A. Plain text in the database B. MD5 hash without salt C. BCrypt hash with a per-user salt D. Encrypt with a reversible algorithm and store the key in code Answer: C Explanation: BCrypt is a slow, adaptive hash function with built-in salting, suitable for passwords.