We've not seen a major famine for 35 years, true. I'd not be too blase in considering this a solved problem though.
On the plus side: crop diversity (three or for major staples), regional production, and major transshippment capabilities.
On the negative side, continued massive global inequality, high birthrates in the poorest (and in some cases least agriculturally productive) lands, and a globally interconnected transport (goods, people) network that's phenomenally effective at spreading disease and pests, changing climates and sea levels, and a continued reliance on unsustainable inputs, as well as major increases in plant productivity largely by offloading native disease resistance with artificial supplementation, and, despite the 3-4 major crop diversity, a very high level of monoculture within those.
The main question will be whether a famine will be localised or globalised. As an example, China is buying up cropland rights in Africa now, much as England once did in Ireland, or the US exported colonial crop cultivation in Latin America. If Africa gets hungry again, who eats what is produced? Africa or China?
In several recent historical famines, money and legal institutions and dynamics starved farmers and fed cities, most especially in the Great Irish Famine, Holdomor, and Dust Bowl.
The general problem is one of building an increasingly complex and optimised system until it starts failing critically at multiple points, stressing resouces and knowledge. Joseph Tainter's The Collapse of Complex Societies (https://www.worldcat.org/title/collapse-of-complex-societies...) gives the general dynamic. Much of the reading on complex systems bolsters his view, as does the study of ancient civilisations. Most of which thought themselves the ultimate pinnacle of progress.
Additional technical means are possible, yes. One of my projects over the past few years has been looking at the mechanisms by which technology works, and the specific capabilities and limitations of these. I've come up with a fairly consistent list of nine:
1. Materials: Substances, minerals, elements, molecules, organics. Provide properties, have associated abundance, cost, and side effects.
2. Fuels: Dispatchable consumable stores of potential energy, largely fossil fuels, biomass, and nuclear. (Stored and kinetic or photovoltaic potential are considered separately: wind, geothermal, hydro, solar.)
3. Process knowlege: Roughly, technology. Domain-specific understanding of how to achieve some ends, independent of other characteristics.
4. Structural knowledge: Roughly, science. Domain-specific understanding of causes and interactions, based on experience, experiment, and observation.
5. Power transmission and transformation: Any communication or conversion of power or energy. Examples: missiles, shafts, rods, gears, electricity, magnetism, beamed energy, batteries.
6. Networks: Structures usefully describable as nodes and links or vertices and edges, whether physical or conceptual, having arity and topology. Examples: transport network, web of knowledge, comms netwok, social netework, land and its varying qualities and capabilities.
7. Systems: Multi-part structures (often networks) with sensing, processing, action, and assessment feedback loops. Roughly, the domains of cybernetics, operations research, or systems theory, in the general, or the topics of most social sciences and management domains.
8. Information: Receiving, parsing, processing, storing, retrieving, and transmitting. Examples: speech, writing, logic, magnetism. Affects focusing activities, managing systems, or disrupting other (or others') systems.
9. Hygiene: Side effects and unintended consequences affecting overall function. Inevitable, often emergent properties, which require mitigation or management.
What this provides is a way of looking at problems (or solutions) and breaking them into components that are not siloed by traditional disciplines (scientific or technological domain silos), hence, they are mechanisms. You get something more useful than "technology is efficiency", or "the power of thought". It's also possible to look at past developments in terms of what contributed to them.
Ag has benefitted hugely from domain-specific knowledge: what plants grow where yielding what requiring what inputs, methods, protections, and processing, and further through hybridisation and now direct genetic manipulation. From energy inputs, especially in supplying water, but also in preparation and transportation. From mechanisation of cultivation -- tractors, combines, and harvesters. From energy- and materials-specific treatments of fertilisers and pesticides.
The biggest changes in 200 years have been the vast reduction in labour inputs (from ~90% of the population to What automated rather than merely mechanised methods can provide is the ability to further reduce labour, though as that's already low on staples, an Amdahl's Law type dynamic kicks in: parallelisation (of labour inputs) is limited by the nonparallelisable portion of your operation, an example of mechanism-specific limitations. You're also pushing utilisation to ever-more marginal land -- there's more of it, yes, but it's frequently more easily damaged, or more subject to swings in climate, hydration, salt intrusion.
And we're left with the bits we cannot readily change: perennial crops can be sown or left fallow, but vine and tree crops require consistent maintenance across years, if not decades and centuries. Topsoil, literally the top few centimetres or metres across large parts of entire countries, is not a factor which can be meaningfully artificially manufactured, though it can be moved or amended, with tremendous effort. Salinisation, desertification, and innundation are threats that can be managed poorly. As are runoff and ecological disruptions from fertiliser and pesticides, or habitat displacement.
TL;DR: Technology lets us approach limits. It does not let us erase them.